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:
@@ -24,6 +24,10 @@ inline void WriteCrashDumpDetails() {
|
||||
inline void AutostartRequestStateFromSystem(Fn<void(bool)> callback) {
|
||||
}
|
||||
|
||||
inline bool RunInBackground() {
|
||||
return false;
|
||||
}
|
||||
|
||||
inline bool PreventsQuit(Core::QuitReason reason) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user