From 29123af4ad0e73a423350246f6fa7b0253034a6b Mon Sep 17 00:00:00 2001 From: Papoteur Date: Wed, 23 Nov 2022 18:30:10 +0100 Subject: Fix commanline to include absolute path (mga#31169) --- qml/Install.qml | 2 +- qml/InstallSoftware.qml | 4 ++-- qml/Sources.qml | 2 +- qml/mw-ui.qml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/qml/Install.qml b/qml/Install.qml index 238c22c..bd81596 100644 --- a/qml/Install.qml +++ b/qml/Install.qml @@ -29,7 +29,7 @@ Rectangle { MButton { anchors.horizontalCenter: parent.horizontalCenter objectName: "launch" - onMbuttonClicked: { launch.command(["draklive-install",])} + onMbuttonClicked: { launch.command(["/usr/bin/draklive-install",])} buttonText: qsTr("Launch installation") } diff --git a/qml/InstallSoftware.qml b/qml/InstallSoftware.qml index f3972c9..af90294 100644 --- a/qml/InstallSoftware.qml +++ b/qml/InstallSoftware.qml @@ -30,14 +30,14 @@ Rectangle { anchors.left: parent.left; anchors.leftMargin: 20; width: slideshow.width * .35 objectName: "launch" - onMbuttonClicked: { launch.command(["rpmdrake",])} + onMbuttonClicked: { launch.command(["/usr/bin/rpmdrake",])} buttonText: qsTr("RPMdrake")+" *" } MButton { anchors.left: parent.left; anchors.leftMargin: 20; width: slideshow.width * .35 objectName: "launch" - onMbuttonClicked: { launch.command(["dnfdragora",])} + onMbuttonClicked: { launch.command(["/usr/bin/dnfdragora",])} buttonText: qsTr("Dnfdragora") } Label { diff --git a/qml/Sources.qml b/qml/Sources.qml index 304df59..fa54e1d 100644 --- a/qml/Sources.qml +++ b/qml/Sources.qml @@ -194,7 +194,7 @@ If this computer will have access to the Internet, you can delete the Local