build.sh 314 B

123456789
  1. # pnpm install --resolution-only
  2. pnpm install
  3. pnpm check $INPUT_TARGET
  4. sed -i "s/#openssl/openssl={version=\"0.10\",features=[\"vendored\"]}/g" src-tauri/Cargo.toml
  5. if [ "$INPUT_TARGET" = "x86_64-unknown-linux-gnu" ]; then
  6. pnpm build --target $INPUT_TARGET
  7. else
  8. pnpm build --target $INPUT_TARGET -b deb
  9. fi