Closed alpha version 4.8.4.1.

This commit is contained in:
John Preston 2023-07-05 21:05:32 +04:00
parent 6a11888852
commit 1c914e40bb
6 changed files with 21 additions and 21 deletions

View File

@ -10,7 +10,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop" <Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE" ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A" Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="4.8.4.0" /> Version="4.8.4.1" />
<Properties> <Properties>
<DisplayName>Telegram Desktop</DisplayName> <DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName> <PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

View File

@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,4,0 FILEVERSION 4,8,4,1
PRODUCTVERSION 4,8,4,0 PRODUCTVERSION 4,8,4,1
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -62,10 +62,10 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Telegram FZ-LLC" VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop" VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "4.8.4.0" VALUE "FileVersion", "4.8.4.1"
VALUE "LegalCopyright", "Copyright (C) 2014-2023" VALUE "LegalCopyright", "Copyright (C) 2014-2023"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "4.8.4.0" VALUE "ProductVersion", "4.8.4.1"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View File

@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,8,4,0 FILEVERSION 4,8,4,1
PRODUCTVERSION 4,8,4,0 PRODUCTVERSION 4,8,4,1
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -53,10 +53,10 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Telegram FZ-LLC" VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop Updater" VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "4.8.4.0" VALUE "FileVersion", "4.8.4.1"
VALUE "LegalCopyright", "Copyright (C) 2014-2023" VALUE "LegalCopyright", "Copyright (C) 2014-2023"
VALUE "ProductName", "Telegram Desktop" VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "4.8.4.0" VALUE "ProductVersion", "4.8.4.1"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View File

@ -9,7 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "base/const_string.h" #include "base/const_string.h"
#define TDESKTOP_REQUESTED_ALPHA_VERSION (0ULL) #define TDESKTOP_REQUESTED_ALPHA_VERSION (4008004001ULL)
#ifdef TDESKTOP_ALLOW_CLOSED_ALPHA #ifdef TDESKTOP_ALLOW_CLOSED_ALPHA
#define TDESKTOP_ALPHA_VERSION TDESKTOP_REQUESTED_ALPHA_VERSION #define TDESKTOP_ALPHA_VERSION TDESKTOP_REQUESTED_ALPHA_VERSION

View File

@ -53,9 +53,9 @@ outputFolder = 'updates/' + today
archive = 'tdesktop_macOS_' + today + '.zip' archive = 'tdesktop_macOS_' + today + '.zip'
if building: if building:
print('Building debug version for OS X 10.12+..') print('Building Release version for OS X 10.12+..')
if os.path.exists('../out/Debug/' + outputFolder): if os.path.exists('../out/Release/' + outputFolder):
finish(1, 'Todays updates version exists.') finish(1, 'Todays updates version exists.')
if uuid == '': if uuid == '':
@ -65,11 +65,11 @@ if building:
os.chdir('../out') os.chdir('../out')
if uuid == '': if uuid == '':
result = subprocess.call('cmake --build . --config Debug --target Telegram', shell=True) result = subprocess.call('cmake --build . --config Release --target Telegram', shell=True)
if result != 0: if result != 0:
finish(1, 'While building Telegram.') finish(1, 'While building Telegram.')
os.chdir('Debug') os.chdir('Release')
if uuid == '': if uuid == '':
if not os.path.exists('Telegram.app'): if not os.path.exists('Telegram.app'):
finish(1, 'Telegram.app not found.') finish(1, 'Telegram.app not found.')
@ -106,7 +106,7 @@ if building:
finish(1, 'Adding tdesktop to archive.') finish(1, 'Adding tdesktop to archive.')
print('Beginning notarization process.') print('Beginning notarization process.')
lines = subprocess.check_output('xcrun altool --notarize-app --primary-bundle-id "com.tdesktop.TelegramDebug" --username "' + username + '" --password "@keychain:AC_PASSWORD" --file "' + archive + '"', stderr=subprocess.STDOUT, shell=True).decode('utf-8') lines = subprocess.check_output('xcrun altool --notarize-app --primary-bundle-id "com.tdesktop.Telegram" --username "' + username + '" --password "@keychain:AC_PASSWORD" --file "' + archive + '"', stderr=subprocess.STDOUT, shell=True).decode('utf-8')
print('Response received.') print('Response received.')
uuid = '' uuid = ''
for line in lines.split('\n'): for line in lines.split('\n'):
@ -193,7 +193,7 @@ if building:
print('NB! Notarization log not found.') print('NB! Notarization log not found.')
finish(0) finish(0)
commandPath = scriptPath + '/../../out/Debug/' + outputFolder + '/command.txt' commandPath = scriptPath + '/../../out/Release/' + outputFolder + '/command.txt'
if composing: if composing:
templatePath = scriptPath + '/../../../DesktopPrivate/updates_template.txt' templatePath = scriptPath + '/../../../DesktopPrivate/updates_template.txt'
@ -235,7 +235,7 @@ if composing:
for line in template: for line in template:
if line.startswith('//'): if line.startswith('//'):
continue continue
line = line.replace('{path}', scriptPath + '/../../out/Debug/' + outputFolder + '/' + archive) line = line.replace('{path}', scriptPath + '/../../out/Release/' + outputFolder + '/' + archive)
line = line.replace('{caption}', 'TDesktop at ' + today.replace('_', '.') + ':\n\n' + changelog) line = line.replace('{caption}', 'TDesktop at ' + today.replace('_', '.') + ':\n\n' + changelog)
f.write(line) f.write(line)
print('\n\nEdit:\n') print('\n\nEdit:\n')
@ -262,9 +262,9 @@ if len(caption) > 1024:
print('vi ' + commandPath) print('vi ' + commandPath)
finish(1, 'Too large.') finish(1, 'Too large.')
if not os.path.exists('../out/Debug/' + outputFolder + '/' + archive): if not os.path.exists('../out/Release/' + outputFolder + '/' + archive):
finish(1, 'Not built yet.') finish(1, 'Not built yet.')
subprocess.call(scriptPath + '/../../out/Debug/Telegram.app/Contents/MacOS/Telegram -sendpath interpret://' + scriptPath + '/../../out/Debug/' + outputFolder + '/command.txt', shell=True) subprocess.call(scriptPath + '/../../out/Release/Telegram.app/Contents/MacOS/Telegram -sendpath interpret://' + scriptPath + '/../../out/Release/' + outputFolder + '/command.txt', shell=True)
finish(0) finish(0)

View File

@ -3,5 +3,5 @@ AppVersionStrMajor 4.8
AppVersionStrSmall 4.8.4 AppVersionStrSmall 4.8.4
AppVersionStr 4.8.4 AppVersionStr 4.8.4
BetaChannel 0 BetaChannel 0
AlphaVersion 0 AlphaVersion 4008004001
AppVersionOriginal 4.8.4 AppVersionOriginal 4.8.4.1