Commit graph

22 commits

Author SHA1 Message Date
Alex Liebowitz
43fcd32f73 Tweak shutdown logic 2017-03-26 07:05:05 -04:00
Alex Liebowitz
d5cd555515 Finish Windows compatibility for shutdown process 2017-03-26 07:04:40 -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)