mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-21 02:25:41 +08:00
✨ 支持 mac M1 arm 64:#207,#134; 支持右击菜单
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = {
|
||||
],
|
||||
// Use this to change the entry point of your app's render process. default src/[main|index].[js|ts]
|
||||
builderOptions: {
|
||||
productName: 'rubick2',
|
||||
productName: 'rubick',
|
||||
appId: 'com.muwoo.rubick',
|
||||
compression: 'maximum',
|
||||
directories: {
|
||||
@@ -67,7 +67,13 @@ module.exports = {
|
||||
},
|
||||
mac: {
|
||||
icon: 'public/icons/icon.icns',
|
||||
target: ['dmg', 'zip'],
|
||||
target: [
|
||||
{
|
||||
target: 'dmg',
|
||||
arch: ['x64', 'arm64'],
|
||||
},
|
||||
],
|
||||
artifactName: 'rubick-${version}-${arch}.dmg',
|
||||
gatekeeperAssess: false,
|
||||
entitlementsInherit: './release/entitlements.mac.plist',
|
||||
entitlements: './release/entitlements.mac.plist',
|
||||
@@ -79,11 +85,19 @@ module.exports = {
|
||||
},
|
||||
win: {
|
||||
icon: 'public/icons/icon.ico',
|
||||
target: 'nsis',
|
||||
artifactName: 'rubick-Setup-${version}-${arch}.exe',
|
||||
target: [
|
||||
{
|
||||
target: 'nsis',
|
||||
arch: ['x64', 'ia32'],
|
||||
},
|
||||
],
|
||||
},
|
||||
nsis: {
|
||||
shortcutName: 'rubick',
|
||||
oneClick: false,
|
||||
allowToChangeInstallationDirectory: true,
|
||||
include: 'public/installer.nsh',
|
||||
},
|
||||
linux: {
|
||||
icon: 'public/icons/',
|
||||
|
||||
Reference in New Issue
Block a user