Browse Source

refactor: 支持m1

pull/192/head
xiaojunnuo 3 years ago
parent
commit
6c7922d526
  1. 2
      packages/gui/build/installer.nsh
  2. 7
      packages/gui/vue.config.js

2
packages/gui/build/installer.nsh

@ -1,4 +1,4 @@
!macro customUnInit !macro customUnInit
MessageBox MB_OK "请务必先手动右键小图标退出DevSidecar之后再进行下一步↘↘↘↘↘↘↘↘↘" MessageBox MB_OK "卸载前请务必先手动右键小图标退出DevSidecar之后再进行下一步↘↘↘↘↘↘↘↘↘"
ExecWait '"$INSTDIR\resources\extra\sysproxy.exe" set 1' ExecWait '"$INSTDIR\resources\extra\sysproxy.exe" set 1'
!macroend !macroend

7
packages/gui/vue.config.js

@ -63,9 +63,10 @@ module.exports = {
}, },
mac: { mac: {
icon: './build/mac/icon.icns', icon: './build/mac/icon.icns',
target: [ target: {
'dmg' arch: 'universal',
] target: 'dmg'
}
}, },
win: { win: {
icon: 'build/icons/' icon: 'build/icons/'

Loading…
Cancel
Save