forked from aspectron/kdx
-
Notifications
You must be signed in to change notification settings - Fork 7
/
nw.toml
98 lines (88 loc) · 2.51 KB
/
nw.toml
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
95
96
97
98
[application]
name = "karlsen-desktop"
title = "Karlsen Desktop"
version = "package.json::version"
organization = "Karlsen Network"
[description]
short = "Desktop Node and Wallet for Karlsen"
long = """
Karlsen Desktop is a desktop wallet and a p2p network node instance. This
application allows you to participate in the Karlsen network by running a
local node instance and offers access to a local wallet, compatible with
the web wallet available at https://wallet.karlsencoin.com
"""
[package]
archive = { include = true }
signatures = ["SHA256"]
build = [
{ NPM = { clean = true } }
]
resources = "resources/setup"
output = "setup/$PLATFORM-$ARCH"
include = [
{ glob = [
"bin/*",
"*.js",
"resources/**.css",
"resources/images/*.*",
"resources/**.ttf",
"resources/**.woff",
"resources/**.svg",
"i18n.*",
"modules/*",
"lib/*",
"node_modules/*",
"package.json"
]},
]
[[action]]
items = [{ copy = { glob = [
".templates",
".defaults",
"CHANGELOG.md"
], to = "$TARGET", hidden = true}}]
[[dependency]]
name = "karlsend"
git = { url = "https://github.com/karlsen-network/karlsend", branch = "master" }
run = [
{ cmd = "go build" },
{ cmd = "go build", cwd = "cmd/genkeypair" },
{ cmd = "go build", cwd = "cmd/karlsenctl" },
{ cmd = "go build", cwd = "cmd/karlsenwallet" },
]
copy = [
{ regex = [
"karlsend(.exe)?$",
"genkeypair(.exe)?$",
"karlsenctl(.exe)?$",
"karlsenwallet(.exe)?$",
], to = "bin/$PLATFORM-$ARCH", flatten = true },
]
[nwjs]
version = "0.78.1"
ffmpeg = false
[macos-disk-image]
window_caption_height = 60
window_position = [400,100]
window_size = [485,330]
icon_size = 72
application_icon_position = [100,158]
system_applications_folder_position = [385,158]
[windows]
uuid = "8d51c029-f5dc-44d8-b453-f93629fee7b7"
group = "Karlsen"
run_after_setup = true
[images]
application="logo.png"
macos-application="Icon1024.png"
macos-disk-image="karlsen-desktop-dmg.png"
innosetup-icon="logo.png"
innosetup-wizard-small="karlsen-desktop-55x58.bmp"
innosetup-wizard-large="karlsen-desktop-164x314.bmp"
[languages]
languages = ["dutch", "english", "finnish", "french", "german", "italian", "polish", "portuguese", "russian", "spanish", "turkish", "ukranian"]
[firewall]
application = { direction = "in+out" }
rules = [
{ name = "Karlsen Node", program = "bin/windows-x64/karlsend.exe", direction="in+out" }
]