From 14b990ad9f7f68599c9dc6f9c705c47e396fd18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9D=A4=E6=98=AF=E7=BA=B1=E9=9B=BE=E9=85=B1=E5=93=9F?= =?UTF-8?q?=EF=BD=9E?= <49941141+Dragon1573@users.noreply.github.com> Date: Thu, 9 Oct 2025 18:45:02 +0800 Subject: [PATCH] Revert "build(tauri): add pkexec dependency for Linux packages (#4833)" (#4996) - This reverts commit b608a38 - This may reopen issue #4831 - Issue #4992 may still remain unresolved Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com> --- UPDATELOG.md | 1 - src-tauri/tauri.linux.conf.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/UPDATELOG.md b/UPDATELOG.md index 4fefc9d6..6032ac6b 100644 --- a/UPDATELOG.md +++ b/UPDATELOG.md @@ -3,7 +3,6 @@ ### ✨ 新增功能 - **Mihomo(Meta) 内核升级至 v1.19.14** -- Linux 打包为 `.deb` `.rpm` 提供 pkexec 依赖项 - 支持前端修改日志(最大文件大小、最大保留数量) - 新增链式代理图形化设置功能 - 新增系统标题栏与程序标题栏切换 (设置-页面设置-倾向系统标题栏) diff --git a/src-tauri/tauri.linux.conf.json b/src-tauri/tauri.linux.conf.json index 655106b3..398bff03 100644 --- a/src-tauri/tauri.linux.conf.json +++ b/src-tauri/tauri.linux.conf.json @@ -5,7 +5,7 @@ "targets": ["deb", "rpm"], "linux": { "deb": { - "depends": ["openssl", "pkexec"], + "depends": ["openssl"], "desktopTemplate": "./packages/linux/clash-verge.desktop", "provides": ["clash-verge"], "conflicts": ["clash-verge"], @@ -14,7 +14,7 @@ "preRemoveScript": "./packages/linux/pre-remove.sh" }, "rpm": { - "depends": ["openssl", "pkexec"], + "depends": ["openssl"], "desktopTemplate": "./packages/linux/clash-verge.desktop", "provides": ["clash-verge"], "conflicts": ["clash-verge"],