Commit Graph

18 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
2b2b133db1 config: put APP_NAME into a variable 2016-03-21 20:21:36 -07:00
Feross Aboukhadijeh
ce6d0e3255 add config.ROOT_PATH 2016-03-21 20:21:36 -07:00
Feross Aboukhadijeh
310eebce2a 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
e7e7afab3b implement barebones auto updater 2016-03-21 20:19:30 -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
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
DC
acc2b03d14 Save torrent files after resolving a magnet link 2016-03-19 21:42:37 -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
75841afcb5 ensure Posters/ folder exists 2016-03-19 16:30:36 -07:00
Feross Aboukhadijeh
684fa7dee7 Write poster images into "$CONFIG_PATH/posters" (fix #155) 2016-03-19 16:19:15 -07:00
Feross Aboukhadijeh
f21d7dd732 Move webtorrent icons into static/ 2016-03-10 19:11:49 -08:00
Feross Aboukhadijeh
7282865bc7 restructure folders 2016-03-10 14:52:49 -08:00
Feross Aboukhadijeh
7c94c4166c Create WebTorrent app icon
For #120.
2016-03-10 00:09:21 -08:00
Feross Aboukhadijeh
5b2ecab5ef UX: Add interface sounds 2016-03-09 01:54:52 -08:00
Feross Aboukhadijeh
2a423a8cb3 Use config.APP_NAME throughout 2016-03-07 15:48:22 -08:00