-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into shell-completions
- Loading branch information
Showing
654 changed files
with
39,954 additions
and
16,212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[env] | ||
__TAURI_WORKSPACE__ = "true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri-bundler': 'patch' | ||
--- | ||
|
||
Correctly escape XML for resource files in WiX bundler. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri-bundler': 'patch' | ||
--- | ||
|
||
Correctly escape arguments in NSIS script to fix bundling apps that use non-default WebView2 install modes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Changes | ||
|
||
##### via https://github.com/jbolda/covector | ||
|
||
As you create PRs and make changes that require a version bump, please add a new markdown file in this folder. You do not note the version _number_, but rather the type of bump that you expect: major, minor, or patch. The filename is not important, as long as it is a `.md`, but we recommend that it represents the overall change for organizational purposes. | ||
|
||
When you select the version bump required, you do _not_ need to consider dependencies. Only note the package with the actual change, and any packages that depend on that package will be bumped automatically in the process. | ||
|
||
Use the following format: | ||
|
||
```md | ||
--- | ||
"package-a": patch | ||
"package-b": patch | ||
--- | ||
|
||
Change summary goes here | ||
|
||
``` | ||
|
||
Summaries do not have a specific character limit, but are text only. These summaries are used within the (future implementation of) changelogs. They will give context to the change and also point back to the original PR if more details and context are needed. | ||
|
||
Changes will be designated as a `major`, `minor` or `patch` as further described in [semver](https://semver.org/). | ||
|
||
Given a version number MAJOR.MINOR.PATCH, increment the: | ||
|
||
- MAJOR version when you make incompatible API changes, | ||
- MINOR version when you add functionality in a backwards compatible manner, and | ||
- PATCH version when you make backwards compatible bug fixes. | ||
|
||
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format, but will be discussed prior to usage (as extra steps will be necessary in consideration of merging and publishing). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FROM ubuntu:18.04 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
COPY common.sh lib.sh / | ||
RUN /common.sh | ||
|
||
COPY cmake.sh / | ||
RUN /cmake.sh | ||
|
||
COPY xargo.sh / | ||
RUN /xargo.sh | ||
|
||
RUN apt-get update && apt-get install --assume-yes --no-install-recommends \ | ||
g++-aarch64-linux-gnu \ | ||
libc6-dev-arm64-cross | ||
|
||
COPY deny-debian-packages.sh / | ||
RUN TARGET_ARCH=arm64 /deny-debian-packages.sh \ | ||
binutils \ | ||
binutils-aarch64-linux-gnu | ||
|
||
COPY qemu.sh / | ||
RUN /qemu.sh aarch64 softmmu | ||
|
||
COPY dropbear.sh / | ||
RUN /dropbear.sh | ||
|
||
COPY linux-image.sh / | ||
RUN /linux-image.sh aarch64 | ||
|
||
COPY linux-runner / | ||
|
||
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \ | ||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUNNER="/linux-runner aarch64" \ | ||
CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc \ | ||
CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++ \ | ||
BINDGEN_EXTRA_CLANG_ARGS_aarch64_unknown_linux_gnu="--sysroot=/usr/aarch64-linux-gnu" \ | ||
QEMU_LD_PREFIX=/usr/aarch64-linux-gnu \ | ||
RUST_TEST_THREADS=1 \ | ||
PKG_CONFIG_PATH="/usr/lib/aarch64-linux-gnu/pkgconfig/:${PKG_CONFIG_PATH}" | ||
|
||
RUN dpkg --add-architecture arm64 | ||
RUN apt-get update | ||
RUN apt-get install --assume-yes --no-install-recommends libssl-dev:arm64 libdbus-1-dev:arm64 libsoup2.4-dev:arm64 libssl-dev:arm64 libgtk-3-dev:arm64 webkit2gtk-4.0-dev:arm64 libappindicator3-1:arm64 librsvg2-dev:arm64 patchelf:arm64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -x | ||
set -euo pipefail | ||
|
||
# shellcheck disable=SC1091 | ||
. lib.sh | ||
|
||
main() { | ||
local version=3.23.1 | ||
|
||
install_packages curl | ||
|
||
local td | ||
td="$(mktemp -d)" | ||
|
||
pushd "${td}" | ||
|
||
curl --retry 3 -sSfL "https://github.com/Kitware/CMake/releases/download/v${version}/cmake-${version}-linux-x86_64.sh" -o cmake.sh | ||
sh cmake.sh --skip-license --prefix=/usr/local | ||
|
||
popd | ||
|
||
purge_packages | ||
|
||
rm -rf "${td}" | ||
rm -rf /var/lib/apt/lists/* | ||
rm "${0}" | ||
} | ||
|
||
main "${@}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -x | ||
set -euo pipefail | ||
|
||
# shellcheck disable=SC1091 | ||
. lib.sh | ||
|
||
# For architectures except amd64 and i386, look for packages on ports.ubuntu.com instead. | ||
# This is important if you enable additional architectures so you can install libraries to cross-compile against. | ||
# Look for 'dpkg --add-architecture' in the README for more details. | ||
if grep -i ubuntu /etc/os-release >/dev/null; then | ||
sed 's/http:\/\/\(.*\).ubuntu.com\/ubuntu\//[arch-=amd64,i386] http:\/\/ports.ubuntu.com\/ubuntu-ports\//g' /etc/apt/sources.list > /etc/apt/sources.list.d/ports.list | ||
sed -i 's/http:\/\/\(.*\).ubuntu.com\/ubuntu\//[arch=amd64,i386] http:\/\/\1.archive.ubuntu.com\/ubuntu\//g' /etc/apt/sources.list | ||
fi | ||
|
||
install_packages \ | ||
autoconf \ | ||
automake \ | ||
binutils \ | ||
ca-certificates \ | ||
curl \ | ||
file \ | ||
gcc \ | ||
git \ | ||
libtool \ | ||
m4 \ | ||
make | ||
|
||
if_centos install_packages \ | ||
clang-devel \ | ||
gcc-c++ \ | ||
glibc-devel \ | ||
pkgconfig | ||
|
||
if_ubuntu install_packages \ | ||
g++ \ | ||
libc6-dev \ | ||
libclang-dev \ | ||
pkg-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -x | ||
set -euo pipefail | ||
|
||
main() { | ||
local package | ||
|
||
for package in "${@}"; do | ||
echo "Package: ${package}:${TARGET_ARCH} | ||
Pin: release * | ||
Pin-Priority: -1" > "/etc/apt/preferences.d/${package}" | ||
echo "${package}" | ||
done | ||
|
||
rm "${0}" | ||
} | ||
|
||
main "${@}" |
Oops, something went wrong.