From be8c627089a5dcdae1398c6fd2bdfcc18758e23c Mon Sep 17 00:00:00 2001 From: tianzhendong <1203886034@qq.com> Date: Sat, 26 Aug 2023 09:18:34 +0800 Subject: [PATCH] 2023-08-26 9:18:33.79 --- .../definitions}/README.md | 0 .../definitions}/updates.json | 0 .../download}/FlightDataAnalysis-full.exe | Bin .../download}/FlightDataAnalysis.exe | Bin .../download}/FlightDataAnalysis.zip | Bin .../download}/Updater.exe | Bin SimulationControl/definitions/README.md | 12 ++++++++ SimulationControl/definitions/updates.json | 28 ++++++++++++++++++ 8 files changed, 40 insertions(+) rename {definitions => FlightDataAnalysis/definitions}/README.md (100%) rename {definitions => FlightDataAnalysis/definitions}/updates.json (100%) rename {download => FlightDataAnalysis/download}/FlightDataAnalysis-full.exe (100%) rename {download => FlightDataAnalysis/download}/FlightDataAnalysis.exe (100%) rename {download => FlightDataAnalysis/download}/FlightDataAnalysis.zip (100%) rename {download => FlightDataAnalysis/download}/Updater.exe (100%) create mode 100644 SimulationControl/definitions/README.md create mode 100644 SimulationControl/definitions/updates.json diff --git a/definitions/README.md b/FlightDataAnalysis/definitions/README.md similarity index 100% rename from definitions/README.md rename to FlightDataAnalysis/definitions/README.md diff --git a/definitions/updates.json b/FlightDataAnalysis/definitions/updates.json similarity index 100% rename from definitions/updates.json rename to FlightDataAnalysis/definitions/updates.json diff --git a/download/FlightDataAnalysis-full.exe b/FlightDataAnalysis/download/FlightDataAnalysis-full.exe similarity index 100% rename from download/FlightDataAnalysis-full.exe rename to FlightDataAnalysis/download/FlightDataAnalysis-full.exe diff --git a/download/FlightDataAnalysis.exe b/FlightDataAnalysis/download/FlightDataAnalysis.exe similarity index 100% rename from download/FlightDataAnalysis.exe rename to FlightDataAnalysis/download/FlightDataAnalysis.exe diff --git a/download/FlightDataAnalysis.zip b/FlightDataAnalysis/download/FlightDataAnalysis.zip similarity index 100% rename from download/FlightDataAnalysis.zip rename to FlightDataAnalysis/download/FlightDataAnalysis.zip diff --git a/download/Updater.exe b/FlightDataAnalysis/download/Updater.exe similarity index 100% rename from download/Updater.exe rename to FlightDataAnalysis/download/Updater.exe diff --git a/SimulationControl/definitions/README.md b/SimulationControl/definitions/README.md new file mode 100644 index 0000000..c499e27 --- /dev/null +++ b/SimulationControl/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/SimulationControl/definitions/updates.json b/SimulationControl/definitions/updates.json new file mode 100644 index 0000000..0b7ce34 --- /dev/null +++ b/SimulationControl/definitions/updates.json @@ -0,0 +1,28 @@ +{ + "updates": { + "windows": { + "full-url": "http://www.tianzd.cn:1995/TianZD/FlightDataAnalysis-deploy/raw/branch/master/download/FlightDataAnalysis-full.exe", + "latest-version": "2.2.3", + "download-url": "http://www.tianzd.cn:1995/TianZD/FlightDataAnalysis-deploy/raw/branch/master/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