-
Notifications
You must be signed in to change notification settings - Fork 59
/
wix.json
68 lines (67 loc) · 1.64 KB
/
wix.json
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
{
"product": "liteblog",
"company": "jicg",
"license": "LICENSE",
"upgrade-code": "7dd73fee-5feb-4f54-8b45-98336f6c78af",
"files": {
"guid": "995790bf-43d9-4dec-9069-edce82e765c3",
"items": [
"liteblog.exe"
]
},
"directories": [
"views",
"static",
"conf",
"nssm"
],
"env": {
"guid": "c6a6f441-eb98-46f8-aaeb-51c836877237",
"vars": [
{
"name": "PATH",
"value": "[INSTALLDIR]",
"permanent": "no",
"system": "no",
"action": "set",
"part": "last"
}
]
},
"choco": {
"description": "轻博客",
"project-url": "https://github.com/jicg/liteblog",
"tags": "generate liteblog nuget",
"license-url": "https://github.com/jicg/liteblog/blob/master/LICENSE"
},
"hooks": [
{
"command": "\"[INSTALLDIR]nssm\\nssm.exe\" install liteblog \"[INSTALLDIR]liteblog.exe\"",
"when": "install"
},
{
"command": "\"[INSTALLDIR]nssm\\nssm.exe\" set liteblog Start SERVICE_AUTO_START",
"when": "install"
},
{
"command": "\"[INSTALLDIR]nssm\\nssm.exe\" set liteblog AppStdout \"[INSTALLDIR]nssm\\info.log\"",
"when": "install"
},
{
"command": "\"[INSTALLDIR]nssm\\nssm.exe\" set liteblog AppStderr \"[INSTALLDIR]nssm\\err.log\"",
"when": "install"
},
{
"command": "\"[INSTALLDIR]nssm\\nssm.exe\" set liteblog AppRotateFiles 1",
"when": "install"
},
{
"command": "\"[INSTALLDIR]nssm\\nssm.exe\" set liteblog AppRotateBytes 1048576",
"when": "install"
},
{
"command": "sc.exe delete liteblog",
"when": "uninstall"
}
]
}