diff --git a/LaunchControl/LaunchControl-full-v2.1.2.20231213.1.exe b/LaunchControl/LaunchControl-full-v2.1.2.20231213.1.exe new file mode 100644 index 0000000..9feacfc Binary files /dev/null and b/LaunchControl/LaunchControl-full-v2.1.2.20231213.1.exe differ diff --git a/LaunchControl/definitions/README.md b/LaunchControl/definitions/README.md new file mode 100644 index 0000000..c499e27 --- /dev/null +++ b/LaunchControl/definitions/README.md @@ -0,0 +1,12 @@ +# What is this? + +The [updates.json](updates.json) file is the update definitions file. In other words, it lists the latest versions, changelogs and download URLs for each platform. + +The example project downloads the [updates.json](updates.json) file and analyzes in order to: + +- Compare the local (user set) version and the remote version (specified in [updates.json](updates.json)) +- Download the change log for the current platform +- Obtain the download URLs +- Obtain the URL to open (if specified) + +Check the article on this article on the [wiki](#) for more information. diff --git a/LaunchControl/definitions/updates.json b/LaunchControl/definitions/updates.json new file mode 100644 index 0000000..2217a4f --- /dev/null +++ b/LaunchControl/definitions/updates.json @@ -0,0 +1,28 @@ +{ + "updates": { + "windows": { + "full-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/FlightDataAnalysis/download/FlightDataAnalysis-full.exe", + "latest-version": "2.2.3", + "download-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/FlightDataAnalysis/download/FlightDataAnalysis-patch.zip", + "changelog": "modify updater module", + "modify-time": "20230729", + "mandatory": true + }, + "linux": { + "full-url": "http://www.tianzd.cn:1995/TianZD/FlightDataAnalysis-deploy/raw/branch/master/download/FlightDataAnalysis-full.exe", + "latest-version": "1.0", + "download-url": "http://www.tianzd.cn:1995/TianZD/FlightDataAnalysis-deploy/raw/branch/master/download/FlightDataAnalysis-test.exe", + "changelog": "This is an example changelog for Linux. Go on...", + "modify-time": "20230726", + "mandatory": true + }, + "ios": { + "full-url": "http://www.tianzd.cn:1995/TianZD/FlightDataAnalysis-deploy/raw/branch/master/download/FlightDataAnalysis-full.exe", + "latest-version": "1.0", + "download-url": "http://www.tianzd.cn:1995/TianZD/FlightDataAnalysis-deploy/raw/branch/master/download/FlightDataAnalysis-test.exe", + "changelog": "This is an example changelog for iOS. Go on...", + "modify-time": "20230726", + "mandatory": true + } + } +} \ No newline at end of file diff --git a/LaunchControl/updates.json b/LaunchControl/updates.json new file mode 100644 index 0000000..c30b88f --- /dev/null +++ b/LaunchControl/updates.json @@ -0,0 +1,14 @@ +{ + "updates": + { + "windows": + { + "full-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/LaunchControl/LaunchControl-full", + "latest-version": "2.1.2", + "download-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/LaunchControl/LaunchControl-patch", + "changelog": "modify updater module", + "modify-time": "20231213", + "modifyCnt": "1" + } + } +} \ No newline at end of file