Skip to content

Commit c91abf5

Browse files
committed
#16 mac,win,linuxの書き出しを修正
1 parent 063c55e commit c91abf5

File tree

4 files changed

+17
-54
lines changed

4 files changed

+17
-54
lines changed

template/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ dist-ssr
2525

2626
src/Packages.*
2727
src/config/Config.*
28-
electron.index.json
2928
electron/resources/*

template/electron.build.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

template/electron/package.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,23 @@
66
"config": {
77
"forge": {
88
"packagerConfig": {
9+
"asar": true,
910
"icon": "./icons"
10-
}
11+
},
12+
"makers": [
13+
{
14+
"platforms": ["mas"],
15+
"config": {
16+
"icon": "../icon/macos/icon.icns"
17+
}
18+
},
19+
{
20+
"platforms": ["win32"],
21+
"config": {
22+
"icon": "../icon/windows/icon.png"
23+
}
24+
}
25+
]
1126
}
1227
},
1328
"devDependencies": {

template/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,5 @@
3434
"typescript": "^5.2.2",
3535
"vite": "^4.5.0",
3636
"vitest": "^0.34.6"
37-
},
38-
"dependencies": {
39-
"example-product-name": "file:electron"
4037
}
41-
}
38+
}

0 commit comments

Comments
 (0)