question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

extraResources parent directory

See original GitHub issue

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/**/*"]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Oct 18, 2016

@chrigu-ebert Now you have extraFiles/extraResources/files — please see https://github.com/electron-userland/electron-builder/wiki/Options

0reactions
chr1gucommented, Oct 18, 2016

@develar woah thanks for the super fast response! I’ll check it out! Seems to do the trick 😃

Edit: Works perfectly!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Application Contents - electron-builder
The source path relative to and defaults to: the app directory for files ,; the project directory for extraResources and extraFiles . If...
Read more >
javascript - Electron - How to add external files? - Stack Overflow
Create a new folder named extraResources adjacent to pacakge.json ... Then, you can access the files inside this folder by using __dirname + ......
Read more >
Index of /~kharma/COEN244/ExtraResources
Index of /~kharma/COEN244/ExtraResources. Parent Directory · Bruce Eckel's MindView, Inc- Thinking in C++ 2nd Edition by Bruce Eckel.url · Chapter4.ppt ...
Read more >
Electron Builder: Packaging Electron (Nodejs) Application ...
You can use: extraResources: copies the files (keeping their exact name) to the app's resource directory; extraFiles: copies the files directly ...
Read more >
Export ElectronApp using extraResources : r/electronjs - Reddit
I stay trying to solving Error using to extraResources: ... because I'm on windows and the extraResources folder doesn't recognize.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found