Commit Graph

446 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
509a2ec07b Run ImageOptim over static images
Save 268KB (22% file size)
2016-03-20 16:20:37 -07:00
Feross Aboukhadijeh
1c2d454be9 Merge pull request #183 from grunjol/feature-linux-desktop-icon
make png square
2016-03-20 16:16:12 -07:00
grunjol
80fa902299 Merge branch 'master' into feature-linux-desktop-icon 2016-03-20 20:02:29 -03:00
Feross Aboukhadijeh
64ab3a2363 update AUTHORS.md 2016-03-20 16:01:23 -07:00
Feross Aboukhadijeh
ad42a16c54 Merge pull request #182 from grunjol/master
add icon for linux desktop file
2016-03-20 16:00:44 -07:00
grunjol
eddf268ae9 make png square 2016-03-20 19:56:32 -03:00
grunjol
5a4684d3c6 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
Feross Aboukhadijeh
7738aa2f16 rename "npm run cleanup" to "npm run clean" 2016-03-19 16:20:11 -07:00
Feross Aboukhadijeh
684fa7dee7 Write poster images into "$CONFIG_PATH/posters" (fix #155) 2016-03-19 16:19:15 -07:00
Feross Aboukhadijeh
0c9e2cc27e Merge pull request #162 from feross/osx-dock
Fix Exception when dropping .torrent file onto Dock icon when app is closed
2016-03-19 16:09:32 -07:00
Feross Aboukhadijeh
173119ed9f Merge pull request #157 from feross/package
Cleanup build script; Run plist update function for all builds
2016-03-19 16:09:04 -07:00
Feross Aboukhadijeh
4f40e5d963 Fix Exception when dropping .torrent file onto Dock icon when app is closed
Fixes #154
2016-03-19 16:07:35 -07:00
Feross Aboukhadijeh
1430537ea8 Cleanup build script; Run plist update function for all builds 2016-03-19 16:06:22 -07:00