restructure folders

This commit is contained in:
Feross Aboukhadijeh
2016-03-10 14:52:49 -08:00
parent b904f590c8
commit 7282865bc7
21 changed files with 15 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
# WebTorrent.app
# <img src="WebTorrent.png" width="35">&nbsp; WebTorrent.app
[![Gitter][webtorrent-gitter-image]][webtorrent-gitter-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.
<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>
## How to Contribute

View File

@@ -28,7 +28,7 @@ var all = {
// Pattern which specifies which files to ignore when copying files to create the
// package(s).
ignore: /^\/(dist|resources\/screenshot.png)$/,
ignore: /^\/(dist|static\/screenshot.png)$/,
// The base directory where the finished package(s) are created.
out: path.join(__dirname, '..', 'dist'),

View File

@@ -4,12 +4,12 @@ module.exports = {
APP_NAME: 'WebTorrent',
APP_ICON: path.join(__dirname, 'WebTorrent.png'),
INDEX: 'file://' + path.join(__dirname, 'renderer', 'index.html'),
SOUND_ADD: 'file://' + path.join(__dirname, 'resources', 'sound', 'add.wav'),
SOUND_DELETE: 'file://' + path.join(__dirname, 'resources', 'sound', 'delete.wav'),
SOUND_DISABLE: 'file://' + path.join(__dirname, 'resources', 'sound', 'disable.wav'),
SOUND_DONE: 'file://' + path.join(__dirname, 'resources', 'sound', 'done.wav'),
SOUND_ENABLE: 'file://' + path.join(__dirname, 'resources', 'sound', 'enable.wav'),
SOUND_ERROR: 'file://' + path.join(__dirname, 'resources', 'sound', 'error.wav'),
SOUND_PLAY: 'file://' + path.join(__dirname, 'resources', 'sound', 'play.wav'),
SOUND_STARTUP: 'file://' + path.join(__dirname, 'resources', 'sound', 'startup.wav')
SOUND_ADD: 'file://' + path.join(__dirname, 'static', 'sound', 'add.wav'),
SOUND_DELETE: 'file://' + path.join(__dirname, 'static', 'sound', 'delete.wav'),
SOUND_DISABLE: 'file://' + path.join(__dirname, 'static', 'sound', 'disable.wav'),
SOUND_DONE: 'file://' + path.join(__dirname, 'static', 'sound', 'done.wav'),
SOUND_ENABLE: 'file://' + path.join(__dirname, 'static', 'sound', 'enable.wav'),
SOUND_ERROR: 'file://' + path.join(__dirname, 'static', 'sound', 'error.wav'),
SOUND_PLAY: 'file://' + path.join(__dirname, 'static', 'sound', 'play.wav'),
SOUND_STARTUP: 'file://' + path.join(__dirname, 'static', 'sound', 'startup.wav')
}

View File

@@ -103,7 +103,7 @@ body {
font-weight: 400;
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(../vendor/MaterialIcons-Regular.woff2) format('woff2');
url(../static/MaterialIcons-Regular.woff2) format('woff2');
}
.icon {

View File

@@ -60,19 +60,19 @@ module.exports = {
status: 'paused',
infoHash: 'f84b51f0d2c3455ab5dabb6643b4340234cd036e',
displayName: 'Big Buck Bunny',
posterURL: '../resources/bigBuckBunny.jpg'
posterURL: path.join(__dirname, '..', 'static', 'bigBuckBunny.jpg')
},
{
status: 'paused',
infoHash: '6a9759bffd5c0af65319979fb7832189f4f3c35d',
displayName: 'Sintel',
posterURL: '../resources/sintel.jpg'
posterURL: path.join(__dirname, '..', 'static', 'sintel.jpg')
},
{
status: 'paused',
infoHash: '02767050e0be2fd4db9a2ad6c12416ac806ed6ed',
displayName: 'Tears of Steel',
posterURL: '../resources/tearsOfSteel.jpg'
posterURL: path.join(__dirname, '..', 'static', 'tearsOfSteel.jpg')
}
],
downloadPath: path.join(os.homedir(), 'Downloads')

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

Before

Width:  |  Height:  |  Size: 976 KiB

After

Width:  |  Height:  |  Size: 976 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB