Browse Source

chore: enable meta by default

GyDi 3 years ago
parent
commit
aaef6a9e9c
2 changed files with 7 additions and 3 deletions
  1. 5 2
      src-tauri/tauri.conf.json
  2. 2 1
      src/components/setting/setting-clash.tsx

+ 5 - 2
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": {

+ 2 - 1
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();