GlosSIConfig: setting to ignore egs-launcher procs

pull/192/head
Peter Repukat 2 years ago
parent 96d8f24c93
commit fc03e91c2b

@ -343,6 +343,7 @@ QVariantMap UIModel::getDefaultConf() const
{"version", 1}, {"version", 1},
{"extendedLogging", false}, {"extendedLogging", false},
{"snapshotNotify", false}, {"snapshotNotify", false},
{"ignoreEGS", true},
{ {
"controller", "controller",
QJsonObject{ QJsonObject{

@ -74,7 +74,7 @@ CollapsiblePane {
} }
} }
Label { Label {
text: qsTr("Recommended to disable for launcher-games") text: qsTr("(Might cause issues with launcher-games)")
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
width: parent.width width: parent.width
leftPadding: 32 leftPadding: 32
@ -88,6 +88,16 @@ CollapsiblePane {
shortcutInfo.launch.waitForChildProcs = checked shortcutInfo.launch.waitForChildProcs = checked
} }
} }
CheckBox {
height: subTitle != "" || (shortcutInfo.launch.launchPath || "").includes("epicgames.launcher") ? 32 : 0
visible: subTitle != "" || (shortcutInfo.launch.launchPath || "").includes("epicgames.launcher")
id: ignoreEGS
text: qsTr("Ignore EpicGamesLauncher process")
checked: shortcutInfo.ignoreEGS
onCheckedChanged: function(){
shortcutInfo.ignoreEGS = checked
}
}
} }
Column { Column {
spacing: 2 spacing: 2

@ -190,7 +190,10 @@ Item {
placeholderText: qsTr("...") placeholderText: qsTr("...")
enabled: launchApp.checked enabled: launchApp.checked
text: shortcutInfo.launch.launchPath || "" text: shortcutInfo.launch.launchPath || ""
onTextChanged: shortcutInfo.launch.launchPath = text onTextChanged: function() {
shortcutInfo.launch.launchPath = text
shortcutInfo = shortcutInfo
}
} }
} }
Button { Button {

Loading…
Cancel
Save