mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-05 23:01:19 +00:00
Move private folder.
This commit is contained in:
parent
25b6dea5e3
commit
e757e6f67b
@ -5,7 +5,7 @@ pushd `dirname $0` > /dev/null
|
||||
FullScriptPath=`pwd`
|
||||
popd > /dev/null
|
||||
|
||||
if [ ! -d "$FullScriptPath/../../../../TelegramPrivate" ]; then
|
||||
if [ ! -d "$FullScriptPath/../../../../DesktopPrivate" ]; then
|
||||
echo ""
|
||||
echo "This script is for building the production version of Telegram Desktop."
|
||||
echo ""
|
||||
|
@ -6,7 +6,7 @@ popd > /dev/null
|
||||
|
||||
FileName="$1"
|
||||
|
||||
if [ ! -d "$FullScriptPath/../../../../TelegramPrivate" ]; then
|
||||
if [ ! -d "$FullScriptPath/../../../../DesktopPrivate" ]; then
|
||||
echo ""
|
||||
echo "This script is for building the production version of Telegram Desktop."
|
||||
echo ""
|
||||
|
@ -5,7 +5,7 @@ pushd `dirname $0` > /dev/null
|
||||
FullScriptPath=`pwd`
|
||||
popd > /dev/null
|
||||
|
||||
if [ ! -d "$FullScriptPath/../../../../TelegramPrivate" ]; then
|
||||
if [ ! -d "$FullScriptPath/../../../../DesktopPrivate" ]; then
|
||||
echo ""
|
||||
echo "This script is for building the production version of Telegram Desktop."
|
||||
echo ""
|
||||
|
@ -35,8 +35,8 @@ w/CVnbwQOw0g5GBwwFV3r0uTTvy44xx8XXxk+Qknu4eBCsmrAFNnAgMBAAE=\n\
|
||||
|
||||
extern const char *PrivateKey;
|
||||
extern const char *PrivateBetaKey;
|
||||
#include "../../../../TelegramPrivate/packer_private.h" // RSA PRIVATE KEYS for update signing
|
||||
#include "../../../../TelegramPrivate/alpha_private.h" // private key for alpha version file generation
|
||||
#include "../../../../DesktopPrivate/packer_private.h" // RSA PRIVATE KEYS for update signing
|
||||
#include "../../../../DesktopPrivate/alpha_private.h" // private key for alpha version file generation
|
||||
|
||||
QString countAlphaVersionSignature(quint64 version);
|
||||
|
||||
|
@ -183,7 +183,7 @@ constexpr auto ApiHash = "344583e45741c457fe1862106095a5eb";
|
||||
#if (TDESKTOP_ALPHA_VERSION != 0)
|
||||
|
||||
// Private key for downloading closed alphas.
|
||||
#include "../../../TelegramPrivate/alpha_private.h"
|
||||
#include "../../../DesktopPrivate/alpha_private.h"
|
||||
|
||||
#else
|
||||
static const char *AlphaPrivateKey = "";
|
||||
|
@ -3,7 +3,7 @@ setlocal enabledelayedexpansion
|
||||
set "FullScriptPath=%~dp0"
|
||||
set "FullExecPath=%cd%"
|
||||
|
||||
if not exist "%FullScriptPath%..\..\..\TelegramPrivate" (
|
||||
if not exist "%FullScriptPath%..\..\..\DesktopPrivate" (
|
||||
echo.
|
||||
echo This script is for building the production version of Telegram Desktop.
|
||||
echo.
|
||||
@ -54,7 +54,7 @@ set "SetupFile=tsetup.%AppVersionStrFull%.exe"
|
||||
set "PortableFile=tportable.%AppVersionStrFull%.zip"
|
||||
set "ReleasePath=%HomePath%\..\out\Release"
|
||||
set "DeployPath=%ReleasePath%\deploy\%AppVersionStrMajor%\%AppVersionStrFull%"
|
||||
set "SignPath=%HomePath%\..\..\TelegramPrivate\Sign.bat"
|
||||
set "SignPath=%HomePath%\..\..\DesktopPrivate\Sign.bat"
|
||||
set "BinaryName=Telegram"
|
||||
set "DropboxSymbolsPath=Y:\Telegram\symbols"
|
||||
set "FinalReleasePath=Z:\Telegram\backup"
|
||||
|
@ -4,7 +4,7 @@ pushd `dirname $0` > /dev/null
|
||||
FullScriptPath=`pwd`
|
||||
popd > /dev/null
|
||||
|
||||
if [ ! -d "$FullScriptPath/../../../TelegramPrivate" ]; then
|
||||
if [ ! -d "$FullScriptPath/../../../DesktopPrivate" ]; then
|
||||
echo ""
|
||||
echo "This script is for building the production version of Telegram Desktop."
|
||||
echo ""
|
||||
|
@ -4,7 +4,7 @@ pushd `dirname $0` > /dev/null
|
||||
FullScriptPath=`pwd`
|
||||
popd > /dev/null
|
||||
|
||||
if [ ! -d "$FullScriptPath/../../../TelegramPrivate" ]; then
|
||||
if [ ! -d "$FullScriptPath/../../../DesktopPrivate" ]; then
|
||||
echo ""
|
||||
echo "This script is for building the production version of Telegram Desktop."
|
||||
echo ""
|
||||
@ -186,7 +186,7 @@ if [ "$DeployLinux32" == "1" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
$FullScriptPath/../../../TelegramPrivate/mount.sh
|
||||
$FullScriptPath/../../../DesktopPrivate/mount.sh
|
||||
|
||||
declare -a Files
|
||||
if [ "$DeployMac" == "1" ]; then
|
||||
@ -208,7 +208,7 @@ if [ "$DeployLinux32" == "1" ]; then
|
||||
Files+=("tlinux32/$Linux32UpdateFile" "tlinux32/$Linux32SetupFile")
|
||||
fi
|
||||
cd $DeployPath
|
||||
rsync -avR --progress ${Files[@]} "$FullScriptPath/../../../TelegramPrivate/remote/files"
|
||||
rsync -avR --progress ${Files[@]} "$FullScriptPath/../../../DesktopPrivate/remote/files"
|
||||
|
||||
echo "Version $AppVersionStrFull was deployed!"
|
||||
cd $FullExecPath
|
||||
|
@ -4,7 +4,7 @@ from subprocess import call
|
||||
from os.path import expanduser
|
||||
|
||||
changelog_file = '../../changelog.txt'
|
||||
token_file = '../../../TelegramPrivate/github-releases-token.txt'
|
||||
token_file = '../../../DesktopPrivate/github-releases-token.txt'
|
||||
|
||||
version = ''
|
||||
commit = ''
|
||||
|
@ -9,7 +9,7 @@ Param2="$2"
|
||||
Param3="$3"
|
||||
Param4="$4"
|
||||
|
||||
if [ ! -d "$FullScriptPath/../../../TelegramPrivate" ]; then
|
||||
if [ ! -d "$FullScriptPath/../../../DesktopPrivate" ]; then
|
||||
echo ""
|
||||
echo "This script is for building the production version of Telegram Desktop."
|
||||
echo ""
|
||||
|
@ -3,7 +3,7 @@ setlocal enabledelayedexpansion
|
||||
set "FullScriptPath=%~dp0"
|
||||
set "FullExecPath=%cd%"
|
||||
|
||||
if not exist "%FullScriptPath%..\..\..\TelegramPrivate" (
|
||||
if not exist "%FullScriptPath%..\..\..\DesktopPrivate" (
|
||||
echo.
|
||||
echo This script is for building the production version of Telegram Desktop.
|
||||
echo.
|
||||
@ -13,7 +13,7 @@ if not exist "%FullScriptPath%..\..\..\TelegramPrivate" (
|
||||
)
|
||||
|
||||
set "HomePath=%FullScriptPath%.."
|
||||
set "SignAppxPath=%HomePath%\..\..\TelegramPrivate\AppxSign.bat"
|
||||
set "SignAppxPath=%HomePath%\..\..\DesktopPrivate\AppxSign.bat"
|
||||
set "ResourcesPath=%HomePath%\Resources"
|
||||
set "SolutionPath=%HomePath%\.."
|
||||
set "ReleasePath=%HomePath%\..\out\Debug"
|
||||
|
@ -183,7 +183,7 @@ if building:
|
||||
commandPath = scriptPath + '/../../out/Debug/' + outputFolder + '/command.txt'
|
||||
|
||||
if composing:
|
||||
templatePath = scriptPath + '/../../../TelegramPrivate/updates_template.txt'
|
||||
templatePath = scriptPath + '/../../../DesktopPrivate/updates_template.txt'
|
||||
if not os.path.exists(templatePath):
|
||||
finish(1, 'Template file "' + templatePath + '" not found.')
|
||||
|
||||
|
@ -4,7 +4,7 @@ pushd `dirname $0` > /dev/null
|
||||
FullScriptPath=`pwd`
|
||||
popd > /dev/null
|
||||
|
||||
if [ ! -d "$FullScriptPath/../../../TelegramPrivate" ]; then
|
||||
if [ ! -d "$FullScriptPath/../../../DesktopPrivate" ]; then
|
||||
echo ""
|
||||
echo "This script is for building the production version of Telegram Desktop."
|
||||
echo ""
|
||||
|
@ -42,9 +42,9 @@ if os.path.isfile(officialTargetFile):
|
||||
officialTarget = line.strip()
|
||||
|
||||
if officialTarget != '':
|
||||
officialApiIdFile = scriptPath + '/../../../TelegramPrivate/custom_api_id.h'
|
||||
officialApiIdFile = scriptPath + '/../../../DesktopPrivate/custom_api_id.h'
|
||||
if not os.path.isfile(officialApiIdFile):
|
||||
print("[ERROR] TelegramPrivate/custom_api_id.h not found.")
|
||||
print("[ERROR] DesktopPrivate/custom_api_id.h not found.")
|
||||
finish(1)
|
||||
with open(officialApiIdFile, 'r') as f:
|
||||
for line in f:
|
||||
|
Loading…
Reference in New Issue
Block a user