build: use latest tauri

This commit is contained in:
MystiPanda
2024-06-04 09:56:33 +08:00
parent dd6dea9dfc
commit 0a6fe382ac
6 changed files with 30 additions and 24 deletions

View File

@@ -2,7 +2,7 @@ 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
pnpm build --target $INPUT_TARGET
cargo tauri build --target $INPUT_TARGET
else
pnpm build --target $INPUT_TARGET -b deb
cargo tauri build --target $INPUT_TARGET -b deb
fi