mirror of https://github.com/procxx/kepka.git
				
				
				
			Update config.h.in
This commit is contained in:
		
							parent
							
								
									f85e740494
								
							
						
					
					
						commit
						ed2cceec57
					
				|  | @ -167,9 +167,6 @@ endforeach() | |||
| ##================================================ | ||||
| ## Branding | ||||
| ##================================================ | ||||
| set(KEPKA_APPNAME "Kepka" | ||||
|     CACHE STRING "Application name") | ||||
| 
 | ||||
| configure_file(SourceFiles/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) | ||||
| 
 | ||||
| ##================================================ | ||||
|  |  | |||
|  | @ -24,15 +24,20 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org | |||
| #ifdef Q_OS_WIN | ||||
| #	include <guiddef.h> | ||||
| #endif | ||||
| #include "core/version.h" | ||||
| 
 | ||||
| #include "settings.h" | ||||
| #include "core/utils.h" | ||||
| 
 | ||||
| constexpr str_const AppName = "${KEPKA_APPNAME}"; | ||||
| 
 | ||||
| constexpr str_const AppName = "@PROJECT_NAME@"; | ||||
| constexpr str_const AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"; // used in updater.cpp and Setup.iss for Windows
 | ||||
| constexpr str_const AppFile = "Telegram"; | ||||
| 
 | ||||
| #define BETA_VERSION_MACRO (0ULL) | ||||
| constexpr int AppVersion = (@PROJECT_VERSION_MAJOR@ * 1'000'000) + (@PROJECT_VERSION_MINOR@ * 1'000) + @PROJECT_VERSION_PATCH@; | ||||
| constexpr str_const AppVersionStr = "@PROJECT_VERSION@"; | ||||
| constexpr bool AppAlphaVersion = false; | ||||
| constexpr quint64 AppBetaVersion = BETA_VERSION_MACRO; | ||||
| 
 | ||||
| enum { | ||||
| 	MTPShortBufferSize = 65535, // of ints, 256 kb
 | ||||
| 	MTPPacketSizeMax = 67108864, // 64 mb
 | ||||
|  |  | |||
|  | @ -1,31 +0,0 @@ | |||
| /*
 | ||||
| This file is part of Telegram Desktop, | ||||
| the official desktop version of Telegram messaging app, see https://telegram.org
 | ||||
| 
 | ||||
| Telegram Desktop is free software: you can redistribute it and/or modify | ||||
| it under the terms of the GNU General Public License as published by | ||||
| the Free Software Foundation, either version 3 of the License, or | ||||
| (at your option) any later version. | ||||
| 
 | ||||
| It is distributed in the hope that it will be useful, | ||||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
| GNU General Public License for more details. | ||||
| 
 | ||||
| In addition, as a special exception, the copyright holders give permission | ||||
| to link the code of portions of this program with the OpenSSL library. | ||||
| 
 | ||||
| Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
 | ||||
| Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
 | ||||
| */ | ||||
| #pragma once | ||||
| 
 | ||||
| #include "utils.h" | ||||
| #include <cstdint> | ||||
| 
 | ||||
| #define BETA_VERSION_MACRO (0ULL) | ||||
| 
 | ||||
| constexpr int AppVersion = 1001023; | ||||
| constexpr str_const AppVersionStr = "1.1.23-procxx"; | ||||
| constexpr bool AppAlphaVersion = false; | ||||
| constexpr quint64 AppBetaVersion = BETA_VERSION_MACRO; | ||||
		Loading…
	
		Reference in New Issue