Skip to content

Commit e7c6773

Browse files
[FIX] Sideloads with proton without umu (#3936)
1 parent b494685 commit e7c6773

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/backend/launcher.ts

+4
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,10 @@ async function runWineCommand({
919919
const umuSupported = await isUmuSupported(wineVersion.type)
920920
const runnerBin = umuSupported ? await getUmuPath() : wineBin
921921

922+
if (wineVersion.type === 'proton' && !umuSupported) {
923+
commandParts.unshift(protonVerb)
924+
}
925+
922926
logDebug(['Running Wine command:', commandParts.join(' ')], LogPrefix.Backend)
923927

924928
return new Promise<{ stderr: string; stdout: string }>((res) => {

0 commit comments

Comments
 (0)