mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00:00
start dbus only for main
This commit is contained in:
1 parent
2e0eaed322
commit
ed0cba281f
1 file changed
+4
-2
@@ -132,8 +132,10 @@ class PlatformFFI {
|
||||
_ffiBind = RustdeskImpl(dylib);
|
||||
|
||||
if (isLinux) {
|
||||
// Start a dbus service, no need to await
|
||||
_ffiBind.mainStartDbusServer();
|
||||
if (isMain) {
|
||||
// Start a dbus service for uri links, no need to await
|
||||
_ffiBind.mainStartDbusServer();
|
||||
}
|
||||
if (appType == kAppTypeConnectionManager) {
|
||||
_ffiBind.mainStartPa();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user