2
0
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:
Ilya Fedin
2021-03-21 08:19:56 +04:00
committed by John Preston
parent a82d1e863e
commit 9f6f7f7c9b

View File

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