Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 7a58d49

Browse files
authored
Adds icons & cross-platform builds. (#12)
Also excluded more files that don't need to be packed in the build.
1 parent 56321da commit 7a58d49

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

build/icon.icns

1.21 MB
Binary file not shown.

build/icon.ico

83.7 KB
Binary file not shown.

package.json

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,34 @@
55
},
66
"build": {
77
"appId": "com.example.electron-starter",
8+
"files": [
9+
"!src",
10+
"!docs",
11+
"!tsconfig.json",
12+
"!fuse.js",
13+
"!dev-app-update.yml",
14+
"!README.md",
15+
"!LICENSE",
16+
"!globals.d.ts"
17+
],
18+
"linux": {
19+
"target": [
20+
"tar.gz"
21+
]
22+
},
823
"mac": {
924
"category": "public.app-category.developer-tools"
1025
},
26+
"productName": "Electron Starter",
1127
"publish": {
1228
"owner": "skellock",
1329
"provider": "github",
1430
"repo": "electron-starter"
31+
},
32+
"win": {
33+
"target": [
34+
"zip"
35+
]
1536
}
1637
},
1738
"dependencies": {
@@ -52,10 +73,10 @@
5273
"private": true,
5374
"repository": "skellock/electron-starter",
5475
"scripts": {
55-
"clean": "rm -rf .fusebox out",
76+
"clean": "rm -rf .fusebox out dist",
5677
"compile": "NODE_ENV=production node fuse",
57-
"dist": "electron-builder",
58-
"draft": "electron-builder -p always --mac --draft",
78+
"dist": "electron-builder --mac --win --linux --ia32 --x64",
79+
"draft": "electron-builder -p always --draft --mac --win --linux --ia32 --x64",
5980
"info": "npm-scripts-info",
6081
"pack": "electron-builder --dir",
6182
"postinstall": "electron-builder install-app-deps",
@@ -71,5 +92,5 @@
7192
"postinstall": "Used by electron-builder to build native dependencies.",
7293
"start": "Starts the app in dev mode."
7394
},
74-
"version": "0.6.0"
95+
"version": "0.7.0"
7596
}

0 commit comments

Comments
 (0)