call _ffiBind.mainStartPa only for --cm
This commit is contained in:
parent
e2a6d66805
commit
2e0eaed322
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user