2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Add a method to check whether to run in background instead of checking for macOS

This commit is contained in:
Ilya Fedin
2023-09-12 03:56:08 +04:00
committed by John Preston
parent 0bf0fb29d2
commit e8a1fc0300
6 changed files with 36 additions and 22 deletions

View File

@@ -27,6 +27,10 @@ inline bool SkipTaskbarSupported() {
return true;
}
inline bool RunInBackground() {
return false;
}
inline bool PreventsQuit(Core::QuitReason reason) {
return false;
}