diff --git a/build/icon.icns b/build/icon.icns new file mode 100644 index 0000000..c3fe85d Binary files /dev/null and b/build/icon.icns differ diff --git a/package.json b/package.json index 090adda..468061b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "build": "webpack --config ./webpack.config.js", "electron": "electron ./dist/electron.js", "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": [], "author": "Haoyuan Liu", @@ -38,6 +39,9 @@ ], "showNameOnTiles": true, "setBuildNumber": true + }, + "mac": { + "target": ["dmg"] } }, "devDependencies": {