Skip to content

Commit 75c72c4

Browse files
authored
[FIX] Wine Stuck sometimes at adding registry key (#3210)
Force add the registry entry Otherwise, newer Wine versions will prompt to overwrite it and loop there forever.
1 parent 6febfe4 commit 75c72c4

File tree

1 file changed

+6
-1
lines changed
  • src/backend/storeManagers/legendary

1 file changed

+6
-1
lines changed

src/backend/storeManagers/legendary/setup.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ export const legendarySetup = async (appName: string) => {
2020

2121
// Fixes games like Fallout New Vegas and Dishonored: Death of the Outsider
2222
await runWineCommandOnGame(appName, {
23-
commandParts: ['reg', 'add', 'HKEY_CLASSES_ROOT\\com.epicgames.launcher'],
23+
commandParts: [
24+
'reg',
25+
'add',
26+
'HKEY_CLASSES_ROOT\\com.epicgames.launcher',
27+
'/f'
28+
],
2429
wait: true,
2530
protonVerb: 'waitforexitandrun'
2631
})

0 commit comments

Comments
 (0)