Fix: windows powershell window (#228)

* chore: bump desktop package version to 0.1.30

* chore: increase Node.js memory limit for desktop build process

* chore: configure Node.js memory limit for desktop build

* update tauri-plugin-shellx, hide powershell window in whereIsCommand
This commit is contained in:
Huakun 2025-03-03 05:21:42 -05:00 committed by GitHub
parent 5fc99ca26c
commit a42d4d97eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 19 additions and 29 deletions

4
Cargo.lock generated
View File

@ -7873,9 +7873,9 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-shellx" name = "tauri-plugin-shellx"
version = "2.0.15" version = "2.0.16"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "88a5b6b883070de00f8fd5025aa5b81e3b012a5a3d9f38875cdb45809c71232c" checksum = "1b83b29705410452dbfc85f604f3dce2b674047449060b488fcd9f3a907c25ef"
dependencies = [ dependencies = [
"encoding_rs", "encoding_rs",
"open", "open",

View File

@ -20,7 +20,7 @@ tokio-util = "0.7.12"
mdns-sd = "0.11.1" mdns-sd = "0.11.1"
tauri-plugin-network = { path = "./vendors/tauri-plugin-network" } tauri-plugin-network = { path = "./vendors/tauri-plugin-network" }
tauri-plugin-keyring = { path = "./vendors/tauri-plugin-keyring" } tauri-plugin-keyring = { path = "./vendors/tauri-plugin-keyring" }
tauri-plugin-shellx = { version = "2.0.15" } tauri-plugin-shellx = { version = "2.0.16" }
tauri-plugin-clipboard = "2.1.11" tauri-plugin-clipboard = "2.1.11"
mac-security-rs = { path = "./packages/mac-security-rs" } mac-security-rs = { path = "./packages/mac-security-rs" }
log = "0.4.22" log = "0.4.22"

View File

@ -41,7 +41,7 @@
"svelte-sonner": "^0.3.28", "svelte-sonner": "^0.3.28",
"sveltekit-superforms": "^2.23.1", "sveltekit-superforms": "^2.23.1",
"tauri-plugin-clipboard-api": "^2.1.11", "tauri-plugin-clipboard-api": "^2.1.11",
"tauri-plugin-shellx-api": "^2.0.15", "tauri-plugin-shellx-api": "^2.0.16",
"tauri-plugin-user-input-api": "workspace:*", "tauri-plugin-user-input-api": "workspace:*",
"uuid": "^11.1.0" "uuid": "^11.1.0"
}, },

View File

@ -73,7 +73,7 @@
"svelte-sonner": "^0.3.28", "svelte-sonner": "^0.3.28",
"tauri-api-adapter": "^0.3.23", "tauri-api-adapter": "^0.3.23",
"tauri-plugin-network-api": "2.0.5", "tauri-plugin-network-api": "2.0.5",
"tauri-plugin-shellx-api": "^2.0.15", "tauri-plugin-shellx-api": "^2.0.16",
"tauri-plugin-system-info-api": "2.0.8", "tauri-plugin-system-info-api": "2.0.8",
"valibot": "^1.0.0-beta.10" "valibot": "^1.0.0-beta.10"
}, },

View File

@ -62,7 +62,7 @@
"tailwind-variants": "^0.3.0", "tailwind-variants": "^0.3.0",
"tailwindcss": "^3.4.17", "tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"tauri-plugin-shellx-api": "^2.0.15", "tauri-plugin-shellx-api": "^2.0.16",
"typescript-eslint": "^8.20.0", "typescript-eslint": "^8.20.0",
"zod": "^3.24.1" "zod": "^3.24.1"
}, },

36
pnpm-lock.yaml generated
View File

