Skip to content

Commit 18a24b4

Browse files
committed
2 parents 09e3e22 + 1c4f663 commit 18a24b4

File tree

171 files changed

+6714
-1150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+6714
-1150
lines changed

.github/workflows/mac.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ jobs:
7474
7575
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
7676
77+
- name: Free up some disk space.
78+
uses: hugoalh/disk-space-optimizer-ghaction@271735125a1b35180620eae7e45c2e9d470c31b0
79+
with:
80+
general_include: ".+"
81+
homebrew_prune: "True"
82+
homebrew_clean: "True"
83+
npm_prune: "True"
84+
npm_clean: "True"
85+
7786
- name: ThirdParty cache.
7887
id: cache-third-party
7988
uses: actions/cache@v4
@@ -95,9 +104,7 @@ jobs:
95104
./$REPO_NAME/Telegram/build/prepare/mac.sh skip-release silent
96105
97106
- name: Free up some disk space.
98-
run: |
99-
cd Libraries
100-
find . -iname "*.dir" -exec rm -rf {} || true \;
107+
run: find Libraries -iwholename "*.dir/*" -delete
101108

102109
- name: Telegram Desktop build.
103110
if: env.ONLY_CACHE == 'false'

.github/workflows/snap.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,11 @@ jobs:
6161
sudo lxd waitready
6262
6363
- name: Free up some disk space.
64-
uses: endersonmenezes/free-disk-space@6c4664f43348c8c7011b53488d5ca65e9fc5cd1a
64+
uses: samueldr/more-space-action@97048bd0df83fb05b5257887bdbaffc848887673
6565
with:
66-
remove_android: true
67-
remove_dotnet: true
68-
remove_haskell: true
69-
remove_tool_cache: true
70-
remove_swap: true
71-
remove_packages: "azure-cli google-cloud-cli microsoft-edge-stable google-chrome-stable firefox postgresql* temurin-* *llvm* mysql* dotnet-sdk-*"
72-
remove_packages_one_command: true
73-
remove_folders: "/usr/share/swift /usr/share/miniconda /usr/share/az* /usr/share/glade* /usr/local/lib/node_modules /usr/local/share/chromium /usr/local/share/powershell"
66+
enable-remove-default-apt-patterns: false
67+
enable-lvm-span: true
68+
lvm-span-mountpoint: /var/snap/lxd/common/lxd/storage-pools/default/containers
7469

7570
- name: Telegram Desktop snap build.
7671
run: sudo -u $USER snap run snapcraft --verbosity=debug

Telegram/CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,8 @@ PRIVATE
339339
boxes/star_gift_auction_box.h
340340
boxes/star_gift_box.cpp
341341
boxes/star_gift_box.h
342+
boxes/star_gift_preview_box.cpp
343+
boxes/star_gift_preview_box.h
342344
boxes/star_gift_resale_box.cpp
343345
boxes/star_gift_resale_box.h
344346
boxes/sticker_set_box.cpp
@@ -530,6 +532,8 @@ PRIVATE
530532
data/components/gift_auctions.h
531533
data/components/location_pickers.cpp
532534
data/components/location_pickers.h
535+
data/components/passkeys.cpp
536+
data/components/passkeys.h
533537
data/components/promo_suggestions.cpp
534538
data/components/promo_suggestions.h
535539
data/components/recent_peers.cpp
@@ -1408,6 +1412,7 @@ PRIVATE
14081412
platform/linux/specific_linux.h
14091413
platform/linux/tray_linux.cpp
14101414
platform/linux/tray_linux.h
1415+
platform/linux/webauthn_linux.cpp
14111416
platform/mac/file_utilities_mac.mm
14121417
platform/mac/file_utilities_mac.h
14131418
platform/mac/launcher_mac.mm
@@ -1427,6 +1432,7 @@ PRIVATE
14271432
platform/mac/specific_mac_p.h
14281433
platform/mac/tray_mac.mm
14291434
platform/mac/tray_mac.h
1435+
platform/mac/webauthn_mac.mm
14301436
platform/mac/window_title_mac.mm
14311437
platform/mac/touchbar/items/mac_formatter_item.h
14321438
platform/mac/touchbar/items/mac_formatter_item.mm
@@ -1461,6 +1467,7 @@ PRIVATE
14611467
platform/win/specific_win.h
14621468
platform/win/tray_win.cpp
14631469
platform/win/tray_win.h
1470+
platform/win/webauthn_win.cpp
14641471
platform/win/windows_app_user_model_id.cpp
14651472
platform/win/windows_app_user_model_id.h
14661473
platform/win/windows_dlls.cpp
@@ -1479,6 +1486,7 @@ PRIVATE
14791486
platform/platform_overlay_widget.h
14801487
platform/platform_specific.h
14811488
platform/platform_tray.h
1489+
platform/platform_webauthn.h
14821490
platform/platform_window_title.h
14831491
profile/profile_back_button.cpp
14841492
profile/profile_back_button.h
@@ -1566,6 +1574,8 @@ PRIVATE
15661574
settings/settings_notifications.h
15671575
settings/settings_notifications_type.cpp
15681576
settings/settings_notifications_type.h
1577+
settings/settings_passkeys.cpp
1578+
settings/settings_passkeys.h
15691579
settings/settings_power_saving.cpp
15701580
settings/settings_power_saving.h
15711581
settings/settings_premium.cpp
43.4 KB
Binary file not shown.
428 Bytes
Loading
677 Bytes
Loading
1019 Bytes
Loading
840 Bytes
Loading
1.5 KB
Loading
2.16 KB
Loading

0 commit comments

Comments
 (0)