diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b3a9905 --- /dev/null +++ b/.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 diff --git a/FlightDataAnalysis/Deploy-cn.iss b/FlightDataAnalysis/Deploy-cn.iss new file mode 100644 index 0000000..8215ad6 --- /dev/null +++ b/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 + diff --git a/FlightDataAnalysis/FlightDataAnalysis-full-v2.3.5.exe b/FlightDataAnalysis/FlightDataAnalysis-full-v2.3.5.exe index e20a350..6af1f12 100644 Binary files a/FlightDataAnalysis/FlightDataAnalysis-full-v2.3.5.exe and b/FlightDataAnalysis/FlightDataAnalysis-full-v2.3.5.exe differ diff --git a/FlightDataAnalysis/FlightDataAnalysis-patch-v/CommonModule.dll b/FlightDataAnalysis/FlightDataAnalysis-patch-v/CommonModule.dll deleted file mode 100644 index b992d41..0000000 Binary files a/FlightDataAnalysis/FlightDataAnalysis-patch-v/CommonModule.dll and /dev/null differ diff --git a/FlightDataAnalysis/FlightDataAnalysis-patch-v/FlightDataAnalysis.exe b/FlightDataAnalysis/FlightDataAnalysis-patch-v/FlightDataAnalysis.exe deleted file mode 100644 index b57764f..0000000 Binary files a/FlightDataAnalysis/FlightDataAnalysis-patch-v/FlightDataAnalysis.exe and /dev/null differ diff --git a/FlightDataAnalysis/FlightDataAnalysis-patch-v/myMatlabPlot.dll b/FlightDataAnalysis/FlightDataAnalysis-patch-v/myMatlabPlot.dll deleted file mode 100644 index 1a9401f..0000000 Binary files a/FlightDataAnalysis/FlightDataAnalysis-patch-v/myMatlabPlot.dll and /dev/null differ diff --git a/FlightDataAnalysis/FlightDataAnalysis-patch-v/qcustomplot.dll b/FlightDataAnalysis/FlightDataAnalysis-patch-v/qcustomplot.dll deleted file mode 100644 index 92a1a90..0000000 Binary files a/FlightDataAnalysis/FlightDataAnalysis-patch-v/qcustomplot.dll and /dev/null differ diff --git a/FlightDataAnalysis/FlightDataAnalysis-patch-v/updater.exe b/FlightDataAnalysis/FlightDataAnalysis-patch-v/updater.exe deleted file mode 100644 index de6163f..0000000 Binary files a/FlightDataAnalysis/FlightDataAnalysis-patch-v/updater.exe and /dev/null differ diff --git a/FlightDataAnalysis/definitions/README.md b/FlightDataAnalysis/definitions/README.md deleted file mode 100644 index c499e27..0000000 --- a/FlightDataAnalysis/definitions/README.md +++ /dev/null @@ -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. diff --git a/FlightDataAnalysis/definitions/updates.json b/FlightDataAnalysis/definitions/updates.json deleted file mode 100644 index 9c00934..0000000 --- a/FlightDataAnalysis/definitions/updates.json +++ /dev/null @@ -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 - } - } -} \ No newline at end of file diff --git a/FlightDataAnalysis/download/CommonModule.dll b/FlightDataAnalysis/download/CommonModule.dll deleted file mode 100644 index b992d41..0000000 Binary files a/FlightDataAnalysis/download/CommonModule.dll and /dev/null differ diff --git a/FlightDataAnalysis/download/FlightDataAnalysis-full.exe b/FlightDataAnalysis/download/FlightDataAnalysis-full.exe deleted file mode 100644 index 14f48e1..0000000 Binary files a/FlightDataAnalysis/download/FlightDataAnalysis-full.exe and /dev/null differ diff --git a/FlightDataAnalysis/download/FlightDataAnalysis.exe b/FlightDataAnalysis/download/FlightDataAnalysis.exe deleted file mode 100644 index 2894850..0000000 Binary files a/FlightDataAnalysis/download/FlightDataAnalysis.exe and /dev/null differ diff --git a/FlightDataAnalysis/download/FlightDataAnalysis.zip b/FlightDataAnalysis/download/FlightDataAnalysis.zip deleted file mode 100644 index ad068e5..0000000 Binary files a/FlightDataAnalysis/download/FlightDataAnalysis.zip and /dev/null differ diff --git a/FlightDataAnalysis/download/QtXlsx.dll b/FlightDataAnalysis/download/QtXlsx.dll deleted file mode 100644 index c4391aa..0000000 Binary files a/FlightDataAnalysis/download/QtXlsx.dll and /dev/null differ diff --git a/FlightDataAnalysis/download/Updater.exe b/FlightDataAnalysis/download/Updater.exe deleted file mode 100644 index fc5aa78..0000000 Binary files a/FlightDataAnalysis/download/Updater.exe and /dev/null differ diff --git a/FlightDataAnalysis/download/mclmcrrt9_10.dll b/FlightDataAnalysis/download/mclmcrrt9_10.dll deleted file mode 100644 index df0f579..0000000 Binary files a/FlightDataAnalysis/download/mclmcrrt9_10.dll and /dev/null differ diff --git a/FlightDataAnalysis/download/myMatlabPlot.dll b/FlightDataAnalysis/download/myMatlabPlot.dll deleted file mode 100644 index 1a9401f..0000000 Binary files a/FlightDataAnalysis/download/myMatlabPlot.dll and /dev/null differ diff --git a/FlightDataAnalysis/download/node.dll b/FlightDataAnalysis/download/node.dll deleted file mode 100644 index e48101c..0000000 Binary files a/FlightDataAnalysis/download/node.dll and /dev/null differ diff --git a/FlightDataAnalysis/download/qcustomplot.dll b/FlightDataAnalysis/download/qcustomplot.dll deleted file mode 100644 index 92a1a90..0000000 Binary files a/FlightDataAnalysis/download/qcustomplot.dll and /dev/null differ diff --git a/FlightDataAnalysis/updates.json b/FlightDataAnalysis/updates.json index de6b01e..bf54c5e 100644 --- a/FlightDataAnalysis/updates.json +++ b/FlightDataAnalysis/updates.json @@ -5,7 +5,7 @@ { "full-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/", "full-version": "2.3.5", - "download-full":false, + "download-full":true, "patch-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/", "patch-version": "2.3.5",