start dbus only for main
This commit is contained in:
parent
2e0eaed322
commit
ed0cba281f
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user