mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-12-26 20:26:04 +08:00
9 lines
299 B
Bash
9 lines
299 B
Bash
pnpm install
|
|
pnpm check $INPUT_TARGET
|
|
sed -i "s/#openssl/openssl={version=\"0.10\",features=[\"vendored\"]}/g" src-tauri/Cargo.toml
|
|
if [ "$INPUT_TARGET" = "x86_64-unknown-linux-gnu" ]; then
|
|
cargo tauri build --target $INPUT_TARGET
|
|
else
|
|
cargo tauri build --target $INPUT_TARGET -b deb,rpm
|
|
fi
|