Browse Source

2023-08-26 9:18:33.79

master
tianzhendong 1 year ago
parent
commit
be8c627089
  1. 0
      FlightDataAnalysis/definitions/README.md
  2. 0
      FlightDataAnalysis/definitions/updates.json
  3. 0
      FlightDataAnalysis/download/FlightDataAnalysis-full.exe
  4. 0
      FlightDataAnalysis/download/FlightDataAnalysis.exe
  5. 0
      FlightDataAnalysis/download/FlightDataAnalysis.zip
  6. 0
      FlightDataAnalysis/download/Updater.exe
  7. 12
      SimulationControl/definitions/README.md
  8. 28
      SimulationControl/definitions/updates.json

0
definitions/README.md → FlightDataAnalysis/definitions/README.md

0
definitions/updates.json → FlightDataAnalysis/definitions/updates.json

0
download/FlightDataAnalysis-full.exe → FlightDataAnalysis/download/FlightDataAnalysis-full.exe

0
download/FlightDataAnalysis.exe → FlightDataAnalysis/download/FlightDataAnalysis.exe

0
download/FlightDataAnalysis.zip → FlightDataAnalysis/download/FlightDataAnalysis.zip

0
download/Updater.exe → FlightDataAnalysis/download/Updater.exe

12
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.

28
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
}
}
}
Loading…
Cancel
Save