Skip to content

Commit

Permalink
[FIX]: gog setup regression for v1 games (#4049)
Browse files Browse the repository at this point in the history
fix: gog setup regression for v1 games
  • Loading branch information
imLinguin authored Nov 17, 2024
1 parent 74d075d commit df71f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/storeManagers/gog/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ async function setup(
context: 'GOG'
})
if (manifestData.version === 1) {
if (existsSync(gameSupportDir)) {
if (existsSync(path.join(gogSupportPath, appName))) {
for (const supportCommand of manifestData.product?.support_commands ||
[]) {
if (
!supportCommand.languages.includes(
supportCommand.languages.includes(
gameInfo.install.language ?? 'English'
) ||
supportCommand.languages.includes('Neutral')
Expand Down

0 comments on commit df71f6a

Please sign in to comment.