mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-08-18 20:32:12 +08:00
call _ffiBind.mainStartPa only for --cm
This commit is contained in:
@ -134,7 +134,9 @@ class PlatformFFI {
|
|||||||
if (isLinux) {
|
if (isLinux) {
|
||||||
// Start a dbus service, no need to await
|
// Start a dbus service, no need to await
|
||||||
_ffiBind.mainStartDbusServer();
|
_ffiBind.mainStartDbusServer();
|
||||||
_ffiBind.mainStartPa();
|
if (appType == kAppTypeConnectionManager) {
|
||||||
|
_ffiBind.mainStartPa();
|
||||||
|
}
|
||||||
} else if (isMacOS && isMain) {
|
} else if (isMacOS && isMain) {
|
||||||
// Start ipc service for uri links.
|
// Start ipc service for uri links.
|
||||||
_ffiBind.mainStartIpcUrlServer();
|
_ffiBind.mainStartIpcUrlServer();
|
||||||
|
Reference in New Issue
Block a user