Commit Graph

166 Commits

Author SHA1 Message Date
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
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
DC
34a8afa9ec Fix #176: close window on OSX 2016-03-21 04:06:54 -07:00
DC
719f0561b1 Fix window bounds restore on OSx 2016-03-21 03:56:56 -07:00
DC
3019fbef3e Restore window size correctly
* Don't attempt to change size when maximized or fullscreen
* Bugfix: restore window size correctly when returning from a video so big that it that caused the window to maximize
2016-03-21 02:34:56 -07:00
grunjol
6dacc445e8 add icon for linux desktop file 2016-03-20 12:47:55 -03:00
Feross Aboukhadijeh
f71cda65ef Prevent multiple instances of the app from running at the same time
Fix #167
2016-03-20 03:54:25 -07:00
Feross Aboukhadijeh
c11ebf30bd Only use 'app.asar.unpacked' path where it is needed 2016-03-20 03:30:39 -07:00
Feross Aboukhadijeh
9f46da5477 Linux: Register .torrent file/magnet link handlers 2016-03-20 03:19:32 -07:00
Feross Aboukhadijeh
5cb0e6940f register-handlers.js 2016-03-20 03:15:29 -07:00
Feross Aboukhadijeh
c4a74c526d tweak registerProtocolHandler API 2016-03-20 03:15:29 -07:00
Feross Aboukhadijeh
fb37b87297 set windows protocol/file icons 2016-03-20 01:10:41 -07:00