clash-verge-rev/.github/build-for-linux/build.sh

9 lines
295 B
Bash
Raw Normal View History

2023-12-07 15:34:49 +08:00
pnpm install
pnpm check $INPUT_TARGET
sed -i "s/#openssl/openssl={version=\"0.10\",features=[\"vendored\"]}/g" src-tauri/Cargo.toml
2024-02-15 18:22:15 +08:00
if [ "$INPUT_TARGET" = "x86_64-unknown-linux-gnu" ]; then
2024-06-04 09:56:33 +08:00
cargo tauri build --target $INPUT_TARGET
2023-12-07 15:34:49 +08:00
else
2024-06-04 09:56:33 +08:00
cargo tauri build --target $INPUT_TARGET -b deb
2023-12-07 15:34:49 +08:00
fi