Added News UI.

Added News UI and implemented functionality.
Removed westeroscraft.xml as we don't need to cache it.
Updated westeroscraft.json.
Updated Electron to v2.0.0
This commit is contained in:
Daniel Scalzi
2018-05-06 21:45:20 -04:00
parent 252b82a944
commit 40de1e3cd3
10 changed files with 738 additions and 811 deletions

View File

@@ -1555,6 +1555,9 @@ class AssetGuard extends EventEmitter {
cb()
}
})
req.on('error', (err) => {
self.emit('dlerror', err)
})
req.on('data', function(chunk){
count += chunk.length
self.progress += chunk.length