chore(nx/forge): templates not working

This commit is contained in:
Elian Doran 2025-04-25 18:44:03 +03:00
parent 457bf2bf5e
commit 997ed22b86
No known key found for this signature in database
7 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ function getExtraResourcesForPlatform() {
const getScriptRessources = () => {
const scripts = ["trilium-portable", "trilium-safe-mode", "trilium-no-cert-check"];
const scriptExt = (process.platform === "win32") ? "bat" : "sh";
return scripts.map(script => `../server/tpl/${script}.${scriptExt}`);
return scripts.map(script => `apps/desktop/electron-forge/${script}.${scriptExt}`);
}
switch (process.platform) {