From 752232eeca0ab5dc094a95b67682e658fea079cc Mon Sep 17 00:00:00 2001 From: Pandipipas <62224708+Pandipipas@users.noreply.github.com> Date: Wed, 4 Mar 2026 16:45:48 +0100 Subject: [PATCH] Store persistent assets in bundle-local db directory --- src/extension/game-assets.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/extension/game-assets.ts b/src/extension/game-assets.ts index 950b1c9..f279ed4 100644 --- a/src/extension/game-assets.ts +++ b/src/extension/game-assets.ts @@ -36,8 +36,7 @@ type HttpGameTitlesFile = Record | HttpGameTitleEntry[]; const extensionDir = path.dirname(fileURLToPath(import.meta.url)); const bundleRoot = path.resolve(extensionDir, '..'); const legacyAssetsRoot = path.join(bundleRoot, 'game-assets'); -const nodecgRoot = path.resolve(bundleRoot, '..', '..'); -const assetsRoot = path.join(nodecgRoot, 'db', `${nodecg.bundleName}-game-assets`); +const assetsRoot = path.join(bundleRoot, 'db', `${nodecg.bundleName}-game-assets`); let assetsStorageReady = false;