Skip to content

Commit

Permalink
fix: 🐛 修复 macOS 打包失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 30, 2023
1 parent 709581b commit 37e2837
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"to": "extra",
"filter": ["common", "mac"]
},
"x64ArchFiles": "mac",
"entitlementsInherit": "entitlements.mac.plist",
"extendInfo": {
"NSDocumentsFolderUsageDescription": "Application requests access to the user's Documents folder.",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"electron-log": "^5.0.0",
"electron-store": "^8.1.0",
"electron-updater": "^6.1.4",
"element-plus": "^2.4.0",
"element-plus": "^2.4.1",
"fix-path": "^4.0.0",
"fs-extra": "^11.1.1",
"lodash-es": "^4.17.21",
Expand Down
7 changes: 0 additions & 7 deletions src/components/Preference/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,6 @@ export default {
this.$store.theme.update(value)
},
},
'preferenceData.language': {
handler(value) {
console.log('preferenceData.language.value', value)
console.log('locale', this.locale)
this.locale = value
},
},
// 列表设备发生变化后如果没有匹配到则默认选中 global
'scopeList': {
handler(value) {
Expand Down

0 comments on commit 37e2837

Please sign in to comment.