A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
Rust ai-toolsclaude-codecodexdeepseek-harnessdesktop-appgrokgrokbuildhermeskimi-codemcpopen-sourceopencodepiprovider-managementrustskillsskills-managementtauriwsl-support
fix(linux): declare OpenSSL 3 package dependencies (#10301)
Railgun0c2d50a4b87c
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex ceea3f49e..95160d6ff 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -32,6 +32,17 @@ There are many ways to contribute:- The Tauri CLI is a dev dependency installed by `pnpm install`; no global install is needed+#### Linux with OpenSSL 4++If your system defaults to OpenSSL 4, install the OpenSSL 3 development files and set both paths in the shell before running `pnpm dev`, `pnpm build`, or `cargo test`. The paths below are for Arch Linux's `openssl-3` package.++```bash+export OPENSSL_INCLUDE_DIR=/usr/include/openssl-3+export OPENSSL_LIB_DIR=/usr/lib/openssl-3+```++On other distributions, use the paths from your OpenSSL 3 development package.+### Quick Start```bash@@ -289,6 +300,17 @@ Tray texts are not in the JSON files: the native tray menu (`src-tauri/src/tray.- Tauri CLI 已作为开发依赖随 `pnpm install` 安装,无需全局安装+#### 默认使用 OpenSSL 4 的 Linux 系统++如果系统默认使用 OpenSSL 4,请安装 OpenSSL 3 开发文件,并在执行 `pnpm dev`、`pnpm build` 或 `cargo test` 前在同一个终端设置以下变量。下面是 Arch Linux 的 `openssl-3` 包使用的路径。++```bash+export OPENSSL_INCLUDE_DIR=/usr/include/openssl-3+export OPENSSL_LIB_DIR=/usr/lib/openssl-3+```++其他发行版请填写 OpenSSL 3 开发包实际安装的路径。+### 快速开始```bashdiff --git a/src-tauri/tauri.linux.conf.json b/src-tauri/tauri.linux.conf.jsonindex f73f2b2d0..f634974e3 100644--- a/src-tauri/tauri.linux.conf.json+++ b/src-tauri/tauri.linux.conf.json@@ -4,9 +4,14 @@"bundle": {"linux": {"deb": {+ "depends": ["libssl3t64 | libssl3"],"desktopTemplate": "desktop/cc-switch.desktop.hbs"},"rpm": {+ "depends": [+ "libssl.so.3(OPENSSL_3.0.0)(64bit)",+ "libcrypto.so.3(OPENSSL_3.0.0)(64bit)"+ ],"desktopTemplate": "desktop/cc-switch.desktop.hbs"}}