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

@@ -26,6 +26,10 @@ tracker.on('jExtracted', (jPath) => {
process.send({task: 2, content: 'dl', jPath})
})
tracker.on('dlerror', (err) => {
process.send({task: 0.9, content: 'dl', err})
})
process.on('message', (msg) => {
if(msg.task === 0){
const func = msg.content