Store persistent assets in bundle-local db directory

This commit is contained in:
Pandipipas
2026-03-04 16:45:48 +01:00
parent c1e9133970
commit 752232eeca
+1 -2
View File
@@ -36,8 +36,7 @@ type HttpGameTitlesFile = Record<string, unknown> | 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;