- First, download the single executable file
Aquc.Stackbricks.exe
from [release] (https://github.com/aquamarine5/Aquc.Stackbricks/releases/latest). - Use
Aquc.Stackbricks config create
to create an empty config. - Open the
Aquc.Stackbricks.config.json
config file and write theProgramManifest
values.
Version
: current version of the programProgramDir
: directory of the program file, use\\
to replace\
.Id
: Name to identify the programLastCheckTime
andLastUpdateTime
: remainnull
.
Id | Description | Data |
---|---|---|
stbks.msgpvder.weibocmts | Request message from commits of Weibo post | Identity of Weibo post, use string type |
stbks.msgpvder.bilicmts | Request message from commits of Bilibili post | Identity of Bilibili post, use string type |
- Simple:
stbks.msgpvder.weibocmts%1;;3.0.2.725;;stbks.pkgpvder.ghproxy;;aquamarine5]]Aquc.Stackbricks]]3.0.2.725]]Aquc.Stackbricks.exe
- Use
;;
as splited char - (MsgPvderId) ;; (VersionCode) ;; (PkgPvderId) ;; (PkgPvderData)
stbks.pkgpvder.ghproxy
: Use]]
as splited char- (Username) ]] (RepoName) ]] (ReleaseTagName) ]] (ReleaseAssetFileName)
- UpdateActions is a list to specify what action to perform.
- Items in the list should have three values:
Id
,Args
andFlags
.
Id | Description | Args | Flags |
---|---|---|---|
stbks.action.replaceall | Copy or replace all downloaded files in ProgramDir. | ||
stbks.action.applyselfupdate | Should not use this action in ProgramManifest, apply Stackbricks self update |
update
: check for update, download package and run update action if program has latest versionself update
: check for Stackbricks update, download package and apply update if Stackbricks has latest version