feat: Add AppImage for x86 linux

This commit is contained in:
MystiPanda
2023-12-07 16:38:39 +08:00
parent d8b2e08717
commit b8688e2e66
3 changed files with 17 additions and 6 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
if [ "$INPUT_TARGET" = "x86_64-unknown-linux-gnu" ] || [ "$INPUT_TARGET" = "i686-unknown-linux-gnu" ]; then
pnpm build --target $INPUT_TARGET
else
pnpm build --target $INPUT_TARGET -b deb