-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jicg
committed
Sep 4, 2018
1 parent
b700636
commit c515a68
Showing
3 changed files
with
79 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"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 start liteblog", | ||
"when": "install" | ||
}, | ||
{ | ||
"command": "sc.exe stop liteblog", | ||
"when": "uninstall" | ||
}, | ||
{ | ||
"command": "sc.exe delete liteblog", | ||
"when": "uninstall" | ||
} | ||
] | ||
} |