kotatogram-desktop/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
win
platform_audio.h
platform_file_bookmark.h
platform_file_utilities.h
platform_integration.cpp
platform_integration.h
platform_launcher.h
platform_main_window.h
platform_notifications_manager.h
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
platform_specific.h
platform_tray.h
platform_window_title.h