build: update depends

This commit is contained in:
MystiPanda
2024-07-02 12:14:30 +08:00
parent f6ba6d0310
commit cff0ea425c
9 changed files with 220 additions and 242 deletions

View File

@@ -2,4 +2,4 @@ pnpm install
pnpm check $INPUT_TARGET
sed -i "s/#openssl/openssl={version=\"0.10\",features=[\"vendored\"]}/g" src-tauri/Cargo.toml
cargo tauri build --target $INPUT_TARGET
pnpm build --target $INPUT_TARGET

View File

@@ -5,8 +5,6 @@ tar -Jxvf ./node-v20.10.0-linux-x64.tar.xz
export PATH=$(pwd)/node-v20.10.0-linux-x64/bin:$PATH
npm install pnpm -g
cargo install --git https://github.com/tauri-apps/tauri --branch 1.x tauri-cli
rustup target add "$INPUT_TARGET"
if [ "$INPUT_TARGET" = "x86_64-unknown-linux-gnu" ]; then