mirror of
https://github.com/putyy/res-downloader.git
synced 2026-01-12 06:04:55 +08:00
修改mac打包
This commit is contained in:
@@ -23,7 +23,7 @@ yarn install
|
||||
yarn run dev
|
||||
|
||||
# 打包mac
|
||||
yarn run build --mac
|
||||
yarn run build --universal --mac
|
||||
|
||||
# 打包win
|
||||
yarn run build --win
|
||||
|
||||
@@ -15,9 +15,16 @@
|
||||
],
|
||||
"mac": {
|
||||
"icon": "electron/res/icon/icons/mac/icon.icns",
|
||||
"artifactName": "${productName}_${version}.${ext}",
|
||||
"artifactName": "${productName}_${version}.${arch}.${ext}",
|
||||
"singleArchFiles": "*",
|
||||
"target": [
|
||||
"dmg"
|
||||
{
|
||||
"target": "dmg",
|
||||
"arch": [
|
||||
'x64',
|
||||
'arm64'
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"win": {
|
||||
|
||||
Reference in New Issue
Block a user