📦 package for macOS
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
"build": "electron-vite build",
|
||||
"preview": "electron-vite preview",
|
||||
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
|
||||
"dev:demo": "vite --config vite.demo.config.ts"
|
||||
"dev:demo": "vite --config vite.demo.config.ts",
|
||||
"package": "npm run build && electron-builder --mac"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@electron-toolkit/tsconfig": "^1.0.1",
|
||||
@@ -49,7 +50,8 @@
|
||||
"productName": "Hohoff Editor",
|
||||
"icon": "resources/icon.png",
|
||||
"mac": {
|
||||
"target": "dmg"
|
||||
"icon": "resources/icon.icns",
|
||||
"target": [{ "target": "dmg", "arch": "universal" }]
|
||||
},
|
||||
"files": [
|
||||
"out/**/*"
|
||||
|
||||
BIN
resources/icon.icns
Normal file
BIN
resources/icon.icns
Normal file
Binary file not shown.
Reference in New Issue
Block a user