diff --git a/openless-all/app/package-lock.json b/openless-all/app/package-lock.json index a15ba2de..0e51c117 100644 --- a/openless-all/app/package-lock.json +++ b/openless-all/app/package-lock.json @@ -12,7 +12,7 @@ "@tauri-apps/api": "^2.1.1", "@tauri-apps/plugin-autostart": "^2.5.1", "@tauri-apps/plugin-dialog": "^2.7.1", - "@tauri-apps/plugin-shell": "^2.0.1", + "@tauri-apps/plugin-shell": "^2.3.5", "@tauri-apps/plugin-updater": "^2.10.1", "@types/dompurify": "^3.0.5", "dompurify": "^3.4.8", diff --git a/openless-all/app/package.json b/openless-all/app/package.json index ab314f71..3a387bd5 100644 --- a/openless-all/app/package.json +++ b/openless-all/app/package.json @@ -27,7 +27,7 @@ "@tauri-apps/api": "^2.1.1", "@tauri-apps/plugin-autostart": "^2.5.1", "@tauri-apps/plugin-dialog": "^2.7.1", - "@tauri-apps/plugin-shell": "^2.0.1", + "@tauri-apps/plugin-shell": "^2.3.5", "@tauri-apps/plugin-updater": "^2.10.1", "@types/dompurify": "^3.0.5", "dompurify": "^3.4.8", diff --git a/openless-all/app/src-tauri/Cargo.toml b/openless-all/app/src-tauri/Cargo.toml index aa103296..830a690d 100644 --- a/openless-all/app/src-tauri/Cargo.toml +++ b/openless-all/app/src-tauri/Cargo.toml @@ -21,7 +21,8 @@ cc = "1.1" # macos-private-api must live in [dependencies] so tauri_build can match tauri.conf.json # macOSPrivateApi; tray-icon stays desktop-only in the target table below. tauri = { version = "~2.11", features = ["macos-private-api"] } -tauri-plugin-shell = "2" +# 锁 >=2.3.5 修复 GHSA-c9pr-q8gx-3mgp:tauri-plugin-shell `open` 端点作用域校验绕过(CRITICAL,issue #668)。 +tauri-plugin-shell = "2.3.5" tauri-plugin-dialog = "2" serde = { version = "1", features = ["derive"] } serde_json = "1"