Commit Graph

452 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
041dd708ec Merge pull request #188 from feross/nav
Implement back/forward buttons
2016-03-20 23:16:37 -07:00
Feross Aboukhadijeh
d0ddf6909a Implement back/forward buttons (fix #180) 2016-03-20 22:54:51 -07:00
Feross Aboukhadijeh
90f1b02895 Use mkdirp; remove unneeded saveState() call 2016-03-20 17:09:59 -07:00
Feross Aboukhadijeh
9ecb694957 always log errors to console 2016-03-20 16:26:12 -07:00
Feross Aboukhadijeh
e4476a8f88 style 2016-03-20 16:26:12 -07:00
Feross Aboukhadijeh
839aee3c55 Merge pull request #184 from feross/image-optim
Run ImageOptim over static images
2016-03-20 16:24:23 -07:00
Feross Aboukhadijeh
96b8a40604 Run ImageOptim over static images
Save 268KB (22% file size)
2016-03-20 16:20:37 -07:00
Feross Aboukhadijeh
5c0029ac67 Merge pull request #183 from grunjol/feature-linux-desktop-icon
make png square
2016-03-20 16:16:12 -07:00
grunjol
d9d56fd7ad Merge branch 'master' into feature-linux-desktop-icon 2016-03-20 20:02:29 -03:00
Feross Aboukhadijeh
e72c6c4adf update AUTHORS.md 2016-03-20 16:01:23 -07:00
Feross Aboukhadijeh
87ae5a733d Merge pull request #182 from grunjol/master
add icon for linux desktop file
2016-03-20 16:00:44 -07:00
grunjol
c597c7cd36 make png square 2016-03-20 19:56:32 -03:00
grunjol
6dacc445e8 add icon for linux desktop file 2016-03-20 12:47:55 -03:00
Feross Aboukhadijeh
f21d869bf7 Merge pull request #175 from feross/prevent-multiple
Prevent multiple instances of the app from running at the same time
2016-03-20 04:11:11 -07: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
07cce66a79 Merge pull request #174 from feross/linux-handler
Linux: Register .torrent file/magnet link handlers
2016-03-20 03:36:04 -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
8ae727db03 rely on electron's automatic ASAR handling 2016-03-20 03:29:02 -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
DC
b6bd9dbb70 Fix startTorrenting / add file functionality 2016-03-20 02:06:57 -07:00
DC
26dc1e82fd Airplay support. Nicer looking cast screen 2016-03-20 01:59:25 -07:00
Feross Aboukhadijeh
66648186f4 Merge pull request #172 from feross/windows-torrent-handler
Set Windows protocol/file handler icons; unpack icon for browserWindow.icon
2016-03-20 01:14:04 -07:00
Feross Aboukhadijeh
fb37b87297 set windows protocol/file icons 2016-03-20 01:10:41 -07:00
Feross Aboukhadijeh
45b36fb7a1 config.COPYRIGHT -> APP_COPYRIGHT 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
f1c27f2a69 config.COPYRIGHT 2016-03-20 01:10:41 -07:00
Feross Aboukhadijeh
d305632d82 Merge pull request #170 from feross/windows-torrent-handler
Register .torrent file hander on Windows
2016-03-19 23:50:14 -07:00
Feross Aboukhadijeh
c8bd39056c Register .torrent file hander on Windows 2016-03-19 23:12:58 -07:00
DC
acc2b03d14 Save torrent files after resolving a magnet link 2016-03-19 21:42:37 -07:00
Nate Goldman
518e01afb5 Merge pull request #168 from feross/player-tweaks
fix hide on hover, always show playback position
2016-03-19 21:13:10 -07:00
Nate Goldman
f8b968c5ec fix hide on hover, always show playback position 2016-03-19 20:50:57 -07:00
Feross Aboukhadijeh
2b555e12b8 Merge pull request #166 from feross/windows-protocol-handler
Windows: register protocol handler for magnet links
2016-03-19 20:36:00 -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
Feross Aboukhadijeh
3d1fd56450 Use real path to WebTorrent.exe 2016-03-19 20:32:19 -07:00
Feross Aboukhadijeh
ae935af153 Windows: register protocol handler without needing Admin privledges 2016-03-19 20:32:18 -07:00
Feross Aboukhadijeh
2cc8ebc9f8 Windows: register protocol handler for magnet links 2016-03-19 20:32:18 -07:00
DC
381087208c Fix opening files and folders 2016-03-19 19:01:17 -07:00
Feross Aboukhadijeh
b129fc3b4c Merge pull request #164 from feross/osx-protocol-handler
OS X: open magnet links in WebTorrent
2016-03-19 17:16:58 -07:00
Feross Aboukhadijeh
0f263b89e5 OS X: open magnet links in WebTorrent 2016-03-19 17:09:05 -07:00
Feross Aboukhadijeh
6b6d1ee1c7 fix: ignore error if poster path already exists 2016-03-19 17:06:56 -07:00
Feross Aboukhadijeh
f613486bb8 Fix merge mistake 2016-03-19 16:42:17 -07:00
Feross Aboukhadijeh
abc6b6eff0 Merge pull request #163 from feross/poster-image-folder
Write poster images into "$CONFIG_PATH/Posters"
2016-03-19 16:42:05 -07:00
Feross Aboukhadijeh
75841afcb5 ensure Posters/ folder exists 2016-03-19 16:30:36 -07:00