10 lines
342 B
TypeScript
10 lines
342 B
TypeScript
import { mkdirSync } from 'node:fs';
|
|
import { DATA_PATH } from './data-path';
|
|
import { join } from 'node:path';
|
|
|
|
export function syncSeedResources(): void {
|
|
// Native resources are read directly from seed/ at runtime.
|
|
// Only ensure the global resources directory exists.
|
|
mkdirSync(join(DATA_PATH, 'resources'), { recursive: true });
|
|
}
|