-
Notifications
You must be signed in to change notification settings - Fork 219
PackageInfo.json
PackageInfo.json
includes some information about OpenSpades package (not just a program!) and is used during automatic update check introduced in 0.1.1.
This file is mandatory since 0.1.1 and OpenSpades fails to launch without one
PackageInfo.json
from OpenSpades 0.1.1 source code distribution is shown below.
{
"Version": [0, 1, 1, 4],
"VersionText": "0.1.1",
"UpdateFeed": {
"Type": "Standard",
"Platform": "SourceCode",
"URL": "http://openspades.yvt.jp/api/version.json"
}
}
TODO
The following example shows a PackageInfo.json
without an update channel information.
{
"Version": [0, 1, 1, 4],
"VersionText": "0.1.1",
"UpdateFeed": null
}
In this case, a message like "automatic update check is unavailable" will be shown to users.
[major, minor, revision, build]
build = 0
- pre-release version.
build >= 4
- offical release version.
-
0.1.1b: Error message displayed when
PackageInfo.json
is missing is too obscure (#582)
This wiki is in the middle of an update process to match the latest changes of OpenSpades 0.1.2
It may contain outdated, incorrect or incomplete information.
Please contact the repository owner (@yvt) via email or ask a question in the issue tracker if there is any obscure information you are looking for that can't be found in neither the source code nor in this wiki.