diff options
Diffstat (limited to 'examples/applicationmanager/package-installation/system-ui/main.qml')
-rw-r--r-- | examples/applicationmanager/package-installation/system-ui/main.qml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/applicationmanager/package-installation/system-ui/main.qml b/examples/applicationmanager/package-installation/system-ui/main.qml index 03e60ff0..672b8a38 100644 --- a/examples/applicationmanager/package-installation/system-ui/main.qml +++ b/examples/applicationmanager/package-installation/system-ui/main.qml @@ -40,9 +40,13 @@ ApplicationWindow { } Component.onCompleted: { - console.info("\n\n", "You can start an appman-package-server instance like this:", - "\n\n", " ", ApplicationManager.systemProperties.serverBinary, "--dd", - ApplicationManager.systemProperties.serverBaseDir, "\n\n") + if (ApplicationManager.systemProperties.serverBinary + && ApplicationManager.systemProperties.serverBaseDir) { + console.info("\n\n", "You can start an appman-package-server instance like this:", + "\n\n", " ", ApplicationManager.systemProperties.serverBinary, "--dd", + ApplicationManager.systemProperties.serverBaseDir, + "\n\n") + } } } |