start dbus only for main
This commit is contained in:
parent
2e0eaed322
commit
ed0cba281f
@ -132,8 +132,10 @@ class PlatformFFI {
|
|||||||
_ffiBind = RustdeskImpl(dylib);
|
_ffiBind = RustdeskImpl(dylib);
|
||||||
|
|
||||||
if (isLinux) {
|
if (isLinux) {
|
||||||
// Start a dbus service, no need to await
|
if (isMain) {
|
||||||
_ffiBind.mainStartDbusServer();
|
// Start a dbus service for uri links, no need to await
|
||||||
|
_ffiBind.mainStartDbusServer();
|
||||||
|
}
|
||||||
if (appType == kAppTypeConnectionManager) {
|
if (appType == kAppTypeConnectionManager) {
|
||||||
_ffiBind.mainStartPa();
|
_ffiBind.mainStartPa();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user