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