-
Notifications
You must be signed in to change notification settings - Fork 10
/
electron-packager.js
45 lines (45 loc) · 1.02 KB
/
electron-packager.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
var packager = require("electron-packager");
var options = {
arch: "x64",
platform: process.platform,
dir: "./",
"app-copyright": "Super Simple",
"app-version": "0.0.1",
asar: true,
icon: "./logo.ico",
name: "SuperSimpleBrowser",
ignore: [
"releases",
".git",
"yarn-error.log",
"yarn.lock",
"test.json",
"dist",
".babelrc",
".gitignore",
"LICENSE",
"README.md",
"README.md",
"src/browser",
".vscode",
"src/components",
"src/modal",
"src/scene",
],
out: "./build/releases",
overwrite: true,
prune: true,
version: "0.0.1",
"version-string": {
CompanyName: "Super Simple",
FileDescription:
"Tools for Professional clients" /*This is what display windows on task manager, shortcut and process*/,
OriginalFilename: "SuperSimpleBrowser",
ProductName: "Super Simple Browser",
InternalName: "SuperSimpleBrowser",
},
};
packager(options, function done_callback(err, appPaths) {
console.log(err);
console.log(appPaths);
});