Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2012-12-21 19:47:03 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2012-12-22 22:45:25 +0400
commit57f5ce68cedbf157d8a5b767b2ef9f023ffadf30 (patch)
tree7c61c9e2b8061dbdb3cfe41f58679af56695af68 /distrib
parent9be6f9033ce86198ed308cd1b4985cd93cb8ffc7 (diff)
installer: include the commit's hash
Diffstat (limited to 'distrib')
-rw-r--r--distrib/mpc-hc_setup.iss9
1 files changed, 5 insertions, 4 deletions
diff --git a/distrib/mpc-hc_setup.iss b/distrib/mpc-hc_setup.iss
index 97f7471b5..7eacd213b 100644
--- a/distrib/mpc-hc_setup.iss
+++ b/distrib/mpc-hc_setup.iss
@@ -51,6 +51,7 @@
#define app_name "MPC-HC"
#define app_version str(MPC_VERSION_MAJOR) + "." + str(MPC_VERSION_MINOR) + "." + str(MPC_VERSION_PATCH) + "." + str(MPC_VERSION_REV)
#define app_vername = app_name + " " + app_version
+#define app_verhash = "(" + str(MPCHC_HASH) + ")"
#define quick_launch "{userappdata}\Microsoft\Internet Explorer\Quick Launch"
@@ -79,15 +80,15 @@
#ifdef x64Build
#ifdef MPCHC_LITE
- #define FullAppNameVer = app_vername + "Lite (64-bit)"
+ #define FullAppNameVer = app_vername + " " + app_verhash + "Lite (64-bit)"
#else
- #define FullAppNameVer = app_vername + " (64-bit)"
+ #define FullAppNameVer = app_vername + " " + app_verhash + " (64-bit)"
#endif
#else
#ifdef MPCHC_LITE
- #define FullAppNameVer = app_vername + " Lite"
+ #define FullAppNameVer = app_vername + " " + app_verhash + " Lite"
#else
- #define FullAppNameVer = app_vername
+ #define FullAppNameVer = app_vername + " " + app_verhash
#endif
#endif