Skip to content

Commit

Permalink
fix: ensure other codepaths have proper access too
Browse files Browse the repository at this point in the history
  • Loading branch information
imLinguin committed Jan 8, 2025
1 parent bdaaa53 commit 0e3a37b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/backend/storeManagers/gog/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,7 @@ async function setup(
protonVerb: 'run',
installFolderName: gameInfo.install.install_path,
skipPrefixCheckIKnowWhatImDoing: true,
startFolder: path.join(
gogSupportPath,
appName,
supportCommand.gameID
)
startFolder: gameInfo.install.install_path
})
}
}
Expand Down Expand Up @@ -318,11 +314,7 @@ async function setup(
protonVerb: 'run',
installFolderName: gameInfo.install.install_path,
skipPrefixCheckIKnowWhatImDoing: true,
startFolder: path.join(
gogSupportPath,
appName,
manifestProduct.productId
)
startFolder: gameInfo.install.install_path
})
}
}
Expand Down
1 change: 1 addition & 0 deletions src/backend/storeManagers/legendary/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const legendarySetup = async (appName: string) => {
) {
await runWineCommand({
gameSettings,
installFolderName: gameInfo.install.install_path,
commandParts: [
join(
gameInfo.install.install_path ?? '',
Expand Down

0 comments on commit 0e3a37b

Please sign in to comment.