diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e73b197..8a5d5b3 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -26,7 +26,7 @@ "icons/icon.ico" ], "resources": ["resources"], - "externalBin": ["sidecar/clash"], + "externalBin": ["sidecar/clash", "sidecar/clash-meta"], "copyright": "© 2022 zzzgydi All Rights Reserved", "category": "DeveloperTool", "shortDescription": "A Clash GUI based on tauri.", @@ -44,7 +44,10 @@ "windows": { "certificateThumbprint": null, "digestAlgorithm": "sha256", - "timestampUrl": "" + "timestampUrl": "", + "wix": { + "language": ["zh-CN", "en-US"] + } } }, "updater": { diff --git a/src/components/setting/setting-clash.tsx b/src/components/setting/setting-clash.tsx index 536cf7c..8f7bcbe 100644 --- a/src/components/setting/setting-clash.tsx +++ b/src/components/setting/setting-clash.tsx @@ -23,7 +23,8 @@ interface Props { onError: (err: Error) => void; } -const MULTI_CORE = !!import.meta.env.VITE_MULTI_CORE; +// const MULTI_CORE = !!import.meta.env.VITE_MULTI_CORE; +const MULTI_CORE = true; const SettingClash = ({ onError }: Props) => { const { t } = useTranslation();