mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix build without dbus
This commit is contained in:
parent
a82d1e863e
commit
9f6f7f7c9b
1 changed files with 2 additions and 0 deletions
|
@ -754,10 +754,12 @@ void InstallLauncher(bool force) {
|
|||
|
||||
void RegisterCustomScheme(bool force) {
|
||||
try {
|
||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||
if (InSnap()) {
|
||||
SnapDefaultHandler(qsl("tg"));
|
||||
return;
|
||||
}
|
||||
#endif // !DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||
|
||||
if (cExeName().isEmpty()) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue