-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extraResources parent directory #597
Comments
|
This is my structure Folder All these are separate git repo's, that's why I can't include them together. So yes, I want to copy resources outside of the packager directory. |
And dev |
Seems easier like I have it now :-) Especially because others will want to download it and if they then have to move the other repo's (which work independently) inside the packager, it's just a mess. |
FYI: My working project contains 8 inner git repositories :) |
Well actually it seems illogical. Now I have to package my App inside a Packager folder. That just doesn't make sense. But fine! |
Well... To build app, you need some non-production code. Your |
Ideally one should be able to run the packager from anywhere I want. That seems more logical. But that's just my humble opinion ;-) |
You can, but |
How about we can add resources in the app folder, but not have them in the asar? so it would be app/resources or something and they'd automatically be added as extra resources. Not in asar is what I need. |
Originally, it was implemented for 2 package.json scheme. So, extra resources is not filtered automatically. Will be fixed once will be an issue about it ;) Why it is included if you have |
I have the same problem as @atypicalprogrammer because my application lives next to the packaging project. The application is a separate project used by other projects so I also think it should not live inside the packager directory :) |
@chrigu-ebert Now you have extraFiles/extraResources/files — please see https://github.com/electron-userland/electron-builder/wiki/Options |
@develar woah thanks for the super fast response! I'll check it out! Seems to do the trick :) Edit: |
Is it not possible to go outside the current directory?
For .directories.app this is possible.
But for build.extraResources it seem not;
build.extraResources = ["../extra/**/*"]
The text was updated successfully, but these errors were encountered: