chore(nx/server): get electron-forge up to "Finalizing package"

This commit is contained in:
Elian Doran
2025-04-25 18:23:52 +03:00
parent 4257da62fd
commit 457bf2bf5e
5 changed files with 20 additions and 17 deletions

View File

@@ -63,7 +63,7 @@
},
"make": {
"dependsOn": [ "build" ],
"command": "pnpm --filter @triliumnext/desktop exec electron-forge make ."
"command": "pnpm exec electron-forge make apps/desktop"
}
}
}

View File

@@ -42,7 +42,7 @@ module.exports = {
to: join(outputDir, "assets")
},
{
from: "node_modules/@electron/remote",
from: "../../node_modules/@electron/remote",
to: join(outputDir, "node_modules/@electron/remote")
}
]

View File

@@ -36,7 +36,7 @@ function buildFilesToCopy() {
for (const nodePath of nodePaths) {
files.push({
from: join("node_modules", nodePath),
from: join("..", "..", "node_modules", nodePath),
to: join(outputDir, "node_modules", nodePath)
})
}