Commit graph

37 commits

Author SHA1 Message Date
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
Alex Liebowitz
2761ebbd92 Attach did-finish-load event to win.webContents instead of win 2017-05-08 05:22:38 -04:00
Alex Liebowitz
ef4274012f Add better handling for URIs requested during load 2017-05-08 05:04:11 -04:00
Alex Liebowitz
499fa1214f Fix variable name in open URI callback 2017-05-08 02:33:54 -04:00
Alex Liebowitz
758bb59ccb Add basics of URI handling for Mac and Windows 2017-05-05 05:19:15 -04:00
Alex Liebowitz
9348d4d912 Move version checking into Electron 2017-04-27 02:58:34 -04:00
Jeremy Kauffman
a8d85d7c1d allow anyone with lbc into early access 2017-04-20 10:45:45 -04:00
Jeremy Kauffman
0b17ca6043 stop opening dev toolbar 2017-04-17 14:39:13 -04:00
Jeremy Kauffman
8d67d36ad9 views, rewards, fixes for no api, other fixes 2017-04-17 09:47:38 -04:00
Jeremy Kauffman
575db85477 so far 2017-04-17 09:46:51 -04:00
Alex Liebowitz
8614276f0c Improve shutdown process 2017-04-13 17:32:59 -04:00
Alex Liebowitz
4b11525bce Tweak shutdown logic 2017-03-27 16:48:28 -04:00
Alex Liebowitz
70da416ca2 Finish Windows compatibility for shutdown process 2017-03-27 16:48:28 -04:00
Jeremy Kauffman
2a0cf1d6db Merge branch 'master' into fast_pages 2017-03-27 09:46:47 -04:00
Jeremy Kauffman
dc13de7160 make page changes fast 2017-03-26 14:30:18 -04:00
Alex Liebowitz
3e33f78235 Add code to get process IDs for daemon on Windows 2017-03-25 10:27:20 -04:00
Alex Liebowitz
31e3b3006b Small bugfixes and typos 2017-03-25 10:27:20 -04:00
Alex Liebowitz
977acafb8c Refactor shutdown process 2017-03-25 10:26:50 -04:00
Alex Liebowitz
dead2bdeb3 Add Mac and Windows installer launching
Also starts a detached process so the window doesn't get held open
(many GUI apps launch the interface in a new process, so xdg-open
returns immediately, but it's not guaranteed).
2017-03-25 10:26:50 -04:00
Alex Liebowitz
71e8d42b27 Minor style fixes and tweaks 2017-03-25 10:24:34 -04:00
Alex Liebowitz
f51b720e05 Make upgrade process better at killing old daemons
- Manually call xdg-open instead of using shell.openItem(), which
   doesn't reliably work from the main process
 - If there's a connection error or timeout when asking the daemon
   to close, fall back on force killing
2017-03-25 10:24:34 -04:00
Alex Liebowitz
c086842972 Revert newest upgrade changes (need more work) 2017-03-22 07:21:48 -04:00
Alex Liebowitz
4958f9decf Make upgrade process better at killing old daemons
- Manually call xdg-open instead of using shell.openItem(), which
   doesn't reliably work from the main process
 - If there's a connection error or timeout when asking the daemon
   to close, fall back on force killing
2017-03-22 07:17:53 -04:00
Alex Grintsvayg
20064ee558 some progress, but needs more work 2017-03-17 18:05:25 -04:00
Alex Liebowitz
3c2f3abe8e Real update system
- Now asks the daemon to close, even if it wasn't started by the same
   app
 - Improved UX during upgrade process (cancel buttons, final dialog
   where you approve the update, etc.)
 - Saves updates in temp directory, closes app and launches the installer
2017-03-17 13:15:07 -04:00
Alex Grintsvayg
666fd5a490 renamed lbrynet to lbrynet-daemon, removed some unused code, lowercased daemon release name 2017-03-02 23:37:20 -05:00
jobevers
02dd08a72f allow lbrynet-daemon executable to be configured 2017-02-23 14:15:09 -06:00
jobevers
762712ed69 whitespace 2017-02-23 13:01:23 -06:00
jobevers
8a42412096 cleanup app comments 2017-02-23 12:46:25 -06:00
jobevers
f09bf620b2 allow render process to trigger a shutdown 2017-02-20 12:59:03 -06:00
jobevers
f6a28df636 better update handling 2017-02-16 21:26:57 -06:00
jobevers
eebe8d9b37 Get electron working on windows 2017-02-15 10:30:24 -06:00
jobevers
09a1120895 change lbrynet process signature 2017-02-08 14:04:13 -06:00
jobevers
1838ac3997 more logging around daemon process management 2017-02-08 10:20:19 -06:00
jobevers
2cfa4c5301 more updtes to build process 2017-01-26 18:21:53 -06:00
Renamed from electron/main.js (Browse further)