mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Moving build / lang scripts from Telegram to subfolders.
Travis build tested with -j param. Xcode / QtCreator / qmake builds could be broken.
This commit is contained in:
@@ -20,10 +20,8 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
static const int32 AppVersion = 9045;
|
||||
static const wchar_t *AppVersionStr = L"0.9.45";
|
||||
static const bool DevVersion = true;
|
||||
//#define BETA_VERSION (9044000ULL) // just comment this line to build public version
|
||||
#include "core/version.h"
|
||||
#include "settings.h"
|
||||
|
||||
static const wchar_t *AppNameOld = L"Telegram Win (Unofficial)";
|
||||
static const wchar_t *AppName = L"Telegram Desktop";
|
||||
@@ -31,8 +29,6 @@ static const wchar_t *AppName = L"Telegram Desktop";
|
||||
static const wchar_t *AppId = L"{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"; // used in updater.cpp and Setup.iss for Windows
|
||||
static const wchar_t *AppFile = L"Telegram";
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
enum {
|
||||
MTPShortBufferSize = 65535, // of ints, 256 kb
|
||||
MTPPacketSizeMax = 67108864, // 64 mb
|
||||
@@ -271,7 +267,7 @@ BZpkIfKaRcl6XzNJiN28cVwO1Ui5JSa814UAiDHzWUqCaXUiUEQ6NmNTneiGx2sQ\n\
|
||||
-----END RSA PUBLIC KEY-----\
|
||||
";
|
||||
|
||||
static const char *UpdatesPublicDevKey = "\
|
||||
static const char *UpdatesPublicAlphaKey = "\
|
||||
-----BEGIN RSA PUBLIC KEY-----\n\
|
||||
MIGJAoGBALWu9GGs0HED7KG7BM73CFZ6o0xufKBRQsdnq3lwA8nFQEvmdu+g/I1j\n\
|
||||
0LQ+0IQO7GW4jAgzF/4+soPDb6uHQeNFrlVx1JS9DZGhhjZ5rf65yg11nTCIHZCG\n\
|
||||
@@ -286,16 +282,14 @@ static const int32 ApiId = 17349;
|
||||
static const char *ApiHash = "344583e45741c457fe1862106095a5eb";
|
||||
#endif
|
||||
|
||||
#ifndef BETA_VERSION
|
||||
#define BETA_VERSION (0)
|
||||
#ifndef BETA_VERSION_MACRO
|
||||
#error "Beta version macro is not defined."
|
||||
#endif
|
||||
|
||||
#if (defined CUSTOM_API_ID) && (BETA_VERSION > 0)
|
||||
#if (defined CUSTOM_API_ID) && (BETA_VERSION_MACRO > 0ULL)
|
||||
#include "../../../TelegramPrivate/beta_private.h" // private key for downloading closed betas
|
||||
#else
|
||||
static const char *BetaPrivateKey = "";
|
||||
#undef BETA_VERSION
|
||||
#define BETA_VERSION (0)
|
||||
#endif
|
||||
|
||||
inline const char *cApiDeviceModel() {
|
||||
|
Reference in New Issue
Block a user