chore: enable meta by default

This commit is contained in:
GyDi 2022-05-30 01:30:36 +08:00
parent 9327006e61
commit aaef6a9e9c
2 changed files with 7 additions and 3 deletions

View File

@ -26,7 +26,7 @@
"icons/icon.ico" "icons/icon.ico"
], ],
"resources": ["resources"], "resources": ["resources"],
"externalBin": ["sidecar/clash"], "externalBin": ["sidecar/clash", "sidecar/clash-meta"],
"copyright": "© 2022 zzzgydi All Rights Reserved", "copyright": "© 2022 zzzgydi All Rights Reserved",
"category": "DeveloperTool", "category": "DeveloperTool",
"shortDescription": "A Clash GUI based on tauri.", "shortDescription": "A Clash GUI based on tauri.",
@ -44,7 +44,10 @@
"windows": { "windows": {
"certificateThumbprint": null, "certificateThumbprint": null,
"digestAlgorithm": "sha256", "digestAlgorithm": "sha256",
"timestampUrl": "" "timestampUrl": "",
"wix": {
"language": ["zh-CN", "en-US"]
}
} }
}, },
"updater": { "updater": {

View File

@ -23,7 +23,8 @@ interface Props {
onError: (err: Error) => void; 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 SettingClash = ({ onError }: Props) => {
const { t } = useTranslation(); const { t } = useTranslation();