blob: 5ed28043e9c0e716fafb6dba751613acbf473ef6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- a/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts
+++ b/src/backend/shortcuts/nonesteamgame/nonesteamgame.ts
@@ -263,7 +263,7 @@
// add new Entry
const newEntry = {} as ShortcutEntry
newEntry.AppName = props.gameInfo.title
- newEntry.Exe = `"${app.getPath('exe')}"`
+ newEntry.Exe = `"/usr/bin/heroic"`
newEntry.StartDir = `"${process.cwd()}"`
if (isFlatpak) {
--- a/src/backend/shortcuts/shortcuts/shortcuts.ts
+++ b/src/backend/shortcuts/shortcuts/shortcuts.ts
@@ -221,9 +221,7 @@
writeFileSync(plistFile, plist)
// write the run.sh file
- const launchCommand = `${app.getPath(
- 'exe'
- )} --no-gui heroic://launch?appName=${app_name}&runner=${runner}`
+ const launchCommand = `/usr/bin/heroic --no-gui heroic://launch?appName=${app_name}&runner=${runner}`
const shortcut = `#!/bin/bash
# autogenerated file - do not edit
|