From 302ede28b303a7dec3f7de8790e0baa5201b05d0 Mon Sep 17 00:00:00 2001 From: tux3 Date: Thu, 19 Feb 2015 22:46:28 +0100 Subject: [PATCH] Install 64bit updates on Win64, not 32bit Yes, that sounds like a thing we migth want to do... Fixes #1227, fixes #1072 --- src/autoupdate.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/autoupdate.cpp b/src/autoupdate.cpp index 5f7b54f97..2aadb22e9 100644 --- a/src/autoupdate.cpp +++ b/src/autoupdate.cpp @@ -35,7 +35,11 @@ #endif #ifdef Q_OS_WIN +#ifdef Q_OS_WIN64 +const QString AutoUpdater::platform = "win64"; +#else const QString AutoUpdater::platform = "win32"; +#endif const QString AutoUpdater::updaterBin = "qtox-updater.exe"; const QString AutoUpdater::updateServer = "https://s3.amazonaws.com/qtox-updater";