Skip to content
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

Fix asar(-Unpack) error #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

N0chteil
Copy link
Contributor

This fixed my problem:
image

@AngryKiller
Copy link
Owner

AngryKiller commented Jul 7, 2021

I used another solution on my Electron app, in the package.json of the app I added this for electron-builder:

   "asarUnpack": [
      "node_modules/itunes-bridge/wscript",
      "node_modules/itunes-bridge/jxa"
    ]

I don't remember if the replace function breaks when the element to replace isn't actually there (so basically it would be when iTunes-bridge is used in something other than an Electron app), but if this solution doesn't break anything that's actually a nice fix. Gonna check this on my side when I'll have some free time

@N0chteil
Copy link
Contributor Author

N0chteil commented Oct 4, 2021

Reminder @AngryKiller

@N0chteil N0chteil changed the title Updated itunes-bridge Fix asar(-Unpack) error Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants