mirror of
https://github.com/yang991178/fluent-reader.git
synced 2025-01-01 11:17:37 +01:00
add mac packaging
This commit is contained in:
parent
be3bca8420
commit
cd731009a1
BIN
build/icon.icns
Normal file
BIN
build/icon.icns
Normal file
Binary file not shown.
@ -7,7 +7,8 @@
|
|||||||
"build": "webpack --config ./webpack.config.js",
|
"build": "webpack --config ./webpack.config.js",
|
||||||
"electron": "electron ./dist/electron.js",
|
"electron": "electron ./dist/electron.js",
|
||||||
"start": "npm run build && npm run electron",
|
"start": "npm run build && npm run electron",
|
||||||
"package-win": "electron-builder --win --x64"
|
"package-win": "electron-builder --win --x64",
|
||||||
|
"package-mac": "sudo electron-builder --mac"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Haoyuan Liu",
|
"author": "Haoyuan Liu",
|
||||||
@ -38,6 +39,9 @@
|
|||||||
],
|
],
|
||||||
"showNameOnTiles": true,
|
"showNameOnTiles": true,
|
||||||
"setBuildNumber": true
|
"setBuildNumber": true
|
||||||
|
},
|
||||||
|
"mac": {
|
||||||
|
"target": ["dmg"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user