mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
Store persistent assets in bundle-local db directory
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user