tdesktop/Telegram/SourceFiles/platform
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
..
linux Stabilize app id on Linux when -workdir is set to the default workdir 2023-07-24 10:37:38 +04:00
mac Use argv0 for shortcuts when updater is disabled 2023-06-16 11:38:54 +04:00
win Load and show list of users who viewed a story. 2023-07-20 07:20:10 +04:00
platform_audio.h Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
platform_file_bookmark.h Move Media::Clip::Reader and FileLocation to td_ui. 2020-10-30 18:32:18 +03:00
platform_file_utilities.h Don't get cursor position twice for open with menu 2023-01-20 12:58:48 +04:00
platform_integration.cpp Move global event filter to Platform::Integration on Windows. 2022-01-04 15:29:40 +03:00
platform_integration.h Move global event filter to Platform::Integration on Windows. 2022-01-04 15:29:40 +03:00
platform_launcher.h Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
platform_main_window.h Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-17 20:33:23 +04:00
platform_notifications_manager.h One more attempt to fix DND on macOS. 2023-03-15 15:00:29 +04:00
platform_overlay_widget.cpp Reuse lib_ui's title control side deduction code 2023-07-20 17:58:41 +04:00
platform_overlay_widget.h Allow navigating to stories of sibling users. 2023-07-20 07:20:08 +04:00
platform_specific.h Use argv0 for shortcuts when updater is disabled 2023-06-16 11:38:54 +04:00
platform_tray.h Initialized empty files for tray implementations. 2022-05-03 04:25:35 +03:00
platform_window_title.h Switch MainWindow to Ui::RpWindow 2021-07-28 18:05:39 +03:00