Commit Graph

158 Commits

Author SHA1 Message Date
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
Feross Aboukhadijeh
1022d616d2 Unpack icon files so setting browserWindow.icon works 2016-03-20 01:10:41 -07:00
Feross Aboukhadijeh
c8bd39056c Register .torrent file hander on Windows 2016-03-19 23:12:58 -07:00
Feross Aboukhadijeh
29138fc83c add documentation for registerProtocolHandler 2016-03-19 20:32:19 -07:00
Feross Aboukhadijeh
765d3bde56 detect if app is running in production
If app is running in “production” (i.e. it has been packaged), then it
will be invoked with one less argument.

WebTorrent.exe arguments

vs.

electron.exe /path/to/app arguments

We need to detect this to correctly handle command line arguments.
2016-03-19 20:32:19 -07:00
Feross Aboukhadijeh
84a87dd1de log command line arguments 2016-03-19 20:32:19 -07:00
Feross Aboukhadijeh
81bb8eea7b do all logging in the renderer 2016-03-19 20:32:19 -07:00
Feross Aboukhadijeh
afe5151e28 Handle command line arguments 2016-03-19 20:32:19 -07:00
Feross Aboukhadijeh
e70e32c5f8 use process.execPath instead of app.getPath('exec')
They’re equivalent
2016-03-19 20:32:19 -07:00