Merge pull request #266 from povvke/fix-app2unit-steam-games
Fix steam games not launching with app2unit
This commit is contained in:
commit
46103062d0
1 changed files with 5 additions and 1 deletions
|
|
@ -83,7 +83,11 @@ Item {
|
||||||
|
|
||||||
if (Settings.data.appLauncher.useApp2Unit && app.id) {
|
if (Settings.data.appLauncher.useApp2Unit && app.id) {
|
||||||
Logger.log("ApplicationsPlugin", `Using app2unit for: ${app.id}`)
|
Logger.log("ApplicationsPlugin", `Using app2unit for: ${app.id}`)
|
||||||
|
if (app.runInTerminal)
|
||||||
Quickshell.execDetached(["app2unit", "--", app.id + ".desktop"])
|
Quickshell.execDetached(["app2unit", "--", app.id + ".desktop"])
|
||||||
|
else
|
||||||
|
Quickshell.execDetached(["app2unit", "--"].concat(app.command))
|
||||||
|
|
||||||
} else if (app.execute) {
|
} else if (app.execute) {
|
||||||
app.execute()
|
app.execute()
|
||||||
} else if (app.exec) {
|
} else if (app.exec) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue