You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.
Hi! Awesome app. I tried creating an electron version using nativefier but every time the app tries to make a request it opens the request's url in my browser. Is there anything I can do to prevent that? Is there anything that can be done to prevent it? It makes it unusable as a native electron app.
The text was updated successfully, but these errors were encountered:
This is because nativefier will automatically try and open any external-urls outside the electron-app. To force it to consider the url as "internal" this has to be specified on the command line.
example:
nativefier --name "Play Apple Music" --internal-urls ".(itunes.apple.com)."
But this will still fail due to getting a 405 (method not allowed) from the authenticateMusicKitRequest :/
@alx242 I haven't checked the MusicKit documentation so correct me if I'm wrong but isn't the use of external-urls to perform actions inside the app a consequence of using Angular? Would using different tools (e.g. React) help solve the issue?
I tried to run it as an Electron app as well and ran into blank auth popups. This is the same issue described in #17. Given that MusicKit handles all new tab behavior, this is beyond my control.
Hi! Awesome app. I tried creating an electron version using nativefier but every time the app tries to make a request it opens the request's url in my browser. Is there anything I can do to prevent that? Is there anything that can be done to prevent it? It makes it unusable as a native electron app.
The text was updated successfully, but these errors were encountered: