restructure folders
@@ -1,4 +1,4 @@
|
|||||||
# WebTorrent.app
|
# <img src="WebTorrent.png" width="35"> WebTorrent.app
|
||||||
|
|
||||||
[![Gitter][webtorrent-gitter-image]][webtorrent-gitter-url]
|
[![Gitter][webtorrent-gitter-image]][webtorrent-gitter-url]
|
||||||
[![Travis Build][webtorrent-app-travis-image]][webtorrent-app-travis-url]
|
[![Travis Build][webtorrent-app-travis-image]][webtorrent-app-travis-url]
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#### WebTorrent, the streaming torrent client. For OS X, Windows, and Linux.
|
#### WebTorrent, the streaming torrent client. For OS X, Windows, and Linux.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="./resources/screenshot.png" width="562" height="630" alt="screenshot" align="center">
|
<img src="./static/screenshot.png" width="562" height="630" alt="screenshot" align="center">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## How to Contribute
|
## How to Contribute
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ var all = {
|
|||||||
|
|
||||||
// Pattern which specifies which files to ignore when copying files to create the
|
// Pattern which specifies which files to ignore when copying files to create the
|
||||||
// package(s).
|
// package(s).
|
||||||
ignore: /^\/(dist|resources\/screenshot.png)$/,
|
ignore: /^\/(dist|static\/screenshot.png)$/,
|
||||||
|
|
||||||
// The base directory where the finished package(s) are created.
|
// The base directory where the finished package(s) are created.
|
||||||
out: path.join(__dirname, '..', 'dist'),
|
out: path.join(__dirname, '..', 'dist'),
|
||||||
|
|||||||
16
config.js
@@ -4,12 +4,12 @@ module.exports = {
|
|||||||
APP_NAME: 'WebTorrent',
|
APP_NAME: 'WebTorrent',
|
||||||
APP_ICON: path.join(__dirname, 'WebTorrent.png'),
|
APP_ICON: path.join(__dirname, 'WebTorrent.png'),
|
||||||
INDEX: 'file://' + path.join(__dirname, 'renderer', 'index.html'),
|
INDEX: 'file://' + path.join(__dirname, 'renderer', 'index.html'),
|
||||||
SOUND_ADD: 'file://' + path.join(__dirname, 'resources', 'sound', 'add.wav'),
|
SOUND_ADD: 'file://' + path.join(__dirname, 'static', 'sound', 'add.wav'),
|
||||||
SOUND_DELETE: 'file://' + path.join(__dirname, 'resources', 'sound', 'delete.wav'),
|
SOUND_DELETE: 'file://' + path.join(__dirname, 'static', 'sound', 'delete.wav'),
|
||||||
SOUND_DISABLE: 'file://' + path.join(__dirname, 'resources', 'sound', 'disable.wav'),
|
SOUND_DISABLE: 'file://' + path.join(__dirname, 'static', 'sound', 'disable.wav'),
|
||||||
SOUND_DONE: 'file://' + path.join(__dirname, 'resources', 'sound', 'done.wav'),
|
SOUND_DONE: 'file://' + path.join(__dirname, 'static', 'sound', 'done.wav'),
|
||||||
SOUND_ENABLE: 'file://' + path.join(__dirname, 'resources', 'sound', 'enable.wav'),
|
SOUND_ENABLE: 'file://' + path.join(__dirname, 'static', 'sound', 'enable.wav'),
|
||||||
SOUND_ERROR: 'file://' + path.join(__dirname, 'resources', 'sound', 'error.wav'),
|
SOUND_ERROR: 'file://' + path.join(__dirname, 'static', 'sound', 'error.wav'),
|
||||||
SOUND_PLAY: 'file://' + path.join(__dirname, 'resources', 'sound', 'play.wav'),
|
SOUND_PLAY: 'file://' + path.join(__dirname, 'static', 'sound', 'play.wav'),
|
||||||
SOUND_STARTUP: 'file://' + path.join(__dirname, 'resources', 'sound', 'startup.wav')
|
SOUND_STARTUP: 'file://' + path.join(__dirname, 'static', 'sound', 'startup.wav')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ body {
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: local('Material Icons'),
|
src: local('Material Icons'),
|
||||||
local('MaterialIcons-Regular'),
|
local('MaterialIcons-Regular'),
|
||||||
url(../vendor/MaterialIcons-Regular.woff2) format('woff2');
|
url(../static/MaterialIcons-Regular.woff2) format('woff2');
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
|||||||
@@ -60,19 +60,19 @@ module.exports = {
|
|||||||
status: 'paused',
|
status: 'paused',
|
||||||
infoHash: 'f84b51f0d2c3455ab5dabb6643b4340234cd036e',
|
infoHash: 'f84b51f0d2c3455ab5dabb6643b4340234cd036e',
|
||||||
displayName: 'Big Buck Bunny',
|
displayName: 'Big Buck Bunny',
|
||||||
posterURL: '../resources/bigBuckBunny.jpg'
|
posterURL: path.join(__dirname, '..', 'static', 'bigBuckBunny.jpg')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
status: 'paused',
|
status: 'paused',
|
||||||
infoHash: '6a9759bffd5c0af65319979fb7832189f4f3c35d',
|
infoHash: '6a9759bffd5c0af65319979fb7832189f4f3c35d',
|
||||||
displayName: 'Sintel',
|
displayName: 'Sintel',
|
||||||
posterURL: '../resources/sintel.jpg'
|
posterURL: path.join(__dirname, '..', 'static', 'sintel.jpg')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
status: 'paused',
|
status: 'paused',
|
||||||
infoHash: '02767050e0be2fd4db9a2ad6c12416ac806ed6ed',
|
infoHash: '02767050e0be2fd4db9a2ad6c12416ac806ed6ed',
|
||||||
displayName: 'Tears of Steel',
|
displayName: 'Tears of Steel',
|
||||||
posterURL: '../resources/tearsOfSteel.jpg'
|
posterURL: path.join(__dirname, '..', 'static', 'tearsOfSteel.jpg')
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
downloadPath: path.join(os.homedir(), 'Downloads')
|
downloadPath: path.join(os.homedir(), 'Downloads')
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 976 KiB After Width: | Height: | Size: 976 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |