forked from telegramdesktop/tdesktop
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
youtube and instagram preview display added (instead of messages with…
… only one such link)
- Loading branch information
1 parent
e0ef1d4
commit a75f57b
Showing
25 changed files
with
871 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,46 @@ | ||
@echo OFF | ||
|
||
set "AppVersionStr=0.6.7" | ||
echo. | ||
echo Preparing version %AppVersionStr%.. | ||
echo. | ||
|
||
set "PATH=%PATH%;C:\Program Files\7-Zip;C:\Program Files (x86)\Inno Setup 5" | ||
cd ..\Win32\Deploy | ||
call ..\..\..\TelegramPrivate\Sign.bat tsetup.0.6.7.exe | ||
|
||
call ..\..\..\TelegramPrivate\Sign.bat Telegram.exe | ||
if %errorlevel% neq 0 goto error1 | ||
|
||
call ..\..\..\TelegramPrivate\Sign.bat Updater.exe | ||
if %errorlevel% neq 0 goto error1 | ||
|
||
iscc ..\..\Telegram\Setup.iss | ||
if %errorlevel% neq 0 goto error1 | ||
|
||
call ..\..\..\TelegramPrivate\Sign.bat tsetup.%AppVersionStr%.exe | ||
if %errorlevel% neq 0 goto error1 | ||
|
||
call Prepare.exe -path Telegram.exe -path Updater.exe | ||
mkdir deploy\0.6.7\Telegram | ||
move deploy\0.6.7\Telegram.exe deploy\0.6.7\Telegram\ | ||
if %errorlevel% neq 0 goto error1 | ||
|
||
cd deploy\%AppVersionStr% | ||
mkdir Telegram | ||
move Telegram.exe Telegram\ | ||
7z a -mx9 tportable.%AppVersionStr%.zip Telegram\ | ||
if %errorlevel% neq 0 goto error2 | ||
|
||
echo . | ||
echo Version %AppVersionStr% is ready for deploy! | ||
echo . | ||
|
||
cd ..\..\..\..\Telegram | ||
goto eof | ||
|
||
:error2 | ||
cd ..\.. | ||
:error1 | ||
cd ..\..\Telegram | ||
echo ERROR occured! | ||
exit /b %errorlevel% | ||
|
||
:eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,6 +94,5 @@ int main(int argc, char *argv[]) | |
} | ||
} | ||
int res = prepare(f, paths); | ||
system("PAUSE"); | ||
return res; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.