mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-01 03:50:43 +00:00
Version 0.10.1: fix for deep linking start/startgroup in bot links.
This commit is contained in:
parent
a25f55ba68
commit
67a3f33aa7
@ -49,7 +49,7 @@ QString tryConvertUrlToLocal(QString url) {
|
||||
} else if (auto confirmPhoneMatch = regex_match(qsl("^confirmphone/?\\?(.+)"), query, matchOptions)) {
|
||||
return qsl("tg://confirmphone?") + confirmPhoneMatch->captured(1);
|
||||
} else if (auto usernameMatch = regex_match(qsl("^([a-zA-Z0-9\\.\\_]+)(/?\\?|/?$|/(\\d+)/?(?:\\?|$))"), query, matchOptions)) {
|
||||
QString params = url.mid(usernameMatch->captured(0).size()), postParam;
|
||||
QString params = query.mid(usernameMatch->captured(0).size()).toString(), postParam;
|
||||
if (auto postMatch = regex_match(qsl("^/\\d+/?(?:\\?|$)"), usernameMatch->captured(2))) {
|
||||
postParam = qsl("&post=") + usernameMatch->captured(3);
|
||||
}
|
||||
|
@ -46,6 +46,11 @@ set "SignPath=%HomePath%\..\..\TelegramPrivate\Sign.bat"
|
||||
set "BinaryName=Telegram"
|
||||
set "DropboxSymbolsPath=X:\Telegram\symbols"
|
||||
|
||||
if not exist %DropboxSymbolsPath% (
|
||||
echo Dropbox path not found!
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if %BetaVersion% neq 0 (
|
||||
if exist %DeployPath%\ (
|
||||
echo Deploy folder for version %AppVersionStr% already exists!
|
||||
|
Loading…
Reference in New Issue
Block a user