mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(nx/desktop): fix electron-rebuild on fresh install
This commit is contained in:
parent
6e29b050af
commit
a0c1bdde88
@ -53,10 +53,12 @@
|
|||||||
"cache": true,
|
"cache": true,
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"default": {
|
"default": {
|
||||||
"command": "electron-rebuild -f {projectRoot}/dist/main.js -m {projectRoot}/dist"
|
"command": "electron-rebuild -f dist/main.js -m dist",
|
||||||
|
"cwd": "{projectRoot}"
|
||||||
},
|
},
|
||||||
"nixos": {
|
"nixos": {
|
||||||
"command": "electron-rebuild -f -v $(nix-shell -p electron_35 --run \"electron --version\") ${projectRoot}/dist/main.js -m ${projectRoot}/dist"
|
"command": "electron-rebuild -f -v $(nix-shell -p electron_35 --run \"electron --version\") dist/main.js -m dist",
|
||||||
|
"cwd": "{projectRoot}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user