Compare commits
539 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ede4c0f781 | ||
|
|
75337ad1c2 | ||
|
|
e05b2f3b38 | ||
|
|
0f15adb208 | ||
|
|
a7e552ccab | ||
|
|
797433ebe9 | ||
|
|
633532b88d | ||
|
|
a0dcade9d8 | ||
|
|
2a0babe5ab | ||
|
|
dd92f7fb9d | ||
|
|
7ad08b3ef8 | ||
|
|
73917e8a4b | ||
|
|
dc7aef3f86 | ||
|
|
d89597bf64 | ||
|
|
c2b2d0a92a | ||
|
|
b341dddbb9 | ||
|
|
999e4264c5 | ||
|
|
aee11469c4 | ||
|
|
651cfe5b7e | ||
|
|
a34b2a5472 | ||
|
|
5e7e7eaa83 | ||
|
|
a8f05a01ed | ||
|
|
fedd21b0a6 | ||
|
|
7ff7473db6 | ||
|
|
d89aab08bf | ||
|
|
b2fb5424ed | ||
|
|
e7e34d50ba | ||
|
|
19320cc5d8 | ||
|
|
107a87c7ce | ||
|
|
2cb1d2c0bc | ||
|
|
48ab88a9ca | ||
|
|
33b7ac209e | ||
|
|
4a0ffdc9f5 | ||
|
|
1ec2c16d27 | ||
|
|
4b03fd0f23 | ||
|
|
9f117cd680 | ||
|
|
f6d29991d6 | ||
|
|
1a0d430291 | ||
|
|
e3b9927faa | ||
|
|
d199e16a6e | ||
|
|
01c2be3f01 | ||
|
|
6db537d1ec | ||
|
|
e708b2d39c | ||
|
|
ebd9587821 | ||
|
|
9e5117d336 | ||
|
|
1c2ea8d84a | ||
|
|
235484b719 | ||
|
|
b9ea5718a2 | ||
|
|
db0c57a186 | ||
|
|
0fa458737a | ||
|
|
caaeff32c5 | ||
|
|
c4c234f0d3 | ||
|
|
894e7c5828 | ||
|
|
afcebb136c | ||
|
|
8592326a3c | ||
|
|
0b308aebb2 | ||
|
|
f7ec60b958 | ||
|
|
7b4bc64191 | ||
|
|
5c91506723 | ||
|
|
e5ee665fa4 | ||
|
|
60a95df652 | ||
|
|
28eb2f1a91 | ||
|
|
168711b352 | ||
|
|
7bf557971e | ||
|
|
40330afbd3 | ||
|
|
0f0ade54a7 | ||
|
|
899de8a359 | ||
|
|
fa32151391 | ||
|
|
9706b84409 | ||
|
|
77d1d9bd3a | ||
|
|
d218b76efe | ||
|
|
0dfb77435d | ||
|
|
69dc6c98ce | ||
|
|
3647241f71 | ||
|
|
287a35d208 | ||
|
|
0c3b289af9 | ||
|
|
5309af5d56 | ||
|
|
1d1fa5f98b | ||
|
|
92e398e0b7 | ||
|
|
47074b48d6 | ||
|
|
94bec3b574 | ||
|
|
234ff3ba37 | ||
|
|
d4c6475ae8 | ||
|
|
2ad20d6c4a | ||
|
|
bd0e4c0075 | ||
|
|
09bed4989b | ||
|
|
2eb64e051b | ||
|
|
03775e0cc5 | ||
|
|
fc4cdd4482 | ||
|
|
16232c0a4a | ||
|
|
3c0f80719e | ||
|
|
c153cdc70e | ||
|
|
07dfe88d62 | ||
|
|
453ce1bff9 | ||
|
|
5afcd47ab0 | ||
|
|
abc40f7e43 | ||
|
|
f2915064b5 | ||
|
|
8460a62588 | ||
|
|
27e80b8e42 | ||
|
|
133f64f370 | ||
|
|
feb1e9c4af | ||
|
|
6850cc5ab4 | ||
|
|
9360f1f970 | ||
|
|
57340f9514 | ||
|
|
4e63346877 | ||
|
|
f69d0823a9 | ||
|
|
02ae541246 | ||
|
|
8fda1169e5 | ||
|
|
53305f5f46 | ||
|
|
75fc88d679 | ||
|
|
8264968718 | ||
|
|
598cec8a9d | ||
|
|
f3e1aef264 | ||
|
|
fe4bb19358 | ||
|
|
07ba84c857 | ||
|
|
0f443da758 | ||
|
|
886ff7de50 | ||
|
|
5cb5e3cc22 | ||
|
|
82e150a27e | ||
|
|
c947586091 | ||
|
|
eb6afdf438 | ||
|
|
b634ebab78 | ||
|
|
e2fbcd4b0e | ||
|
|
f255573070 | ||
|
|
c65468f270 | ||
|
|
503814ad4e | ||
|
|
b9c64499bd | ||
|
|
3271cdf251 | ||
|
|
0eee937e6d | ||
|
|
30cd3cb681 | ||
|
|
d6a30c4853 | ||
|
|
551e1f787c | ||
|
|
cdf09e0519 | ||
|
|
4b489ee7d2 | ||
|
|
ca61b80fe5 | ||
|
|
aef37be3d0 | ||
|
|
96c86b3e49 | ||
|
|
38367dc1c7 | ||
|
|
7ef78ba6c9 | ||
|
|
433169626b | ||
|
|
5cd339332c | ||
|
|
d1b9785d31 | ||
|
|
a7c9a1ab34 | ||
|
|
9bc9547b1c | ||
|
|
5e3b094e86 | ||
|
|
8d66680a96 | ||
|
|
bdc43c0aea | ||
|
|
4cb6e4b787 | ||
|
|
596c4a06a3 | ||
|
|
4f7c728632 | ||
|
|
7d89952541 | ||
|
|
0309eb023e | ||
|
|
969b27cb75 | ||
|
|
ecb4d1d9ba | ||
|
|
68378cf8e5 | ||
|
|
4f02f722ae | ||
|
|
74cfaff100 | ||
|
|
92e2b91f81 | ||
|
|
395100584f | ||
|
|
49544111ab | ||
|
|
f3a00abe18 | ||
|
|
a511681113 | ||
|
|
aab4dbb7cf | ||
|
|
80fcffcc40 | ||
|
|
aa0a9b2db9 | ||
|
|
b7c95e9636 | ||
|
|
4414369fc8 | ||
|
|
15dc6064ef | ||
|
|
b9b609f445 | ||
|
|
be7cd51740 | ||
|
|
f13e28a9c5 | ||
|
|
fe025e3c44 | ||
|
|
dd7568ed3a | ||
|
|
b47e29b182 | ||
|
|
dee8b1fe6f | ||
|
|
3c040ab5f9 | ||
|
|
17ffebb684 | ||
|
|
8c824edaa5 | ||
|
|
ad52c0cb16 | ||
|
|
773755d70e | ||
|
|
1bd74fe478 | ||
|
|
4691cff3f6 | ||
|
|
c849d17667 | ||
|
|
96c910190b | ||
|
|
fd6751233e | ||
|
|
487e8a9009 | ||
|
|
3a536c6f75 | ||
|
|
154c0e6bb2 | ||
|
|
9be47f0870 | ||
|
|
431e3035af | ||
|
|
bf18907fe6 | ||
|
|
c7678f17ac | ||
|
|
0c695a6a9a | ||
|
|
efe12e0289 | ||
|
|
dad11a17dd | ||
|
|
dbf673f674 | ||
|
|
9308615361 | ||
|
|
c7433477bc | ||
|
|
8a1140c09f | ||
|
|
a2bf1544df | ||
|
|
f4a6be2ed9 | ||
|
|
6b24eb6d8e | ||
|
|
a55dbe212a | ||
|
|
55e44e3675 | ||
|
|
dc8aefd7ad | ||
|
|
33f56a791a | ||
|
|
f2e4a5a35a | ||
|
|
ebded1b421 | ||
|
|
53c15ed2ac | ||
|
|
3b2f6b893d | ||
|
|
5d0445dd25 | ||
|
|
12eda0bb26 | ||
|
|
96a3c704d2 | ||
|
|
a02642b917 | ||
|
|
80fe3d732a | ||
|
|
f55d3d1c6a | ||
|
|
deea69e119 | ||
|
|
6925bf6a8e | ||
|
|
a0110fed27 | ||
|
|
30a945a043 | ||
|
|
c062b4b3a1 | ||
|
|
06fb5540e1 | ||
|
|
0e9a7ffe46 | ||
|
|
2f48fe920e | ||
|
|
936d4004ff | ||
|
|
fd03217032 | ||
|
|
963722cce1 | ||
|
|
b890b9542c | ||
|
|
9b2d080e8e | ||
|
|
6eaeb306d6 | ||
|
|
213d7875ba | ||
|
|
7ff74b9e1e | ||
|
|
bd5f145a8c | ||
|
|
c534f3f22e | ||
|
|
22b37c4bf8 | ||
|
|
1e60eb1894 | ||
|
|
af93d7cc97 | ||
|
|
0e6e263a7b | ||
|
|
c0b106015c | ||
|
|
681a3e602b | ||
|
|
00f75ca5d6 | ||
|
|
c0f898b069 | ||
|
|
d0cb387c6e | ||
|
|
55eb381bd2 | ||
|
|
5565da5308 | ||
|
|
1ea6224e60 | ||
|
|
5c4b68d632 | ||
|
|
f4a3d87b5d | ||
|
|
f10ed4b9bc | ||
|
|
81327ede7b | ||
|
|
9a4b8cdd82 | ||
|
|
f882a0f407 | ||
|
|
e48fd5d079 | ||
|
|
63919422e0 | ||
|
|
d6e6c51639 | ||
|
|
95a24d6aa1 | ||
|
|
fa28b0b405 | ||
|
|
42fcf4ceb2 | ||
|
|
3743dd0161 | ||
|
|
dab859ea29 | ||
|
|
a92394a81f | ||
|
|
7a57174ab1 | ||
|
|
52bacb3cde | ||
|
|
8ad9770118 | ||
|
|
aef45b3a1d | ||
|
|
87af865604 | ||
|
|
4efeaacf5c | ||
|
|
e73928f6a3 | ||
|
|
589ddb7b22 | ||
|
|
6d73b11d54 | ||
|
|
81ff4d7497 | ||
|
|
e4ac810773 | ||
|
|
7e9302fce8 | ||
|
|
bd2fe2f68e | ||
|
|
e73c049899 | ||
|
|
dab3bce8ba | ||
|
|
eae6e4fc60 | ||
|
|
79a8fced80 | ||
|
|
3bd9ccd45d | ||
|
|
1bfa97d4fd | ||
|
|
3b4b5d3576 | ||
|
|
98cb1478c7 | ||
|
|
099326f211 | ||
|
|
8b4a95826c | ||
|
|
27a9b61f72 | ||
|
|
bad193ec29 | ||
|
|
60444b1fee | ||
|
|
65d96c0364 | ||
|
|
28f85eb710 | ||
|
|
63485dbf7f | ||
|
|
d58b9dc954 | ||
|
|
7b8b50ecd5 | ||
|
|
5cbfdad2e8 | ||
|
|
51addb7320 | ||
|
|
e652b4b65e | ||
|
|
510e1e9cdf | ||
|
|
057e8ce391 | ||
|
|
1d655fb5b5 | ||
|
|
5761e7559a | ||
|
|
c55dc00180 | ||
|
|
27dc91e51a | ||
|
|
6ef67caa73 | ||
|
|
b36fce31d5 | ||
|
|
aaafa8b3f6 | ||
|
|
b4950fe943 | ||
|
|
7ad6699bff | ||
|
|
05efc925f8 | ||
|
|
06c9cac2e4 | ||
|
|
4b33d7cb2f | ||
|
|
9c0bf32b84 | ||
|
|
2a504dd90d | ||
|
|
97881e7754 | ||
|
|
e42f08f08d | ||
|
|
42015d6a72 | ||
|
|
094010a91d | ||
|
|
f71a2149f3 | ||
|
|
1297860652 | ||
|
|
c528ea24ea | ||
|
|
fa8792927e | ||
|
|
aaae5b0553 | ||
|
|
eb82664452 | ||
|
|
36271d6b85 | ||
|
|
f839c7f2bb | ||
|
|
94dc595a81 | ||
|
|
2f4651fe6f | ||
|
|
97ae094c3c | ||
|
|
045689fab1 | ||
|
|
47d957f942 | ||
|
|
d0606a3798 | ||
|
|
bcddda3cd3 | ||
|
|
b5f50a4b9f | ||
|
|
9c77f26a8b | ||
|
|
d73d5724d8 | ||
|
|
9f21da8bde | ||
|
|
6b137b9778 | ||
|
|
c9e5eadb06 | ||
|
|
05bdef041b | ||
|
|
360a92c198 | ||
|
|
64f6b86739 | ||
|
|
dcc14a4726 | ||
|
|
2ca5f26546 | ||
|
|
24e0ea2a59 | ||
|
|
61ac7e6c1d | ||
|
|
49b28ac695 | ||
|
|
2163957299 | ||
|
|
2e1981c5a6 | ||
|
|
ab60628386 | ||
|
|
2ade6be146 | ||
|
|
721aac57a5 | ||
|
|
8618f6d7eb | ||
|
|
7543351bc9 | ||
|
|
0dfbd5fa6e | ||
|
|
9dfbc96274 | ||
|
|
ab58aa020e | ||
|
|
7f428f2eeb | ||
|
|
b4895ef730 | ||
|
|
9e05e44a14 | ||
|
|
3af3f85f82 | ||
|
|
e471d61d7a | ||
|
|
185523f66f | ||
|
|
66a83d3862 | ||
|
|
ad9d15dd21 | ||
|
|
f204b9fca0 | ||
|
|
a3e3bcd46d | ||
|
|
c693b03a64 | ||
|
|
31f15a2f09 | ||
|
|
45b5e1241c | ||
|
|
43d42b54f8 | ||
|
|
090277d7a1 | ||
|
|
766b393295 | ||
|
|
b2d647b579 | ||
|
|
1ed6844247 | ||
|
|
5276e5b4ae | ||
|
|
6587f89db1 | ||
|
|
fb262b265b | ||
|
|
95074ef304 | ||
|
|
4ac93806aa | ||
|
|
92b3149cdd | ||
|
|
98c87d4a16 | ||
|
|
9a93d5811a | ||
|
|
759e3270cc | ||
|
|
746b72166f | ||
|
|
0292df12ef | ||
|
|
1e86c07505 | ||
|
|
47b6956be9 | ||
|
|
df8708ef1e | ||
|
|
20c0be0df6 | ||
|
|
cefdc29a7f | ||
|
|
70e9b4a332 | ||
|
|
08939ac51d | ||
|
|
b5d9947408 | ||
|
|
78f0cf908e | ||
|
|
93ae5e71f7 | ||
|
|
b8b268c7cc | ||
|
|
c991bbc7e3 | ||
|
|
45bbe33929 | ||
|
|
5aaa72e8cd | ||
|
|
57345cec3b | ||
|
|
fba17a8c25 | ||
|
|
70147922ae | ||
|
|
44cc3c7809 | ||
|
|
c50a5db277 | ||
|
|
389ea2af83 | ||
|
|
4cf9bf18e9 | ||
|
|
7bc4b2c595 | ||
|
|
9075489c18 | ||
|
|
d361f5c6b0 | ||
|
|
1f95e00793 | ||
|
|
3d8899b9dc | ||
|
|
dba9aa30f7 | ||
|
|
3626943fc9 | ||
|
|
1f6a9ab556 | ||
|
|
f7085b40b1 | ||
|
|
7222bc63f7 | ||
|
|
3dacbc6bf6 | ||
|
|
9dfa29ff0f | ||
|
|
a1e67b6177 | ||
|
|
03a687c200 | ||
|
|
847c01d605 | ||
|
|
ea10cf5758 | ||
|
|
159beb138a | ||
|
|
36d6682122 | ||
|
|
25f6bea66e | ||
|
|
80461bd9fe | ||
|
|
6148edbc7d | ||
|
|
3fa529d858 | ||
|
|
9117b3cdfa | ||
|
|
d4fe5f7a83 | ||
|
|
fa6725c54a | ||
|
|
f9976005f7 | ||
|
|
c6e1b14429 | ||
|
|
30681e2e58 | ||
|
|
c15ba7d23a | ||
|
|
94d5d20281 | ||
|
|
b776308fd7 | ||
|
|
2d37920a4c | ||
|
|
ee05e0af06 | ||
|
|
2efd735243 | ||
|
|
adb0a9b6f0 | ||
|
|
c9e24c2283 | ||
|
|
041c922451 | ||
|
|
01c1096c62 | ||
|
|
2b11e45692 | ||
|
|
6163e922b3 | ||
|
|
1613495425 | ||
|
|
455c7280a4 | ||
|
|
746f8d835d | ||
|
|
d66e9a1b00 | ||
|
|
8cca75da5c | ||
|
|
8d0ff1b61d | ||
|
|
dd856b9e4a | ||
|
|
eb5ba12ba3 | ||
|
|
e2c5995a2e | ||
|
|
ef10bb2bd6 | ||
|
|
64aa5480ad | ||
|
|
816f422e21 | ||
|
|
6c0dccd9ff | ||
|
|
c2b505b78c | ||
|
|
d8fb5be9b5 | ||
|
|
51b259fdea | ||
|
|
d532b65d1c | ||
|
|
bef35b9bc3 | ||
|
|
ae261fcede | ||
|
|
c04cdff7f7 | ||
|
|
466aa5a14d | ||
|
|
4aac633413 | ||
|
|
ad328d35a2 | ||
|
|
c5140f34a7 | ||
|
|
419f6345b3 | ||
|
|
c2c53df886 | ||
|
|
b3f73bb6a9 | ||
|
|
eda5cd47ad | ||
|
|
0c906a5e6d | ||
|
|
352768053d | ||
|
|
79b1cec4f3 | ||
|
|
8d09190439 | ||
|
|
5cd0a3719e | ||
|
|
8b7cd4a0c7 | ||
|
|
937c2d3dce | ||
|
|
1fa5d273cc | ||
|
|
24fa3dbf8f | ||
|
|
c9b782fd63 | ||
|
|
e7cf560da0 | ||
|
|
86e07518ad | ||
|
|
8c71d03959 | ||
|
|
967e86f4ab | ||
|
|
730412fefe | ||
|
|
576883ddc8 | ||
|
|
992d636680 | ||
|
|
8cdd2f113f | ||
|
|
d5f935b73d | ||
|
|
84f561b251 | ||
|
|
21ac2b8f3a | ||
|
|
1790828b01 | ||
|
|
792b9090a7 | ||
|
|
8c21fad642 | ||
|
|
5136cc3c9c | ||
|
|
b78b27f517 | ||
|
|
85760ea92c | ||
|
|
c2212c719e | ||
|
|
fc8a0d0efd | ||
|
|
c052c37621 | ||
|
|
21f7cec781 | ||
|
|
64af456d29 | ||
|
|
7751c4ac1f | ||
|
|
ececdcb9c0 | ||
|
|
cb8f49aea0 | ||
|
|
e3ef7d6631 | ||
|
|
21aa1f49d7 | ||
|
|
51e80170e2 | ||
|
|
b2526ab7f6 | ||
|
|
e220447bdd | ||
|
|
ead695b101 | ||
|
|
4ea72f8f89 | ||
|
|
4ef550da9b | ||
|
|
1e660fc2a2 | ||
|
|
6adf791b3b | ||
|
|
d2a41a42e0 | ||
|
|
315549b5f8 | ||
|
|
fd4a543bab | ||
|
|
d525e56053 | ||
|
|
dab5d1f994 | ||
|
|
de3b52425c | ||
|
|
844fd58a97 | ||
|
|
de2bad51d3 | ||
|
|
1424ea3540 | ||
|
|
a8efd0ef3d | ||
|
|
1204e282d3 | ||
|
|
6588242793 | ||
|
|
b1ba9a42c6 | ||
|
|
ab0d2bf9c6 | ||
|
|
80028e41f3 | ||
|
|
2c581adc55 | ||
|
|
f0e8c1e325 | ||
|
|
a2db9de4d7 | ||
|
|
a228c62286 | ||
|
|
37d940eca6 | ||
|
|
f7c24c54a1 | ||
|
|
19ce1edc16 |
14
.github/workflows/linux.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: scl enable llvm-toolset-7.0 -- scl enable devtoolset-9 -- bash --noprofile --norc -eo pipefail {0}
|
||||
shell: scl enable llvm-toolset-7.0 -- scl enable devtoolset-10 -- bash --noprofile --norc -eo pipefail {0}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -88,9 +88,6 @@ jobs:
|
||||
DEFINE=""
|
||||
if [ -n "${{ matrix.defines }}" ]; then
|
||||
DEFINE="-D ${{ matrix.defines }}=ON"
|
||||
if [ "${{ matrix.defines }}" == "DESKTOP_APP_DISABLE_DBUS_INTEGRATION" ]; then
|
||||
DEFINE="$DEFINE -D DESKTOP_APP_DISABLE_WEBKITGTK=ON"
|
||||
fi
|
||||
echo Define from matrix: $DEFINE
|
||||
echo "ARTIFACT_NAME=Telegram_${{ matrix.defines }}" >> $GITHUB_ENV
|
||||
else
|
||||
@@ -106,12 +103,11 @@ jobs:
|
||||
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
|
||||
$DEFINE
|
||||
|
||||
cd ../out/Debug
|
||||
make -j$(nproc)
|
||||
cmake --build ../out --config Debug --parallel
|
||||
|
||||
- name: Check.
|
||||
run: |
|
||||
filePath="$REPO_NAME/out/Debug/bin/Telegram"
|
||||
filePath="$REPO_NAME/out/Debug/Telegram"
|
||||
if test -f "$filePath"; then
|
||||
echo "Build successfully done! :)"
|
||||
|
||||
@@ -125,7 +121,7 @@ jobs:
|
||||
- name: Move artifact.
|
||||
if: env.UPLOAD_ARTIFACT == 'true'
|
||||
run: |
|
||||
cd $REPO_NAME/out/Debug/bin
|
||||
cd $REPO_NAME/out/Debug
|
||||
mkdir artifact
|
||||
mv Telegram artifact/
|
||||
- uses: actions/upload-artifact@master
|
||||
@@ -133,4 +129,4 @@ jobs:
|
||||
name: Upload artifact.
|
||||
with:
|
||||
name: ${{ env.ARTIFACT_NAME }}
|
||||
path: ${{ env.REPO_NAME }}/out/Debug/bin/artifact/
|
||||
path: ${{ env.REPO_NAME }}/out/Debug/artifact/
|
||||
|
||||
14
.github/workflows/lock.yml
vendored
@@ -8,16 +8,8 @@ jobs:
|
||||
lock:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/lock-threads@v2
|
||||
- uses: dessant/lock-threads@v3
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
issue-lock-inactive-days: 45
|
||||
pr-lock-inactive-days: 45
|
||||
issue-lock-comment: >
|
||||
This issue has been automatically locked since there
|
||||
has not been any recent activity after it was closed.
|
||||
Please open a new issue for related bugs.
|
||||
pr-lock-comment: >
|
||||
This pull request has been automatically locked since there
|
||||
has not been any recent activity after it was closed.
|
||||
Please open a new issue for related bugs.
|
||||
issue-inactive-days: 45
|
||||
pr-inactive-days: 45
|
||||
|
||||
2
.github/workflows/mac.yml
vendored
@@ -13,6 +13,7 @@ on:
|
||||
- '!.github/workflows/mac.yml'
|
||||
- 'lib/xdg/**'
|
||||
- 'snap/**'
|
||||
- 'Telegram/build/docker/**'
|
||||
- 'Telegram/Resources/uwp/**'
|
||||
- 'Telegram/Resources/winrc/**'
|
||||
- 'Telegram/SourceFiles/platform/win/**'
|
||||
@@ -30,6 +31,7 @@ on:
|
||||
- '!.github/workflows/mac.yml'
|
||||
- 'lib/xdg/**'
|
||||
- 'snap/**'
|
||||
- 'Telegram/build/docker/**'
|
||||
- 'Telegram/Resources/uwp/**'
|
||||
- 'Telegram/Resources/winrc/**'
|
||||
- 'Telegram/SourceFiles/platform/win/**'
|
||||
|
||||
9
.github/workflows/no-response.yml
vendored
@@ -15,14 +15,5 @@ jobs:
|
||||
- uses: lee-dohm/no-response@v0.5.0
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
# Number of days of inactivity before an Issue is closed for lack of response
|
||||
daysUntilClose: 30
|
||||
# Label requiring a response
|
||||
responseRequiredLabel: waiting for answer
|
||||
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
|
||||
closeComment: >
|
||||
This issue has been automatically closed because there has been no response
|
||||
to our request for more information from the original author. With only the
|
||||
information that is currently in the issue, we don't have enough information
|
||||
to take action. Please reach out if you have or find the answers we need so
|
||||
that we can investigate further.
|
||||
|
||||
6
.github/workflows/win.yml
vendored
@@ -185,7 +185,7 @@ jobs:
|
||||
- name: MozJPEG.
|
||||
shell: cmd
|
||||
run: |
|
||||
git clone -b v4.0.1-rc2 %GIT%/mozilla/mozjpeg.git
|
||||
git clone -b v4.0.3 %GIT%/mozilla/mozjpeg.git
|
||||
cd mozjpeg
|
||||
cmake . ^
|
||||
-G "Visual Studio 16 2019" ^
|
||||
@@ -236,10 +236,10 @@ jobs:
|
||||
|
||||
git clone https://chromium.googlesource.com/breakpad/breakpad
|
||||
cd breakpad
|
||||
git checkout bc8fb886
|
||||
git checkout dfcb7b6799
|
||||
git apply ../patches/breakpad.diff
|
||||
cd src
|
||||
git clone %GIT%/google/googletest testing
|
||||
git clone -b release-1.11.0 %GIT%/google/googletest testing
|
||||
cd client\windows
|
||||
call gyp --no-circular-check breakpad_client.gyp --format=ninja
|
||||
cd ..\..
|
||||
|
||||
6
.gitmodules
vendored
@@ -94,3 +94,9 @@
|
||||
[submodule "Telegram/ThirdParty/jemalloc"]
|
||||
path = Telegram/ThirdParty/jemalloc
|
||||
url = https://github.com/jemalloc/jemalloc
|
||||
[submodule "Telegram/ThirdParty/kwayland"]
|
||||
path = Telegram/ThirdParty/kwayland
|
||||
url = https://github.com/KDE/kwayland.git
|
||||
[submodule "Telegram/ThirdParty/dispatch"]
|
||||
path = Telegram/ThirdParty/dispatch
|
||||
url = https://github.com/apple/swift-corelibs-libdispatch
|
||||
|
||||
@@ -39,6 +39,7 @@ include(cmake/init_target.cmake)
|
||||
include(cmake/generate_target.cmake)
|
||||
include(cmake/nuget.cmake)
|
||||
include(cmake/validate_d3d_compiler.cmake)
|
||||
include(cmake/target_prepare_qrc.cmake)
|
||||
|
||||
include(cmake/options.cmake)
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ Version **1.8.15** was the last that supports older systems
|
||||
|
||||
## Third-party
|
||||
|
||||
* Qt 5.15.2, 5.6.2 and 5.3.2 slightly patched ([LGPL](http://doc.qt.io/qt-5/lgpl.html))
|
||||
* Qt 6 ([LGPL](http://doc.qt.io/qt-6/lgpl.html)) and Qt 5.15.2 ([LGPL](http://doc.qt.io/qt-5/lgpl.html)) slightly patched
|
||||
* OpenSSL 1.1.1 and 1.0.1 ([OpenSSL License](https://www.openssl.org/source/license.html))
|
||||
* WebRTC ([New BSD License](https://github.com/desktop-app/tg_owt/blob/master/LICENSE))
|
||||
* zlib 1.2.11 ([zlib License](http://www.zlib.net/zlib_license.html))
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
add_executable(Telegram WIN32 MACOSX_BUNDLE)
|
||||
init_target(Telegram)
|
||||
init_non_host_target(Telegram)
|
||||
|
||||
add_subdirectory(lib_rpl)
|
||||
add_subdirectory(lib_crl)
|
||||
@@ -42,12 +42,16 @@ include(cmake/generate_appdata_changelog.cmake)
|
||||
|
||||
if (WIN32)
|
||||
include(cmake/generate_midl.cmake)
|
||||
generate_midl(Telegram ${src_loc}/platform/win/windows_quiethours.idl)
|
||||
generate_midl(Telegram ${src_loc}
|
||||
platform/win/windows_quiethours.idl
|
||||
platform/win/windows_toastactivator.idl
|
||||
)
|
||||
|
||||
nuget_add_winrt(Telegram)
|
||||
endif()
|
||||
|
||||
set_target_properties(Telegram PROPERTIES AUTOMOC ON AUTORCC ON)
|
||||
set_target_properties(Telegram PROPERTIES AUTOMOC ON)
|
||||
target_prepare_qrc(Telegram)
|
||||
|
||||
target_link_libraries(Telegram
|
||||
PRIVATE
|
||||
@@ -108,9 +112,13 @@ PRIVATE
|
||||
api/api_chat_filters.h
|
||||
api/api_chat_invite.cpp
|
||||
api/api_chat_invite.h
|
||||
api/api_chat_participants.cpp
|
||||
api/api_chat_participants.h
|
||||
api/api_cloud_password.cpp
|
||||
api/api_cloud_password.h
|
||||
api/api_common.h
|
||||
api/api_confirm_phone.cpp
|
||||
api/api_confirm_phone.h
|
||||
api/api_editing.cpp
|
||||
api/api_editing.h
|
||||
api/api_global_privacy.cpp
|
||||
@@ -121,6 +129,10 @@ PRIVATE
|
||||
api/api_invite_links.h
|
||||
api/api_media.cpp
|
||||
api/api_media.h
|
||||
api/api_peer_photo.cpp
|
||||
api/api_peer_photo.h
|
||||
api/api_polls.cpp
|
||||
api/api_polls.h
|
||||
api/api_self_destruct.cpp
|
||||
api/api_self_destruct.h
|
||||
api/api_send_progress.cpp
|
||||
@@ -139,6 +151,8 @@ PRIVATE
|
||||
api/api_updates.h
|
||||
api/api_user_privacy.cpp
|
||||
api/api_user_privacy.h
|
||||
api/api_views.cpp
|
||||
api/api_views.h
|
||||
api/api_who_read.cpp
|
||||
api/api_who_read.h
|
||||
boxes/filters/edit_filter_box.cpp
|
||||
@@ -155,20 +169,29 @@ PRIVATE
|
||||
boxes/peers/edit_participant_box.h
|
||||
boxes/peers/edit_participants_box.cpp
|
||||
boxes/peers/edit_participants_box.h
|
||||
boxes/peers/edit_peer_common.h
|
||||
boxes/peers/edit_peer_info_box.cpp
|
||||
boxes/peers/edit_peer_info_box.h
|
||||
boxes/peers/edit_peer_invite_link.cpp
|
||||
boxes/peers/edit_peer_invite_link.h
|
||||
boxes/peers/edit_peer_invite_links.cpp
|
||||
boxes/peers/edit_peer_invite_links.h
|
||||
boxes/peers/edit_peer_type_box.cpp
|
||||
boxes/peers/edit_peer_type_box.h
|
||||
boxes/peers/edit_peer_history_visibility_box.cpp
|
||||
boxes/peers/edit_peer_history_visibility_box.h
|
||||
boxes/peers/edit_peer_permissions_box.cpp
|
||||
boxes/peers/edit_peer_permissions_box.h
|
||||
boxes/peers/edit_peer_requests_box.cpp
|
||||
boxes/peers/edit_peer_requests_box.h
|
||||
boxes/peers/edit_peer_type_box.cpp
|
||||
boxes/peers/edit_peer_type_box.h
|
||||
boxes/peers/peer_short_info_box.cpp
|
||||
boxes/peers/peer_short_info_box.h
|
||||
boxes/peers/prepare_short_info_box.cpp
|
||||
boxes/peers/prepare_short_info_box.h
|
||||
boxes/about_box.cpp
|
||||
boxes/about_box.h
|
||||
boxes/about_sponsored_box.cpp
|
||||
boxes/about_sponsored_box.h
|
||||
boxes/abstract_box.cpp
|
||||
boxes/abstract_box.h
|
||||
boxes/add_contact_box.cpp
|
||||
@@ -183,14 +206,12 @@ PRIVATE
|
||||
boxes/background_preview_box.h
|
||||
boxes/change_phone_box.cpp
|
||||
boxes/change_phone_box.h
|
||||
boxes/confirm_box.cpp
|
||||
boxes/confirm_box.h
|
||||
boxes/confirm_phone_box.cpp
|
||||
boxes/confirm_phone_box.h
|
||||
boxes/connection_box.cpp
|
||||
boxes/connection_box.h
|
||||
boxes/create_poll_box.cpp
|
||||
boxes/create_poll_box.h
|
||||
boxes/delete_messages_box.cpp
|
||||
boxes/delete_messages_box.h
|
||||
boxes/dictionaries_manager.cpp
|
||||
boxes/dictionaries_manager.h
|
||||
boxes/download_path_box.cpp
|
||||
@@ -205,6 +226,8 @@ PRIVATE
|
||||
boxes/language_box.h
|
||||
boxes/local_storage_box.cpp
|
||||
boxes/local_storage_box.h
|
||||
boxes/max_invite_box.cpp
|
||||
boxes/max_invite_box.h
|
||||
boxes/mute_settings_box.cpp
|
||||
boxes/mute_settings_box.h
|
||||
boxes/peer_list_box.cpp
|
||||
@@ -215,8 +238,10 @@ PRIVATE
|
||||
boxes/peer_lists_box.h
|
||||
boxes/passcode_box.cpp
|
||||
boxes/passcode_box.h
|
||||
boxes/rate_call_box.cpp
|
||||
boxes/rate_call_box.h
|
||||
boxes/phone_banned_box.cpp
|
||||
boxes/phone_banned_box.h
|
||||
boxes/pin_messages_box.cpp
|
||||
boxes/pin_messages_box.h
|
||||
boxes/self_destruction_box.cpp
|
||||
boxes/self_destruction_box.h
|
||||
boxes/send_files_box.cpp
|
||||
@@ -235,6 +260,8 @@ PRIVATE
|
||||
boxes/username_box.h
|
||||
calls/group/calls_choose_join_as.cpp
|
||||
calls/group/calls_choose_join_as.h
|
||||
calls/group/calls_cover_item.cpp
|
||||
calls/group/calls_cover_item.h
|
||||
calls/group/calls_group_call.cpp
|
||||
calls/group/calls_group_call.h
|
||||
calls/group/calls_group_common.cpp
|
||||
@@ -375,6 +402,8 @@ PRIVATE
|
||||
data/data_chat.h
|
||||
data/data_chat_filters.cpp
|
||||
data/data_chat_filters.h
|
||||
data/data_chat_participant_status.cpp
|
||||
data/data_chat_participant_status.h
|
||||
data/data_changes.cpp
|
||||
data/data_changes.h
|
||||
data/data_channel.cpp
|
||||
@@ -400,6 +429,7 @@ PRIVATE
|
||||
data/data_file_origin.cpp
|
||||
data/data_file_origin.h
|
||||
data/data_flags.h
|
||||
data/data_game.cpp
|
||||
data/data_game.h
|
||||
data/data_group_call.cpp
|
||||
data/data_group_call.h
|
||||
@@ -415,6 +445,7 @@ PRIVATE
|
||||
data/data_media_types.h
|
||||
data/data_messages.cpp
|
||||
data/data_messages.h
|
||||
data/data_msg_id.h
|
||||
data/data_notify_settings.cpp
|
||||
data/data_notify_settings.h
|
||||
data/data_peer.cpp
|
||||
@@ -447,6 +478,8 @@ PRIVATE
|
||||
data/data_shared_media.h
|
||||
data/data_sparse_ids.cpp
|
||||
data/data_sparse_ids.h
|
||||
data/data_sponsored_messages.cpp
|
||||
data/data_sponsored_messages.h
|
||||
data/data_streaming.cpp
|
||||
data/data_streaming.h
|
||||
data/data_types.cpp
|
||||
@@ -467,8 +500,6 @@ PRIVATE
|
||||
dialogs/dialogs_inner_widget.h
|
||||
dialogs/dialogs_key.cpp
|
||||
dialogs/dialogs_key.h
|
||||
dialogs/dialogs_layout.cpp
|
||||
dialogs/dialogs_layout.h
|
||||
dialogs/dialogs_list.cpp
|
||||
dialogs/dialogs_list.h
|
||||
dialogs/dialogs_main_list.cpp
|
||||
@@ -481,6 +512,10 @@ PRIVATE
|
||||
dialogs/dialogs_search_from_controllers.h
|
||||
dialogs/dialogs_widget.cpp
|
||||
dialogs/dialogs_widget.h
|
||||
dialogs/ui/dialogs_layout.cpp
|
||||
dialogs/ui/dialogs_layout.h
|
||||
dialogs/ui/dialogs_message_view.cpp
|
||||
dialogs/ui/dialogs_message_view.h
|
||||
editor/color_picker.cpp
|
||||
editor/color_picker.h
|
||||
editor/controllers/controllers.h
|
||||
@@ -596,8 +631,8 @@ PRIVATE
|
||||
history/view/history_view_emoji_interactions.h
|
||||
history/view/history_view_empty_list_bubble.cpp
|
||||
history/view/history_view_empty_list_bubble.h
|
||||
history/view/history_view_group_call_tracker.cpp
|
||||
history/view/history_view_group_call_tracker.h
|
||||
history/view/history_view_group_call_bar.cpp
|
||||
history/view/history_view_group_call_bar.h
|
||||
history/view/history_view_list_widget.cpp
|
||||
history/view/history_view_list_widget.h
|
||||
history/view/history_view_message.cpp
|
||||
@@ -611,6 +646,8 @@ PRIVATE
|
||||
history/view/history_view_pinned_tracker.h
|
||||
history/view/history_view_replies_section.cpp
|
||||
history/view/history_view_replies_section.h
|
||||
history/view/history_view_requests_bar.cpp
|
||||
history/view/history_view_requests_bar.h
|
||||
history/view/history_view_schedule_box.cpp
|
||||
history/view/history_view_schedule_box.h
|
||||
history/view/history_view_scheduled_section.cpp
|
||||
@@ -621,6 +658,8 @@ PRIVATE
|
||||
history/view/history_view_service_message.h
|
||||
history/view/history_view_top_bar_widget.cpp
|
||||
history/view/history_view_top_bar_widget.h
|
||||
history/view/history_view_view_button.cpp
|
||||
history/view/history_view_view_button.h
|
||||
history/view/history_view_webpage_preview.cpp
|
||||
history/view/history_view_webpage_preview.h
|
||||
history/history.cpp
|
||||
@@ -631,6 +670,10 @@ PRIVATE
|
||||
history/history_item.h
|
||||
history/history_item_components.cpp
|
||||
history/history_item_components.h
|
||||
history/history_item_edition.cpp
|
||||
history/history_item_edition.h
|
||||
history/history_item_reply_markup.cpp
|
||||
history/history_item_reply_markup.h
|
||||
history/history_item_text.cpp
|
||||
history/history_item_text.h
|
||||
history/history_inner_widget.cpp
|
||||
@@ -746,6 +789,8 @@ PRIVATE
|
||||
main/main_session.h
|
||||
main/main_session_settings.cpp
|
||||
main/main_session_settings.h
|
||||
main/session/send_as_peers.cpp
|
||||
main/session/send_as_peers.h
|
||||
media/system_media_controls_manager.h
|
||||
media/system_media_controls_manager.cpp
|
||||
media/audio/media_audio.cpp
|
||||
@@ -943,6 +988,10 @@ PRIVATE
|
||||
platform/win/windows_dlls.h
|
||||
platform/win/windows_event_filter.cpp
|
||||
platform/win/windows_event_filter.h
|
||||
platform/win/windows_autostart_task.cpp
|
||||
platform/win/windows_autostart_task.h
|
||||
platform/win/windows_toast_activator.cpp
|
||||
platform/win/windows_toast_activator.h
|
||||
platform/platform_audio.h
|
||||
platform/platform_file_utilities.h
|
||||
platform/platform_launcher.h
|
||||
@@ -1040,6 +1089,10 @@ PRIVATE
|
||||
ui/chat/attach/attach_item_single_file_preview.h
|
||||
ui/chat/attach/attach_item_single_media_preview.cpp
|
||||
ui/chat/attach/attach_item_single_media_preview.h
|
||||
ui/chat/choose_send_as.cpp
|
||||
ui/chat/choose_send_as.h
|
||||
ui/chat/choose_theme_controller.cpp
|
||||
ui/chat/choose_theme_controller.h
|
||||
ui/effects/fireworks_animation.cpp
|
||||
ui/effects/fireworks_animation.h
|
||||
ui/effects/round_checkbox.cpp
|
||||
@@ -1052,10 +1105,6 @@ PRIVATE
|
||||
ui/image/image_location.h
|
||||
ui/image/image_location_factory.cpp
|
||||
ui/image/image_location_factory.h
|
||||
ui/widgets/continuous_sliders.cpp
|
||||
ui/widgets/continuous_sliders.h
|
||||
ui/widgets/discrete_sliders.cpp
|
||||
ui/widgets/discrete_sliders.h
|
||||
ui/widgets/level_meter.cpp
|
||||
ui/widgets/level_meter.h
|
||||
ui/widgets/multi_select.cpp
|
||||
@@ -1153,6 +1202,13 @@ PRIVATE
|
||||
stdafx.h
|
||||
)
|
||||
|
||||
if (NOT build_winstore)
|
||||
remove_target_sources(Telegram ${src_loc}
|
||||
platform/win/windows_start_task.cpp
|
||||
platform/win/windows_start_task.h
|
||||
)
|
||||
endif()
|
||||
|
||||
if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
||||
remove_target_sources(Telegram ${src_loc}
|
||||
platform/linux/linux_xdp_file_dialog.cpp
|
||||
@@ -1221,8 +1277,7 @@ elseif (APPLE)
|
||||
endif()
|
||||
|
||||
set(icons_path ${CMAKE_CURRENT_SOURCE_DIR}/Telegram/Images.xcassets)
|
||||
set_target_properties(Telegram PROPERTIES RESOURCE ${icons_path})
|
||||
target_sources(Telegram PRIVATE ${icons_path})
|
||||
target_add_resource(Telegram ${icons_path})
|
||||
|
||||
set(lang_packs
|
||||
en
|
||||
@@ -1243,6 +1298,11 @@ elseif (APPLE)
|
||||
source_group(TREE ${res_loc} PREFIX Resources FILES ${strings_path})
|
||||
endforeach()
|
||||
|
||||
add_custom_command(TARGET Telegram
|
||||
PRE_LINK
|
||||
COMMAND mkdir -p $<TARGET_FILE_DIR:Telegram>/../Resources
|
||||
COMMAND cp ${CMAKE_BINARY_DIR}/lib_ui.rcc $<TARGET_FILE_DIR:Telegram>/../Resources
|
||||
)
|
||||
if (NOT build_macstore)
|
||||
add_custom_command(TARGET Telegram
|
||||
PRE_LINK
|
||||
@@ -1250,10 +1310,15 @@ elseif (APPLE)
|
||||
COMMAND cp $<TARGET_FILE:Updater> $<TARGET_FILE_DIR:Telegram>/../Frameworks/
|
||||
)
|
||||
if (NOT DESKTOP_APP_DISABLE_CRASH_REPORTS)
|
||||
if (DESKTOP_APP_MAC_ARCH STREQUAL "x86_64" OR DESKTOP_APP_MAC_ARCH STREQUAL "arm64")
|
||||
set(crashpad_dir_part ".${DESKTOP_APP_MAC_ARCH}")
|
||||
else()
|
||||
set(crashpad_dir_part "")
|
||||
endif()
|
||||
add_custom_command(TARGET Telegram
|
||||
PRE_LINK
|
||||
COMMAND mkdir -p $<TARGET_FILE_DIR:Telegram>/../Helpers
|
||||
COMMAND cp ${libs_loc}/crashpad/out/$<IF:$<CONFIG:Debug>,Debug,Release>/crashpad_handler $<TARGET_FILE_DIR:Telegram>/../Helpers/
|
||||
COMMAND cp ${libs_loc}/crashpad/out/$<IF:$<CONFIG:Debug>,Debug,Release>${crashpad_dir_part}/crashpad_handler $<TARGET_FILE_DIR:Telegram>/../Helpers/
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
@@ -1297,6 +1362,8 @@ if (build_macstore)
|
||||
COMMAND rm -rf $<TARGET_FILE_DIR:Telegram>/../Frameworks
|
||||
COMMAND mkdir -p $<TARGET_FILE_DIR:Telegram>/../Frameworks
|
||||
COMMAND cp -a ${libs_loc}/breakpad/src/client/mac/build/Release/Breakpad.framework $<TARGET_FILE_DIR:Telegram>/../Frameworks/Breakpad.framework
|
||||
COMMAND rm -rf $<TARGET_FILE_DIR:Telegram>/../Frameworks/Breakpad.framework/Resources/crash_report_sender.app
|
||||
COMMAND rm -rf $<TARGET_FILE_DIR:Telegram>/../Frameworks/Breakpad.framework/Resources/Inspector
|
||||
)
|
||||
else()
|
||||
set(bundle_identifier "com.tdesktop.Telegram$<$<CONFIG:Debug>:Debug>")
|
||||
@@ -1316,7 +1383,6 @@ set_target_properties(Telegram PROPERTIES
|
||||
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER ${bundle_identifier}
|
||||
XCODE_ATTRIBUTE_CURRENT_PROJECT_VERSION ${desktop_app_version_string}
|
||||
XCODE_ATTRIBUTE_PRODUCT_NAME ${output_name}
|
||||
XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT $<$<NOT:$<CONFIG:Debug>>:dwarf-with-dsym>
|
||||
XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME AppIcon
|
||||
XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME YES
|
||||
XCODE_ATTRIBUTE_COMBINE_HIDPI_IMAGES YES
|
||||
@@ -1341,12 +1407,13 @@ PRIVATE
|
||||
G_LOG_DOMAIN="Telegram"
|
||||
)
|
||||
|
||||
if (APPLE OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL "" OR NOT "${output_name}" STREQUAL "Telegram")
|
||||
if (APPLE
|
||||
OR "${CMAKE_GENERATOR}" STREQUAL "Ninja Multi-Config"
|
||||
OR NOT CMAKE_EXECUTABLE_SUFFIX STREQUAL ""
|
||||
OR NOT "${output_name}" STREQUAL "Telegram")
|
||||
set(output_folder ${CMAKE_BINARY_DIR})
|
||||
elseif (DESKTOP_APP_SPECIAL_TARGET STREQUAL "")
|
||||
set(output_folder ${CMAKE_BINARY_DIR}/bin)
|
||||
else()
|
||||
set(output_folder ${CMAKE_BINARY_DIR}/$<IF:$<CONFIG:Debug>,Debug,Release>)
|
||||
set(output_folder ${CMAKE_BINARY_DIR}/bin)
|
||||
endif()
|
||||
|
||||
set_target_properties(Telegram PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
|
||||
@@ -1368,18 +1435,20 @@ if (WIN32)
|
||||
/DELAYLOAD:gdiplus.dll
|
||||
/DELAYLOAD:version.dll
|
||||
/DELAYLOAD:dwmapi.dll
|
||||
/DELAYLOAD:uxtheme.dll
|
||||
/DELAYLOAD:crypt32.dll
|
||||
/DELAYLOAD:bcrypt.dll
|
||||
/DELAYLOAD:imm32.dll
|
||||
/DELAYLOAD:netapi32.dll
|
||||
/DELAYLOAD:userenv.dll
|
||||
/DELAYLOAD:wtsapi32.dll
|
||||
/DELAYLOAD:propsys.dll
|
||||
)
|
||||
endif()
|
||||
|
||||
if ((NOT DESKTOP_APP_DISABLE_AUTOUPDATE OR APPLE) AND NOT build_macstore AND NOT build_winstore)
|
||||
add_executable(Updater WIN32)
|
||||
init_target(Updater)
|
||||
init_non_host_target(Updater)
|
||||
|
||||
add_dependencies(Telegram Updater)
|
||||
|
||||
@@ -1391,7 +1460,9 @@ if ((NOT DESKTOP_APP_DISABLE_AUTOUPDATE OR APPLE) AND NOT build_macstore AND NOT
|
||||
_other/updater.h
|
||||
)
|
||||
|
||||
set_target_properties(Updater PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
|
||||
set_target_properties(Updater PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY ${output_folder}
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
get_filename_component(lib_base_loc lib_base REALPATH)
|
||||
@@ -1437,12 +1508,26 @@ if ((NOT DESKTOP_APP_DISABLE_AUTOUPDATE OR APPLE) AND NOT build_macstore AND NOT
|
||||
|
||||
set_target_properties(Packer PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
|
||||
endif()
|
||||
elseif (build_winstore)
|
||||
add_executable(StartupTask WIN32)
|
||||
init_non_host_target(StartupTask)
|
||||
|
||||
add_dependencies(Telegram StartupTask)
|
||||
|
||||
nice_target_sources(StartupTask ${src_loc}
|
||||
PRIVATE
|
||||
_other/startup_task_win.cpp
|
||||
)
|
||||
|
||||
set_target_properties(StartupTask PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY ${output_folder}
|
||||
)
|
||||
endif()
|
||||
|
||||
if (LINUX AND DESKTOP_APP_USE_PACKAGED)
|
||||
include(GNUInstallDirs)
|
||||
configure_file("../lib/xdg/telegramdesktop.appdata.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.appdata.xml" @ONLY)
|
||||
generate_appdata_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.appdata.xml")
|
||||
configure_file("../lib/xdg/telegramdesktop.metainfo.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.metainfo.xml" @ONLY)
|
||||
generate_appdata_changelog(Telegram "${CMAKE_SOURCE_DIR}/changelog.txt" "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.metainfo.xml")
|
||||
install(TARGETS Telegram RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" BUNDLE DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
install(FILES "Resources/art/icon16.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/16x16/apps" RENAME "telegram.png")
|
||||
install(FILES "Resources/art/icon32.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/32x32/apps" RENAME "telegram.png")
|
||||
@@ -1452,5 +1537,5 @@ if (LINUX AND DESKTOP_APP_USE_PACKAGED)
|
||||
install(FILES "Resources/art/icon256.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps" RENAME "telegram.png")
|
||||
install(FILES "Resources/art/icon512.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps" RENAME "telegram.png")
|
||||
install(FILES "../lib/xdg/telegramdesktop.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications" RENAME "${TDESKTOP_LAUNCHER_BASENAME}.desktop")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" RENAME "${TDESKTOP_LAUNCHER_BASENAME}.appdata.xml")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/telegramdesktop.metainfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" RENAME "${TDESKTOP_LAUNCHER_BASENAME}.metainfo.xml")
|
||||
endif()
|
||||
|
||||
BIN
Telegram/Resources/icons/calendar_down.png
Normal file
|
After Width: | Height: | Size: 188 B |
BIN
Telegram/Resources/icons/calendar_down@2x.png
Normal file
|
After Width: | Height: | Size: 291 B |
BIN
Telegram/Resources/icons/calendar_down@3x.png
Normal file
|
After Width: | Height: | Size: 867 B |
|
Before Width: | Height: | Size: 107 B |
|
Before Width: | Height: | Size: 126 B |
|
Before Width: | Height: | Size: 174 B |
BIN
Telegram/Resources/icons/contacts_alphabet.png
Normal file
|
After Width: | Height: | Size: 448 B |
BIN
Telegram/Resources/icons/contacts_alphabet@2x.png
Normal file
|
After Width: | Height: | Size: 784 B |
BIN
Telegram/Resources/icons/contacts_alphabet@3x.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/contacts_online.png
Normal file
|
After Width: | Height: | Size: 385 B |
BIN
Telegram/Resources/icons/contacts_online@2x.png
Normal file
|
After Width: | Height: | Size: 649 B |
BIN
Telegram/Resources/icons/contacts_online@3x.png
Normal file
|
After Width: | Height: | Size: 1014 B |
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B |
|
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 715 B |
|
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 255 B |
|
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 344 B |
|
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 273 B |
|
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 393 B |
|
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 433 B |
|
Before Width: | Height: | Size: 494 B After Width: | Height: | Size: 494 B |
|
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 265 B |
|
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 490 B |
|
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 578 B |
|
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 285 B |
|
Before Width: | Height: | Size: 444 B After Width: | Height: | Size: 444 B |
|
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 598 B |
|
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
|
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 247 B |
|
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 146 B |
|
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 289 B |
|
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 386 B |
|
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 170 B |
|
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 362 B |
|
Before Width: | Height: | Size: 488 B After Width: | Height: | Size: 488 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_mini_play.png
Normal file
|
After Width: | Height: | Size: 165 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_mini_play@2x.png
Normal file
|
After Width: | Height: | Size: 200 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_mini_play@3x.png
Normal file
|
After Width: | Height: | Size: 475 B |
|
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
|
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 638 B |
|
Before Width: | Height: | Size: 907 B After Width: | Height: | Size: 907 B |
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
|
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 321 B |
|
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 367 B |
|
Before Width: | Height: | Size: 1013 B After Width: | Height: | Size: 1013 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
|
Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 432 B |
|
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
|
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
|
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 261 B |
|
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 272 B |
|
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 287 B |
|
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 450 B |
|
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 578 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_check.png
Normal file
|
After Width: | Height: | Size: 233 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_check@2x.png
Normal file
|
After Width: | Height: | Size: 365 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_check@3x.png
Normal file
|
After Width: | Height: | Size: 425 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_star.png
Normal file
|
After Width: | Height: | Size: 371 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_star@2x.png
Normal file
|
After Width: | Height: | Size: 714 B |
BIN
Telegram/Resources/icons/dialogs/dialogs_verified_star@3x.png
Normal file
|
After Width: | Height: | Size: 803 B |
|
Before Width: | Height: | Size: 180 B |
|
Before Width: | Height: | Size: 281 B |
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 342 B |
|
Before Width: | Height: | Size: 660 B |
|
Before Width: | Height: | Size: 694 B |
BIN
Telegram/Resources/icons/player/panel_close.png
Normal file
|
After Width: | Height: | Size: 284 B |
BIN
Telegram/Resources/icons/player/panel_close@2x.png
Normal file
|
After Width: | Height: | Size: 410 B |
BIN
Telegram/Resources/icons/player/panel_close@3x.png
Normal file
|
After Width: | Height: | Size: 593 B |
BIN
Telegram/Resources/icons/player/player_backward.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
Telegram/Resources/icons/player/player_backward@2x.png
Normal file
|
After Width: | Height: | Size: 524 B |
BIN
Telegram/Resources/icons/player/player_backward@3x.png
Normal file
|
After Width: | Height: | Size: 736 B |
|
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 281 B |
|
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 476 B |
|
Before Width: | Height: | Size: 695 B After Width: | Height: | Size: 695 B |
BIN
Telegram/Resources/icons/player/player_forward.png
Normal file
|
After Width: | Height: | Size: 297 B |
BIN
Telegram/Resources/icons/player/player_forward@2x.png
Normal file
|
After Width: | Height: | Size: 510 B |
BIN
Telegram/Resources/icons/player/player_forward@3x.png
Normal file
|
After Width: | Height: | Size: 775 B |
|
Before Width: | Height: | Size: 359 B After Width: | Height: | Size: 359 B |
|
Before Width: | Height: | Size: 639 B After Width: | Height: | Size: 639 B |
|
Before Width: | Height: | Size: 919 B After Width: | Height: | Size: 919 B |
BIN
Telegram/Resources/icons/player/player_mini_full.png
Normal file
|
After Width: | Height: | Size: 540 B |
BIN
Telegram/Resources/icons/player/player_mini_full@2x.png
Normal file
|
After Width: | Height: | Size: 995 B |
BIN
Telegram/Resources/icons/player/player_mini_full@3x.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Telegram/Resources/icons/player/player_mini_half.png
Normal file
|
After Width: | Height: | Size: 412 B |