Skip to content

Commit 54cd3bd

Browse files
Etaash-mathamsettystifflerstiff0
authored andcommitted
[Fix] Fix missing double quote on exe value (Heroic-Games-Launcher#3131)
[FIX] Unset DOTNET_ROOT for wine (Heroic-Games-Launcher#3041)
1 parent 9079cf4 commit 54cd3bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/backend/launcher.ts

+1
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ function setupWineEnvVars(
354354
const ret: Record<string, string> = {}
355355

356356
ret.DOTNET_BUNDLE_EXTRACT_BASE_DIR = ''
357+
ret.DOTNET_ROOT = ''
357358

358359
// Add WINEPREFIX / STEAM_COMPAT_DATA_PATH / CX_BOTTLE
359360
const steamInstallPath = join(flatPakHome, '.steam', 'steam')

src/backend/shortcuts/nonesteamgame/nonesteamgame.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ async function addNonSteamGame(props: {
260260
} else if (!isWindows && process.env.APPIMAGE) {
261261
newEntry.Exe = `"${process.env.APPIMAGE}"`
262262
} else if (isWindows && process.env.PORTABLE_EXECUTABLE_FILE) {
263-
newEntry.Exe = `"${process.env.PORTABLE_EXECUTABLE_FILE}`
263+
newEntry.Exe = `"${process.env.PORTABLE_EXECUTABLE_FILE}"`
264264
newEntry.StartDir = `"${process.env.PORTABLE_EXECUTABLE_DIR}"`
265265
}
266266

0 commit comments

Comments
 (0)