summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-02 00:55:24 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-02 00:55:24 +0100
commit6aa9bd0f77dcb5128167fae62e32aa5252fe85c6 (patch)
tree632994a61888929af9289927d338bd19a2b3f32c /config.h.in
parent613699b3626aea750093ab7eaaeccaa28c0e87c6 (diff)
downloadMultiMC-6aa9bd0f77dcb5128167fae62e32aa5252fe85c6.tar
MultiMC-6aa9bd0f77dcb5128167fae62e32aa5252fe85c6.tar.gz
MultiMC-6aa9bd0f77dcb5128167fae62e32aa5252fe85c6.tar.lz
MultiMC-6aa9bd0f77dcb5128167fae62e32aa5252fe85c6.tar.xz
MultiMC-6aa9bd0f77dcb5128167fae62e32aa5252fe85c6.zip
Renew the updater branch
Now with some actual consensus on what the updater will do!
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in20
1 files changed, 12 insertions, 8 deletions
diff --git a/config.h.in b/config.h.in
index 34841817..26c8b1e9 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,16 +1,20 @@
+// Minor and major version, used to communicate changes to users.
#define VERSION_MAJOR @MultiMC_VERSION_MAJOR@
#define VERSION_MINOR @MultiMC_VERSION_MINOR@
+
+// Build number and type -- numer is used by the updater, type is purely visual
#define VERSION_BUILD @MultiMC_VERSION_BUILD@
#define VERSION_BUILD_TYPE "@MultiMC_VERSION_BUILD_TYPE@"
-#define GIT_COMMIT "@MultiMC_GIT_COMMIT@"
-
-#define VERSION_STR "@MultiMC_VERSION_STRING@"
-
-#define x86 1
-#define x64 2
+// URL base for the updater
+#define VERSION_REPO "@MultiMC_REPO_BASE_URL@"
-#define ARCH @MultiMC_ARCH@
+// The branch used for this build. User can switch between 'stable' and 'develop'
+// if this is one of them. Otherwise, it pulls only from this one.
+#define VERSION_BRANCH "@MultiMC_VERSION_BRANCH@"
-#define USE_HTTPS @MultiMC_USE_HTTPS@
+// the commit hash of this build
+#define GIT_COMMIT "@MultiMC_GIT_COMMIT@"
+// This is printed on start to standard output
+#define VERSION_STR "@MultiMC_VERSION_STRING@"