diff --git a/TGcs/TGcs-full-v1.1.2.exe b/TGcs/TGcs-full-v1.1.2.exe new file mode 100644 index 0000000..f5abed5 Binary files /dev/null and b/TGcs/TGcs-full-v1.1.2.exe differ diff --git a/TGcs/TGcs.iss b/TGcs/TGcs.iss index 16aa0cd..e00ab07 100644 --- a/TGcs/TGcs.iss +++ b/TGcs/TGcs.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "TGcs" -#define MyAppVersion "1.1.1" +#define MyAppVersion "1.1.2" #define MyAppPublisher "My Company, Inc." #define MyAppURL "https://www.example.com/" #define MyAppExeName "TGcs.exe" @@ -26,9 +26,9 @@ 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\{#MyAppName}\ +OutputDir={#SourcePath}\ OutputBaseFilename={#MyAppName}-full-v{#MyAppVersion} -SetupIconFile=D:\4_Code\3_Deploy\{#MyAppName}\Deploy\{#MyAppName}.ico +SetupIconFile={#SourcePath}\Deploy\{#MyAppName}.ico Compression=lzma SolidCompression=yes WizardStyle=modern @@ -40,8 +40,8 @@ Name: "english"; MessagesFile: "compiler:Default.isl" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] -Source: "D:\4_Code\3_Deploy\{#MyAppName}\Deploy\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion -Source: "D:\4_Code\3_Deploy\{#MyAppName}\Deploy\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "{#SourcePath}\Deploy\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "{#SourcePath}\Deploy\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Registry] diff --git a/TGcs/pack.sh b/TGcs/pack.sh new file mode 100644 index 0000000..e37581d --- /dev/null +++ b/TGcs/pack.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +appdir=$1 + +if [ -z "$appdir" ]; then + echo "usage: $0 " + exit 1 +fi + +function copylibs() { + DLLFILE=$1 + echo "Checking: $DLLFILE" + ldd $DLLFILE | grep '/mingw64/bin' | awk '{print $1}' | uniq | while read line; do + cp -v /mingw64/bin/$line $appdir + done +} + +find "$appdir" -type f -name '*.dll' | while read line; do + copylibs $line +done diff --git a/TGcs/patch/TGcs.exe b/TGcs/patch/TGcs.exe index 64381d1..425177b 100644 Binary files a/TGcs/patch/TGcs.exe and b/TGcs/patch/TGcs.exe differ diff --git a/TGcs/updates.json b/TGcs/updates.json index 081a21d..3664adf 100644 --- a/TGcs/updates.json +++ b/TGcs/updates.json @@ -4,7 +4,7 @@ "windows": { "full-url": "http://www.tianzd.cn:1995/TianZD/deploy/raw/branch/master/", - "full-version": "1.1.1", + "full-version": "1.1.2", "download-full":true, "changelog": "优化", "modify-time": "20241210",