mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix build without dbus
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user