2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +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

@@ -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;
}