forked from pool/telegram-desktop
9bce24ff6c
- Updated to version 5.2.0 * Pay for content with Telegram Stars. * Enable local passcode unlock by Windows Hello and Touch ID. * Allow opening forums, topics and archive in a separate window. - Updated to version 5.1.8 * Support nice blockquotes and code blocks edition when composing messages. * Support collapsing blockquotes and specifying syntax highlight language. * Support nice spoiler animation in the message composing input field. - Update tg_owt to git commit c9cc4390ab951f2cbc103ff783a11f398b27660b OBS-URL: https://build.opensuse.org/request/show/1184208 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=326
23 lines
694 B
Bash
23 lines
694 B
Bash
#! /bin/bash
|
|
|
|
# tg_owt origin
|
|
# get it from https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/build/docker/centos_env/Dockerfile around line 761
|
|
tg_owt_origin="c9cc4390ab951f2cbc103ff783a11f398b27660b"
|
|
|
|
rm -rf tg_owt \
|
|
&& mkdir tg_owt \
|
|
&& cd tg_owt \
|
|
&& git init tg_owt \
|
|
&& cd tg_owt \
|
|
&& git remote add origin https://github.com/desktop-app/tg_owt.git \
|
|
&& git fetch --depth=1 origin "$tg_owt_origin" \
|
|
&& git reset --hard FETCH_HEAD \
|
|
&& git submodule update --init --recursive --depth=1 \
|
|
&& rm -rf .git \
|
|
&& cd .. \
|
|
&& mv tg_owt tg_owt-master \
|
|
&& zip tg_owt-master.zip -r tg_owt-master -x '*.git*' \
|
|
&& mv tg_owt-master.zip ..
|
|
|
|
cd ..; rm -rf tg_owt
|