mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Update updater version and Windows server
This commit is contained in:
parent
e6083e4f5b
commit
3317e3b8e3
|
@ -44,12 +44,12 @@ const QString AutoUpdater::platform = "win64";
|
|||
const QString AutoUpdater::platform = "win32";
|
||||
#endif
|
||||
const QString AutoUpdater::updaterBin = "qtox-updater.exe";
|
||||
const QString AutoUpdater::updateServer = "https://tux3-dev.tox.im";
|
||||
const QString AutoUpdater::updateServer = "https://212.47.234.181";
|
||||
|
||||
unsigned char AutoUpdater::key[crypto_sign_PUBLICKEYBYTES] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
0xd6, 0x32, 0x8a, 0x08, 0xf9, 0xed, 0x14, 0x8a, 0xad, 0x97, 0xa1, 0x33, 0xc5, 0xe2, 0x6c, 0x77
|
||||
0x3b, 0x51, 0xa2, 0x70, 0xc2, 0xd5, 0xc1, 0x5e, 0x31, 0xda, 0x2a, 0x39, 0x9e, 0xf6, 0x99, 0x7e
|
||||
};
|
||||
|
||||
#elif defined(Q_OS_OSX)
|
||||
|
@ -117,7 +117,7 @@ AutoUpdater::VersionInfo AutoUpdater::getUpdateVersion()
|
|||
return versionInfo;
|
||||
|
||||
// Check updater protocol version
|
||||
if ((int)data[0] != '2')
|
||||
if ((int)data[0] != '3')
|
||||
{
|
||||
qWarning() << "getUpdateVersion: Bad version " << (uint8_t)data[0];
|
||||
return versionInfo;
|
||||
|
|
Loading…
Reference in New Issue
Block a user