perf: ♻️ 拆分依赖文件禁用冗余的警告信息

This commit is contained in:
viarotel 2023-10-30 09:56:35 +08:00
parent cad70b3d0f
commit 93ad83689f
6 changed files with 5 additions and 3 deletions

View File

@ -58,7 +58,7 @@
"extraResources": {
"from": "electron/resources/extra",
"to": "extra",
"filter": ["**/*", "!core"]
"filter": ["**/*", "!core", "!adb"]
},
"entitlementsInherit": "entitlements.mac.plist",
"extendInfo": {
@ -89,7 +89,7 @@
"extraResources": {
"from": "electron/resources/extra",
"to": "extra",
"filter": ["**/*", "!core"]
"filter": ["**/*", "!core", "!adb"]
}
},
"asar": true,

View File

@ -18,7 +18,7 @@ export const trayPath
export const adbPath
= process.platform === 'win32'
? extraResolve('core/adb.exe')
? extraResolve('adb/adb.exe')
: which.sync('adb', { nothrow: true })
export const scrcpyPath

View File

@ -14,6 +14,8 @@ export const i18n = createI18n({
locale,
fallbackLocale: 'en_US',
messages,
fallbackWarn: false,
missingWarn: false,
})
// console.log('i18n', i18n)