Browse Source

2025-07-01 11:03:36.11

master
TianZD 9 hours ago
parent
commit
6fb8e7314c
  1. BIN
      TGcs/TGcs-full-v1.1.2.exe
  2. 10
      TGcs/TGcs.iss
  3. 20
      TGcs/pack.sh
  4. BIN
      TGcs/patch/TGcs.exe
  5. 2
      TGcs/updates.json

BIN
TGcs/TGcs-full-v1.1.2.exe

Binary file not shown.

10
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]

20
TGcs/pack.sh

@ -0,0 +1,20 @@
#!/bin/bash
appdir=$1
if [ -z "$appdir" ]; then
echo "usage: $0 <appdir>"
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

BIN
TGcs/patch/TGcs.exe

Binary file not shown.

2
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",

Loading…
Cancel
Save