fix: 🐛 修复 macOS 打包失败的问题

This commit is contained in:
viarotel 2023-10-30 18:18:23 +08:00
parent 709581bec5
commit 37e283784e
3 changed files with 2 additions and 8 deletions

View File

@ -61,6 +61,7 @@
"to": "extra", "to": "extra",
"filter": ["common", "mac"] "filter": ["common", "mac"]
}, },
"x64ArchFiles": "mac",
"entitlementsInherit": "entitlements.mac.plist", "entitlementsInherit": "entitlements.mac.plist",
"extendInfo": { "extendInfo": {
"NSDocumentsFolderUsageDescription": "Application requests access to the user's Documents folder.", "NSDocumentsFolderUsageDescription": "Application requests access to the user's Documents folder.",

View File

@ -36,7 +36,7 @@
"electron-log": "^5.0.0", "electron-log": "^5.0.0",
"electron-store": "^8.1.0", "electron-store": "^8.1.0",
"electron-updater": "^6.1.4", "electron-updater": "^6.1.4",
"element-plus": "^2.4.0", "element-plus": "^2.4.1",
"fix-path": "^4.0.0", "fix-path": "^4.0.0",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",

View File

@ -247,13 +247,6 @@ export default {
this.$store.theme.update(value) this.$store.theme.update(value)
}, },
}, },
'preferenceData.language': {
handler(value) {
console.log('preferenceData.language.value', value)
console.log('locale', this.locale)
this.locale = value
},
},
// global // global
'scopeList': { 'scopeList': {
handler(value) { handler(value) {