Merge pull request #266 from povvke/fix-app2unit-steam-games

Fix steam games not launching with app2unit
This commit is contained in:
Lysec 2025-09-13 20:02:10 +02:00 committed by GitHub
commit 46103062d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,11 @@ Item {
if (Settings.data.appLauncher.useApp2Unit && app.id) {
Logger.log("ApplicationsPlugin", `Using app2unit for: ${app.id}`)
Quickshell.execDetached(["app2unit", "--", app.id + ".desktop"])
if (app.runInTerminal)
Quickshell.execDetached(["app2unit", "--", app.id + ".desktop"])
else
Quickshell.execDetached(["app2unit", "--"].concat(app.command))
} else if (app.execute) {
app.execute()
} else if (app.exec) {