Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Conversation

kevinsawicki
Copy link
Contributor

I noticed in #227 that the Protocol Handler demo was not working in the Mac App Store build. It looks like it is actually not working in any build.

Since the app is packaged in a .asar file the link to protocol-link.html needs to be unpacked since browsers can't read files from app.asar so shell.openExternal would fail.

This pull request moves protocol-link.html to the app.asar.unpacked folder so it can be read as a normal file when opened externally.

@jlord
Copy link
Contributor

jlord commented Jun 13, 2016

Oh wow, very nice. 👍

@kevinsawicki kevinsawicki merged commit c3271ae into master Jun 13, 2016
@kevinsawicki kevinsawicki deleted the unpack-protocol-link branch June 13, 2016 20:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants