Windows URI handling #121

Merged
alexliebowitz merged 8 commits from windows-linux-uris into master 2017-05-12 22:46:49 +02:00

8 commits

Author SHA1 Message Date
Alex Liebowitz
32fd2c2c7a Update changelog 2017-05-11 06:17:37 -04:00
Alex Liebowitz
980a509260 Disable single instance app on Linux for now (Electron bug)
On Linux, app.makeSingleInstance is always returning true (i.e. "this
is not the original process").
2017-05-11 06:17:35 -04:00
Alex Liebowitz
d888707d56 Tweak logic in makeSingleInstance callback 2017-05-11 06:15:39 -04:00
Alex Liebowitz
df46c3f4e5 Undo normalization that Windows does to URIs passed in from other apps 2017-05-11 03:12:24 -04:00
Alex Liebowitz
2b6528ca3e Fix argv.length check in makeSingleInstance callback
Also correct length of argv: with Electron, there's just the
executable, not interpreter + filename.
2017-05-11 03:12:00 -04:00
Alex Liebowitz
856aa28db2 Convert to single-instance app
- Prevents multiple windows from being opens at once
 - Allows for URI launching by capturing argv from second process
2017-05-11 03:09:43 -04:00
Alex Liebowitz
b189b31347 Fix handling for URIs requested before window is open on Windows 2017-05-11 03:02:25 -04:00
Alex Liebowitz
d44d5806fd Add setAsDefaultProtocolClient call for Windows 2017-05-10 04:05:55 -04:00