start dbus only for main
This commit is contained in:
parent
2e0eaed322
commit
ed0cba281f
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue