Browse Source

2024-07-24 20:13:08.91

master
tianzhendong 4 months ago
parent
commit
315de0ccc3
  1. 45
      .gitignore
  2. 60
      FlightDataAnalysis/Deploy-cn.iss
  3. BIN
      FlightDataAnalysis/FlightDataAnalysis-full-v2.3.5.exe
  4. BIN
      FlightDataAnalysis/FlightDataAnalysis-patch-v/CommonModule.dll
  5. BIN
      FlightDataAnalysis/FlightDataAnalysis-patch-v/FlightDataAnalysis.exe
  6. BIN
      FlightDataAnalysis/FlightDataAnalysis-patch-v/myMatlabPlot.dll
  7. BIN
      FlightDataAnalysis/FlightDataAnalysis-patch-v/qcustomplot.dll
  8. BIN
      FlightDataAnalysis/FlightDataAnalysis-patch-v/updater.exe
  9. 12
      FlightDataAnalysis/definitions/README.md
  10. 28
      FlightDataAnalysis/definitions/updates.json
  11. BIN
      FlightDataAnalysis/download/CommonModule.dll
  12. BIN
      FlightDataAnalysis/download/FlightDataAnalysis-full.exe
  13. BIN
      FlightDataAnalysis/download/FlightDataAnalysis.exe
  14. BIN
      FlightDataAnalysis/download/FlightDataAnalysis.zip
  15. BIN
      FlightDataAnalysis/download/QtXlsx.dll
  16. BIN
      FlightDataAnalysis/download/Updater.exe
  17. BIN
      FlightDataAnalysis/download/mclmcrrt9_10.dll
  18. BIN
      FlightDataAnalysis/download/myMatlabPlot.dll
  19. BIN
      FlightDataAnalysis/download/node.dll
  20. BIN
      FlightDataAnalysis/download/qcustomplot.dll
  21. 2
      FlightDataAnalysis/updates.json

45
.gitignore

@ -0,0 +1,45 @@
/*release*/
/*debug/
/.idea/
/windeploy/
users*
*Debug
*Release
Makefile*
# *.rc
# ui_*.h
moc_*.cpp
*.o
moc*
qrc*
test_data/
build/
Build/
logs/
.qtc_clangd
*.autosave
/.qmake.cache
/.qmake.stash
# *.html
*.cmake
*.cbp
*.user
CMakeCache.txt
CMakeFiles/
*autogen/
deploy/
Deploy/
# qtcreator generated files
*.pro.user*
# MinGW generated files
*.Debug
*.Release

60
FlightDataAnalysis/Deploy-cn.iss

@ -0,0 +1,60 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "FlightDataAnalysis"
#define MyAppVersion "2.3.5"
#define MyAppPublisher "My Company, Inc."
#define MyAppURL "https://www.example.com/"
#define MyAppExeName "FlightDataAnalysis.exe"
#define MyAppAssocName MyAppName + " File"
#define MyAppAssocExt ".myp"
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{613FF507-BFA0-47DC-9681-F0DD80E3EEA3}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=C:\{#MyAppName}
ChangesAssociations=yes
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputDir=D:\4_Code\3_Deploy\FlightDataAnalysis\
OutputBaseFilename=FlightDataAnalysis-full-v{#MyAppVersion}
SetupIconFile=D:\4_Code\3_Deploy\FlightDataAnalysis\Deploy\FlightDataAnalysis-CN\DataAnalysis.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\4_Code\3_Deploy\FlightDataAnalysis\Deploy\FlightDataAnalysis-CN\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\4_Code\3_Deploy\FlightDataAnalysis\Deploy\FlightDataAnalysis-CN\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Registry]
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
Root: HKA; Subkey: "Software\Classes\Applications\{#MyAppExeName}\SupportedTypes"; ValueType: string; ValueName: ".myp"; ValueData: ""
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

BIN
FlightDataAnalysis/FlightDataAnalysis-full-v2.3.5.exe

Binary file not shown.

BIN
FlightDataAnalysis/FlightDataAnalysis-patch-v/CommonModule.dll

Binary file not shown.

BIN
FlightDataAnalysis/FlightDataAnalysis-patch-v/FlightDataAnalysis.exe

Binary file not shown.

BIN
FlightDataAnalysis/FlightDataAnalysis-patch-v/myMatlabPlot.dll

Binary file not shown.

BIN
FlightDataAnalysis/FlightDataAnalysis-patch-v/qcustomplot.dll

Binary file not shown.

BIN
FlightDataAnalysis/FlightDataAnalysis-patch-v/updater.exe

Binary file not shown.

12
FlightDataAnalysis/definitions/README.md

@ -1,12 +0,0 @@
# 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
FlightDataAnalysis/definitions/updates.json

@ -1,28 +0,0 @@
{
"updates": {
"windows": {
"full-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/FlightDataAnalysis/download/FlightDataAnalysis-full.exe",
"latest-version": "2.3.5",
"download-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/FlightDataAnalysis/download/FlightDataAnalysis-patch.zip",
"changelog": "modify updater module",
"modify-time": "20240613",
"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
}
}
}

BIN
FlightDataAnalysis/download/CommonModule.dll

Binary file not shown.

BIN
FlightDataAnalysis/download/FlightDataAnalysis-full.exe

Binary file not shown.

BIN
FlightDataAnalysis/download/FlightDataAnalysis.exe

Binary file not shown.

BIN
FlightDataAnalysis/download/FlightDataAnalysis.zip

Binary file not shown.

BIN
FlightDataAnalysis/download/QtXlsx.dll

Binary file not shown.

BIN
FlightDataAnalysis/download/Updater.exe

Binary file not shown.

BIN
FlightDataAnalysis/download/mclmcrrt9_10.dll

Binary file not shown.

BIN
FlightDataAnalysis/download/myMatlabPlot.dll

Binary file not shown.

BIN
FlightDataAnalysis/download/node.dll

Binary file not shown.

BIN
FlightDataAnalysis/download/qcustomplot.dll

Binary file not shown.

2
FlightDataAnalysis/updates.json

@ -5,7 +5,7 @@
{ {
"full-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/", "full-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/",
"full-version": "2.3.5", "full-version": "2.3.5",
"download-full":false, "download-full":true,
"patch-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/", "patch-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/",
"patch-version": "2.3.5", "patch-version": "2.3.5",

Loading…
Cancel
Save