From aaef6a9e9cb0ccdc7b61d36b1561a48e60c1df53 Mon Sep 17 00:00:00 2001 From: GyDi Date: Mon, 30 May 2022 01:30:36 +0800 Subject: [PATCH] chore: enable meta by default --- src-tauri/tauri.conf.json | 7 +++++-- src/components/setting/setting-clash.tsx | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) 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();