@ -279,8 +279,8 @@ importers:
specifier: ^2.1.11 specifier: ^2.1.11
version: 2.1.11(typescript@5.6.3) version: 2.1.11(typescript@5.6.3)
tauri-plugin-shellx-api: tauri-plugin-shellx-api:
specifier: ^2.0.15 specifier: ^2.0.16
version: 2.0.15 version: 2.0.16
tauri-plugin-user-input-api: tauri-plugin-user-input-api:
specifier: workspace:* specifier: workspace:*
version: link:../../vendors/tauri-plugin-user-input version: link:../../vendors/tauri-plugin-user-input
@ -335,7 +335,7 @@ importers:
version: 8.25.0(eslint@9.21.0(jiti@2.4.0))(typescript@5.6.3) version: 8.25.0(eslint@9.21.0(jiti@2.4.0))(typescript@5.6.3)
autoprefixer: autoprefixer:
specifier: ^10.4.20 specifier: ^10.4.20
version: 10.4.20(postcss@8.5.3) version: 10.4.20(postcss@8.4.49)
bits-ui: bits-ui:
specifier: 1.0.0-next.86 specifier: 1.0.0-next.86
version: 1.0.0-next.86(svelte@5.20.5) version: 1.0.0-next.86(svelte@5.20.5)
@ -463,8 +463,8 @@ importers:
specifier: 2.0.5 specifier: 2.0.5
version: 2.0.5(typescript@5.7.2) version: 2.0.5(typescript@5.7.2)
tauri-plugin-shellx-api: tauri-plugin-shellx-api:
specifier: ^2.0.15 specifier: ^2.0.16
version: 2.0.15 version: 2.0.16
tauri-plugin-system-info-api: tauri-plugin-system-info-api:
specifier: 2.0.8 specifier: 2.0.8
version: 2.0.8(typescript@5.7.2) version: 2.0.8(typescript@5.7.2)
@ -1326,8 +1326,8 @@ importers:
specifier: ^1.0.7 specifier: ^1.0.7
version: 1.0.7(tailwindcss@3.4.17) version: 1.0.7(tailwindcss@3.4.17)
tauri-plugin-shellx-api: tauri-plugin-shellx-api:
specifier: ^2.0.15 specifier: ^2.0.16
version: 2.0.15 version: 2.0.16
typescript-eslint: typescript-eslint:
specifier: ^8.20.0 specifier: ^8.20.0
version: 8.20.0(eslint@9.21.0(jiti@2.4.0))(typescript@5.7.3) version: 8.20.0(eslint@9.21.0(jiti@2.4.0))(typescript@5.7.3)
@ -11069,8 +11069,8 @@ packages:
tauri-plugin-network-api@2.0.5: tauri-plugin-network-api@2.0.5:
resolution: {integrity: sha512-u7CTvmgP4Lt3fK0/mVMD/pcWlXsWenC0YYlJUE2VQCThx8VQzxSAXgyPhcg0+CT5iIoPt5mkfixMfamM8e6v/w==} resolution: {integrity: sha512-u7CTvmgP4Lt3fK0/mVMD/pcWlXsWenC0YYlJUE2VQCThx8VQzxSAXgyPhcg0+CT5iIoPt5mkfixMfamM8e6v/w==}
tauri-plugin-shellx-api@2.0.15: tauri-plugin-shellx-api@2.0.16:
resolution: {integrity: sha512-MrgArTe90o/zLHbIv/x0kTtLm1tiQiEIPnvUcIwuz1pBCGn45+E0ghOgjjGMlGaA2ln6KRV213e52/Az4MqMPQ==} resolution: {integrity: sha512-I6o/+IoG6++x4L5d20ciOooOeUEn0bOKvMiYhQxlv1Q3zAZPdpJKjAHJxRpZZwpR6yUY788qiQny7IbTywqLFw==}
tauri-plugin-system-info-api@2.0.8: tauri-plugin-system-info-api@2.0.8:
resolution: {integrity: sha512-EFdLXNGp6Zu9SNsZCkU+55A8027OnrVw/TQrd0oJHgfZzs4qvm1iMmSvyid4MLftt33iZDhjCzxYijaaOxeKSg==} resolution: {integrity: sha512-EFdLXNGp6Zu9SNsZCkU+55A8027OnrVw/TQrd0oJHgfZzs4qvm1iMmSvyid4MLftt33iZDhjCzxYijaaOxeKSg==}
@ -14231,7 +14231,7 @@ snapshots:
minimatch: 10.0.1 minimatch: 10.0.1
semver: 7.7.1 semver: 7.7.1
tauri-api-adapter: 0.3.8(tslib@2.8.1)(typescript@5.7.3) tauri-api-adapter: 0.3.8(tslib@2.8.1)(typescript@5.7.3)
tauri-plugin-shellx-api: 2.0.15 tauri-plugin-shellx-api: 2.0.16
valibot: 0.40.0(typescript@5.7.3) valibot: 0.40.0(typescript@5.7.3)
vue-sonner: 1.2.5 vue-sonner: 1.2.5
transitivePeerDependencies: transitivePeerDependencies:
@ -18489,16 +18489,6 @@ snapshots:
postcss: 8.5.1 postcss: 8.5.1
postcss-value-parser: 4.2.0 postcss-value-parser: 4.2.0
autoprefixer@10.4.20(postcss@8.5.3):
dependencies:
browserslist: 4.24.2
caniuse-lite: 1.0.30001676
fraction.js: 4.3.7
normalize-range: 0.1.2
picocolors: 1.1.1
postcss: 8.5.3
postcss-value-parser: 4.2.0
available-typed-arrays@1.0.7: available-typed-arrays@1.0.7:
dependencies: dependencies:
possible-typed-array-names: 1.0.0 possible-typed-array-names: 1.0.0
@ -24136,7 +24126,7 @@ snapshots:
shx: 0.3.4 shx: 0.3.4
tauri-plugin-clipboard-api: 2.1.11(typescript@5.7.2) tauri-plugin-clipboard-api: 2.1.11(typescript@5.7.2)
tauri-plugin-network-api: 2.0.5(typescript@5.7.2) tauri-plugin-network-api: 2.0.5(typescript@5.7.2)
tauri-plugin-shellx-api: 2.0.15 tauri-plugin-shellx-api: 2.0.16
tauri-plugin-system-info-api: 2.0.8(typescript@5.7.2) tauri-plugin-system-info-api: 2.0.8(typescript@5.7.2)
tsc-alias: 1.8.10 tsc-alias: 1.8.10
typescript: 5.7.2 typescript: 5.7.2
@ -24164,7 +24154,7 @@ snapshots:
shx: 0.3.4 shx: 0.3.4
tauri-plugin-clipboard-api: 2.1.11(typescript@5.7.3) tauri-plugin-clipboard-api: 2.1.11(typescript@5.7.3)
tauri-plugin-network-api: 2.0.5(typescript@5.7.3) tauri-plugin-network-api: 2.0.5(typescript@5.7.3)
tauri-plugin-shellx-api: 2.0.15 tauri-plugin-shellx-api: 2.0.16
tauri-plugin-system-info-api: 2.0.8(typescript@5.7.3) tauri-plugin-system-info-api: 2.0.8(typescript@5.7.3)
tsc-alias: 1.8.10 tsc-alias: 1.8.10
typescript: 5.7.3 typescript: 5.7.3
@ -24207,7 +24197,7 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- typescript - typescript
tauri-plugin-shellx-api@2.0.15: tauri-plugin-shellx-api@2.0.16:
dependencies: dependencies:
'@tauri-apps/api': 2.3.0 '@tauri-apps/api': 2.3.0