From 3e6cfb79b00d7222b0d039a688a770ca92edb0cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Lidwin?= Date: Tue, 3 Sep 2024 16:58:37 +0200 Subject: [PATCH] fix: gog setup regression --- src/backend/storeManagers/gog/setup.ts | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/backend/storeManagers/gog/setup.ts b/src/backend/storeManagers/gog/setup.ts index 0e9f0e4491..1af7ce1e8b 100644 --- a/src/backend/storeManagers/gog/setup.ts +++ b/src/backend/storeManagers/gog/setup.ts @@ -183,7 +183,8 @@ async function setup( supportCommand.languages.includes('Neutral') ) { const absPath = path.join( - gameSupportDir, + gogSupportPath, + appName, supportCommand.gameID, supportCommand.executable ) @@ -207,7 +208,11 @@ async function setup( wait: false, protonVerb: 'run', skipPrefixCheckIKnowWhatImDoing: true, - startFolder: path.join(gameSupportDir, supportCommand.gameID) + startFolder: path.join( + gogSupportPath, + appName, + supportCommand.gameID + ) }) } } @@ -284,7 +289,8 @@ async function setup( continue } const absPath = path.join( - gameSupportDir, + gogSupportPath, + appName, manifestProduct.productId, manifestProduct.temp_executable ) @@ -309,7 +315,11 @@ async function setup( wait: false, protonVerb: 'run', skipPrefixCheckIKnowWhatImDoing: true, - startFolder: path.join(gameSupportDir, manifestProduct.productId) + startFolder: path.join( + gogSupportPath, + appName, + manifestProduct.productId + ) }) } }