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.

Target-specific extraResources ?

See original GitHub issue
  • Version: 8.6.0
  • Target: Windows and Mac

Is there a way to specify extraResources in a per-target basis?

There is some content I want to include only for windows, and there is some content I only want to include for OSX.

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
develarcommented, Nov 17, 2016

Most of the options can be specified per target or per platform. If not, option marked as Cannot be specified per target.

extraResources can be specified per platform, but not for per target — it is ok for your case: put extraResources to mac (win specific to win).

If extraResources also specified in the build it will be added to list as well.

1reaction
pconerlycommented, Nov 17, 2016

Cool, thanks for the answer.

Just to document this more— what I ended up doing was including this in files:

files: [ "special_plugins_${os}" ]

And then organizing the files accordingly into special_plugins_win/ and special_plugins_osx/.

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Electron - How to add external files? - Stack Overflow
Create a new folder named extraResources adjacent to pacakge.json · Add the following code to your package.json file: "build": { "extraResources" ...
Read more >
Using Custom Campaigns to Connect with Patients - Amplicare
Investing in communication tools such as Amplicare Connect enables you to schedule automated messages, target specific patient groups, ...
Read more >
Create a Welcome Series Automation - Postscript
Extra Resources. Fantastic Texts. Need some inspiration? Check out some real-life customers and how they interact with their subscribers. Here ...
Read more >
Let's Read! | DonorsChoose project by Ms. Goodacre
The books and materials will provide extra resources to improve reading comprehension and ... The books target specific skills such as vocabulary, phonics, ......
Read more >
Frequently Asked Questions: Survey Approval Process
Here are common questions asked about the submission and approval process along with extra resources regarding surveys at IU Bloomington.
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