Skip to content

Commit

Permalink
perf: ♻️ 拆分依赖文件禁用冗余的警告信息
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 30, 2023
1 parent cad70b3 commit 93ad836
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"extraResources": {
"from": "electron/resources/extra",
"to": "extra",
"filter": ["**/*", "!core"]
"filter": ["**/*", "!core", "!adb"]
},
"entitlementsInherit": "entitlements.mac.plist",
"extendInfo": {
Expand Down Expand Up @@ -89,7 +89,7 @@
"extraResources": {
"from": "electron/resources/extra",
"to": "extra",
"filter": ["**/*", "!core"]
"filter": ["**/*", "!core", "!adb"]
}
},
"asar": true,
Expand Down
2 changes: 1 addition & 1 deletion electron/configs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/locales/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export const i18n = createI18n({
locale,
fallbackLocale: 'en_US',
messages,
fallbackWarn: false,
missingWarn: false,
})
// console.log('i18n', i18n)

Expand Down

0 comments on commit 93ad836

Please sign in to comment.