1
0
Эх сурвалжийг харах

corrected build number showing in the installer

Scott Brogden 2 сар өмнө
parent
commit
ac4e5f62f1

+ 1 - 1
.github/workflows/build.yml

@@ -149,7 +149,7 @@ jobs:
           token: ${{secrets.GITHUB_TOKEN}}
           uploadPath: DittoSetup\output\
           tag: ${{env.VERSION_FILENAME}}
-          previous_tag: 3.24.246.0
+          previous_tag: 3.25.73.0
         run: |
              npm install ./DittoSetup/GitHubRelease
              node ./DittoSetup/GitHubRelease/index.js

+ 3 - 0
.gitignore

@@ -51,3 +51,6 @@ CP_Main_i.h
 *.idb
 *.lnk
 CP_Main.aps
+/focusdll/Release64
+/ICU_Loader/x64
+/Release64

+ 8 - 1
DittoSetup/DittoSetup_10.iss

@@ -1,5 +1,12 @@
+#define bit64
+
 #define MyAppName               "Ditto"
-#define MyAppVersion            GetFileVersion("..\Release\Ditto.exe")
+#ifdef bit64
+  #define MyAppVersion            GetFileVersion("..\Release64\Ditto.exe")
+#endif
+#ifndef bit64
+  #define MyAppVersion            GetFileVersion("..\Release\Ditto.exe")
+#endif
 #define MyAppVerName            MyAppName + " " + MyAppVersion
 #define MyAppPublisher          "Scott Brogden"
 #define MyAppSupportURL         "ditto-cp.sourceforge.net"