-
Notifications
You must be signed in to change notification settings - Fork 1
/
confg package
94 lines (86 loc) · 2.33 KB
/
confg package
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
--------fresh package.json---------
{
"name": "ALiWa",
"version": "0.0.8-TESTNET",
"author": "dynamiccreator",
"description": "ALiWa (alpha) - A light wallet for the Alias crpytocurrency.",
"main": "main.js",
"license": "(MIT) UNLICENSED",
"contributors": [],
"dependencies": {
"aes256": "*",
"bip39": "*",
"bs58": "*",
"bs58check": "*",
"create-hash": "*",
"elliptic": "*",
"hdkey": "*",
"lokijs": "*",
"numeral": "*",
"path": "*",
"socket.io-client": "*",
"socks-proxy-agent": "*"
}
}
................END OF package.json------------------------------------
APP ICON INSTRUCTIONS
After you have executed "electron-forge import" the file "package.json" needs to be adapted in order to let the app have the ALiWa icon.
Look for this part of "package.json":
------------------------------------------------------
"config": {
"forge": {
"packagerConfig": {},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "aliwa"
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
]
}
}
---------------------------------------------------
It needs to be altered for each platform you want to build.
See below:
Windows
------------------------------------
"packagerConfig": {
"asar": true,
"icon": "view_resources/img/aliwa_light.ico",
"setupIcon": "view_resources/img/aliwa_light.ico"
},
MAC OS
------------------------------------
"packagerConfig": {"icon": "view_resources/img/icon.icns"},
------------------------------------
Linux .deb:
-------------------------------------
"name": "@electron-forge/maker-deb",
"config": {
"icon": "view_resources/img/aliwa_light.png",
"setupIcon": "view_resources/img/aliwa_light.png"
}
------------------------------------
Linux .rpm:
------------------------------------
"name": "@electron-forge/maker-rpm",
"config": {
"icon": "view_resources/img/aliwa_light.png",
"setupIcon": "view_resources/img/aliwa_light.png"
}
------------------------------------