feat(nx/desktop): add serve no-dir

This commit is contained in:
Elian Doran 2025-05-05 10:27:52 +03:00
parent e94d8b5b47
commit cf492a5f47
No known key found for this signature in database
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1 @@
TRILIUM_PORT=37743

View File

@ -82,6 +82,24 @@
}
}
},
"serve-nodir": {
"executor": "nx:run-commands",
"dependsOn": [
"rebuild-deps"
],
"defaultConfiguration": "default",
"configurations": {
"default": {
"command": "electron .",
"cwd": "{projectRoot}/dist"
},
"nixos": {
"command": "nix-shell -p electron_33 --run \"electron {projectRoot}/dist/main.js\"",
"cwd": ".",
"forwardAllArgs": false
}
}
},
"electron-forge:make": {
"dependsOn": [
"build"