You can not override the dir
See original GitHub issue- [ x] I have read the contribution documentation for this project.
- [x ] I agree to follow the code of conduct that this project follows, as appropriate.
- [ x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
I read that “you can not override the dir” of electron-packager
. Currently, my build system creates a dist
folder with the appropriate package.json
, main.js
and renderer.js
files generated from typescript files, etc.
Is it not possible to have electron-forge
configured to the appropriate path of the built project?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
You can not override the dir · Issue #934 · electron/forge · GitHub
I read that "you can not override the dir" of electron-packager . Currently, my build system creates a dist folder with the appropriate ......
Read more >cp: cannot overwrite directory with non-directory - Super User
CASE 1 You get this error when you try to copy a file (source) that has the same name of a directory (destination)....
Read more >mv: cannot overwrite directory with non-directory
You can 't force mv to overwrite a directory with a file with the same name. You'll need to remove that file before...
Read more >Overwrite an existing directory? - command line - Ask Ubuntu
Just creates the directory ~/Desktop/foo if it does not already exist. ... No, there is no single command to do what you are...
Read more >How do I override rw-r--r-- root/wheel for a all files in a directory?
This overcomes most permissions that cause the override prompt. There can still be times when permissions are set to prevent root accidentally ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same problem here too!
My package.json:
My forge.config.js:
“dir” as root for generate package isn’t taken, only “ignore” is working. I want that ./dist is the root for the generated package.
electron-packager
directly is working but should not be the solution in my opinion. Next problem is, that asar file is generated everytime - i dont want it. Also tried rename section electronPackagerConfig to packagerConfig but does not change anything, only that every key/value is ignored.Electron Forge version used: 5.2.4
Nope 😦 It’s okay I’ll use
electron-packager
directly.