AyuGramDesktop/Telegram
Ilya Fedin 272d2da04a Stabilize app id on Linux when -workdir is set to the default workdir
Currently the app id hash is generated from workdir path only when it's set explicitly and that's for a good reason: the default workdir could be changed (e.g. by creating a TelegramForcePortable) and app id would change what would result in a duplicate .desktop created.

The current code has the possibility of having duplicate .desktop files, too, as it happened, but by specifying -workdir to the same directory as the default one.

There's now a check that ensures the specified workdir is really custom so those duplicate launchers could be removed what should really stabilize the hash.
2023-07-24 10:37:38 +04:00
..
build Version 4.8.7. 2023-07-21 21:59:08 +04:00
cmake Update tgcalls. 2023-07-20 07:20:57 +04:00
codegen@5a11029c46 Migrate from qt_static_plugins.cpp to the Qt6-pregenerated initializators 2023-06-19 18:01:14 +04:00
lib_base@2669a04579 Collapse stories on archive open/close. 2023-07-20 21:42:35 +04:00
lib_crl@3d7e1e1f13 Version 4.6.2: Re-enable global /LTCG on Windows. 2023-02-08 13:20:01 +04:00
lib_lottie@3e9c2f1026 Version 4.6.2: Re-enable global /LTCG on Windows. 2023-02-08 13:20:01 +04:00
lib_qr@501f4c3502 Update submodules. 2022-02-28 19:43:51 +03:00
lib_rpl@8b1015d1bd Implement "Save Power on Low Battery" function. 2023-03-01 09:12:02 +04:00
lib_spellcheck@b94ec0107b Some build fixes. 2023-05-17 16:29:31 +04:00
lib_storage@839609369d Update submodules & Docker patches 2022-06-14 16:36:44 +04:00
lib_tl@36fb95c4de Support multiple reactions from one user. 2022-09-02 21:14:31 +04:00
lib_ui@079d966e45 Pause stories if reply context menu is shown. 2023-07-21 17:11:49 +04:00
lib_webrtc@b68a95ad4d Version 4.6.2: Re-enable global /LTCG on Windows. 2023-02-08 13:20:01 +04:00
lib_webview@ebb8b8b91f Collapse stories on archive open/close. 2023-07-20 21:42:35 +04:00
Resources Version 4.8.7. 2023-07-21 21:59:08 +04:00
SourceFiles Stabilize app id on Linux when -workdir is set to the default workdir 2023-07-24 10:37:38 +04:00
Telegram Version 4.8.2: Hardened Runtime in Mac App Store. 2023-05-18 11:54:56 +04:00
ThirdParty Update tgcalls. 2023-07-20 07:20:57 +04:00
CMakeLists.txt Implement story mention messages. 2023-07-20 07:20:32 +04:00
configure.bat Find venv without configure.bat 2022-12-27 15:14:12 +04:00
configure.py Move Qt version from configure.py to CMakeLists.txt 2022-08-30 20:25:10 +04:00
configure.sh Use python3 in macOS configure script. 2022-06-02 20:21:07 +04:00
create.bat
Telegram.plist Specify no non-exempt encryption usage in plist. 2022-12-30 17:30:18 +04:00