mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(nx/forge): templates not working
This commit is contained in:
parent
457bf2bf5e
commit
997ed22b86
@ -190,7 +190,7 @@ function getExtraResourcesForPlatform() {
|
|||||||
const getScriptRessources = () => {
|
const getScriptRessources = () => {
|
||||||
const scripts = ["trilium-portable", "trilium-safe-mode", "trilium-no-cert-check"];
|
const scripts = ["trilium-portable", "trilium-safe-mode", "trilium-no-cert-check"];
|
||||||
const scriptExt = (process.platform === "win32") ? "bat" : "sh";
|
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) {
|
switch (process.platform) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user