Skip to content
YVT edited this page Feb 25, 2017 · 4 revisions

PackageInfo.json includes some information about OpenSpades package (not just a program!) and is used during automatic update check.

This file is mandatory and OpenSpades fails to launch without one

Example

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
}

Version

[major, minor, revision, build]

Standard Scheme for Offical Releases

build = 0 - pre-release version.

build >= 4 - offical release version.

Known Issues

  • #582 Error message displayed when PackageInfo.json is missing is too obsecure