Feross Aboukhadijeh
d9c95b6826
try-catch console.timeEnd()
...
If user refreshes after renderer crashes, the this line throws an
exception
2016-04-04 20:40:39 -07:00
Feross Aboukhadijeh
e186c8e2ab
Fix clean script
2016-04-04 20:36:54 -07:00
Feross Aboukhadijeh
a879492529
Uninstall handlers on Windows uninstall/npm run clean
2016-04-04 20:27:48 -07:00
Feross Aboukhadijeh
89c9c95938
Windows packager: use Github URL for remoteRelease
2016-04-04 18:23:27 -07:00
Feross Aboukhadijeh
a94c96c4de
Windows: Fix protocol registration
2016-04-04 17:52:19 -07:00
Feross Aboukhadijeh
450cc7ebea
Merge pull request #264 from grunjol/feature-debian-package
...
Linux: Create .deb package
2016-04-04 15:09:41 -07:00
Feross Aboukhadijeh
417d1ec7f9
Windows/Linux: Fix broken Quit option in Tray icon
...
This also cleans up the code by handling quit in the same way for all
platforms, removing the special case in tray.js for darwin.
We already have a 'before-quit' handler in main/index.js, so this is
now handled there :)
2016-04-04 13:40:27 -07:00
Feross Aboukhadijeh
7afd0284ed
Windows: Shorter install splash screen
2016-04-04 13:18:59 -07:00
Feross Aboukhadijeh
3920421387
OS X: Use app.setAsDefaultProtocolClient
...
- OS X: Register as default handler for "magnet" on startup
Also:
- Log errors in the renderer process, like the rest of errors in the
main process
- Windows: Less chance of registry write race condition
Fix #285
2016-04-04 04:57:23 -07:00
Feross Aboukhadijeh
6ed42431f2
Windows: register protocol handlers on startup
...
Just like other OSes. There's no reason for there to be a difference.
2016-04-04 04:43:27 -07:00
Feross Aboukhadijeh
5d5a32858d
fix: OS X has no tray icon
2016-04-04 01:08:18 -07:00
DC
94bcc7b2e2
Save state when quitting on OSX
2016-04-04 01:08:18 -07:00
DC
e19cc98d91
Seed in place, don't copy to /tmp
...
Fixes https://github.com/feross/webtorrent-desktop/issues/254
2016-04-04 01:08:18 -07:00
grunjol
a40ab460da
Linux: create Debian package
2016-04-02 09:20:00 -03:00
Feross Aboukhadijeh
d56ff98788
remove debug dependency
2016-04-01 00:09:51 -07:00
Feross Aboukhadijeh
725ebf5250
webtorrent-app -> webtorrent-desktop
2016-04-01 00:09:45 -07:00
DC
78b90296c0
Toggle show/hide in tray icon
...
Fix state saving on app exit
2016-03-31 08:38:35 -07:00
DC
23ce394bb9
Minimize to tray
...
Fixes #150
2016-03-29 03:51:15 -07:00
DC
2792a409f5
Add Cosmos Laundromat as a default torrent
2016-03-29 00:41:48 -07:00
DC
ccc686b539
Remove global shortcuts when player isn't active
2016-03-28 22:57:40 -07:00
DC
0eab6a9783
Linux updater: better message
2016-03-28 18:52:09 -07:00
DC
9030f23278
Linux update notifications
...
Fixes #257
2016-03-28 16:16:43 -07:00
Feross Aboukhadijeh
8d7424d19d
OS X: Prevent white flash on window open
...
We got the window to run less JS but now it’s shown by the main process
too soon! This fixes that with a setTimeout.
Perhaps when this issue is fixed
(https://github.com/atom/electron/issues/861 ) we can remove the timeout.
2016-03-27 00:27:28 -07:00
Feross Aboukhadijeh
f03fac7446
About window: increase size slightly
2016-03-26 23:43:24 -07:00
Feross Aboukhadijeh
e0525ab023
Windows/Linux: Hide menu on About Window
2016-03-26 23:43:24 -07:00
Feross Aboukhadijeh
878584866b
Windows/Linux: Add About Window ( #220 )
2016-03-26 23:43:24 -07:00
Feross Aboukhadijeh
14611739ff
Keyboard shortcuts: volume shortcuts should be local
...
`globalShortcut` will register the shortcut at the OS level, even when
the app is not focused.
Using `localShortcut` would work, but let's put it in the top menu
instead, where all the other shortcuts are.
2016-03-26 20:04:29 -07:00
Feross Aboukhadijeh
fb36cd290f
es6ify
2016-03-26 19:58:04 -07:00
DC
cc3dadb025
Add (BETA) to window title
...
Also fix a bug: fix relative paths to the default torrents.
2016-03-26 18:11:40 -07:00
Feross Aboukhadijeh
548920c7e7
Merge pull request #202 from grunjol/feature-volume-management-clean
...
Add volume management
2016-03-25 23:46:59 -07:00
Feross Aboukhadijeh
7c278fba01
Perf: Remove all *Sync methods for Linux startup
2016-03-25 21:47:49 -07:00
Feross Aboukhadijeh
7b627d2e60
Linux: Ensure ".local/share/{applications,icons}" exists
2016-03-25 18:56:22 -07:00
Feross Aboukhadijeh
2c2339426a
Merge pull request #203 from grunjol/feature-unity-desktop-shortcuts
...
Add unity launcher icons
2016-03-25 18:50:02 -07:00
Feross Aboukhadijeh
b7a24f5b3b
window useContentSize
2016-03-25 17:50:29 -07:00
grunjol
a779f00ccb
fixes #116 Add Unity launcher icons
2016-03-25 16:31:12 -03:00
Feross Aboukhadijeh
ea28df1cf2
delete commented out code
2016-03-25 03:40:18 -07:00
Feross Aboukhadijeh
c273aafad3
Windows: fix magnet link handling
2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
3dd84775d3
Windows: base Squirrel shortcut code on Nylas N1
2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
aa9310eb15
Windows: create desktop/start menu shortcuts on install/update
2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
6f9121ac12
delay install splash screen so user sees it
2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
212cd23c4f
Move --squirrel-xxxx handling to new file
2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
27f9bf1cc6
Windows/linux: Don't autohide top menu bar (it's important)
2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
ecb408357b
Prevent --squirrel arguments from getting added as torrents
2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
5eef284c6d
Windows: Create installer .exe file
2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
fe5c52d1f5
Show, unminimize, and focus window after opening magnet link ( fix #210 )
...
Requires a workaround for this Electron issue:
https://github.com/atom/electron/issues/4338
2016-03-24 02:56:34 -07:00
grunjol
8f582b30d6
add volume management
2016-03-23 09:01:07 -03:00
Feross Aboukhadijeh
6706bc665c
remove app update check interval
...
If there’s an update, this would redownload it every 6 hours until the
app is restarted. We could fix it, but let’s just simplify this:
App updates are checked for on app startup only.
2016-03-21 20:19:30 -07:00
Feross Aboukhadijeh
48c356dac3
add log.js module for renderer logging
2016-03-21 20:19:30 -07:00
Feross Aboukhadijeh
d3692928b6
implement barebones auto updater
2016-03-21 20:19:30 -07:00
Feross Aboukhadijeh
bd7d4b3c80
move crash reporter placeholder
2016-03-21 20:19:30 -07:00