summaryrefslogtreecommitdiff
path: root/pkgs/heroic-launcher/fix-non-steam-shortcuts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/heroic-launcher/fix-non-steam-shortcuts.patch')
-rw-r--r--pkgs/heroic-launcher/fix-non-steam-shortcuts.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/heroic-launcher/fix-non-steam-shortcuts.patch b/pkgs/heroic-launcher/fix-non-steam-shortcuts.patch
new file mode 100644
index 0000000..7b46473
--- /dev/null
+++ b/pkgs/heroic-launcher/fix-non-steam-shortcuts.patch
@@ -0,0 +1,13 @@
+diff --git a/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts b/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts
+index ebef6aa4..c8bd853d 100644
+--- a/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts
++++ b/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts
+@@ -252,7 +252,7 @@ async function addNonSteamGame(props: {
+ // add new Entry
+ const newEntry = {} as ShortcutEntry
+ newEntry.AppName = props.gameInfo.title
+- newEntry.Exe = `"${app.getPath('exe')}"`
++ newEntry.Exe = `"heroic"`
+ newEntry.StartDir = `"${process.cwd()}"`
+
+ if (isFlatpak) {
Software created with 💖