From ff382b0968bddbccef033270fe4a76bde06e05a0 Mon Sep 17 00:00:00 2001 From: ZorTik Date: Sat, 18 Apr 2026 00:28:56 +0200 Subject: [PATCH] feat: defaultResourcesTargetPath --- src/filestructure.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/filestructure.ts b/src/filestructure.ts index 6f8fd95..a90a78e 100644 --- a/src/filestructure.ts +++ b/src/filestructure.ts @@ -12,11 +12,10 @@ export const init = (appConfig_: AppConfig) => { // The local resources dir (not the source of truth) export const resourcesPath = path.join(process.cwd(), "resources"); -// The target (platform-agnostic) resources dir (the source of truth) -const defaultResourcesTargetPath = path.join(currentPaths.data); +// The target (platform-agnostic) resources dir (the source of truth) export const getResourcesTargetPath = () => { - return appConfig.getResourcesPath() ?? defaultResourcesTargetPath; + return appConfig.getResourcesPath() ?? path.join(currentPaths.data); } export const getTemplatesPath = () => {