watchLists will now be sorted alphabetically. New build script for multi-platform deployment.

This commit is contained in:
Kylart 2017-03-06 02:12:29 +01:00
parent d9d9426fd6
commit ae5522e78c
2 changed files with 10 additions and 5 deletions

View File

@ -6,7 +6,8 @@
"scripts": {
"start": "electron .",
"pack": "build --dir",
"dist": "build"
"dist": "build -mwl",
"helpBuild": "echo 'https://github.com/electron-userland/electron-builder#cli-usage'"
},
"repository": "https://github.com/Kylart/KawAnime",
"keywords": [
@ -40,12 +41,12 @@
"dmg": {
"contents": [
{
"x": 130,
"y": 220
"x": 120,
"y": 100
},
{
"x": 410,
"y": 220,
"x": 400,
"y": 100,
"type": "link",
"path": "/Applications"
}

View File

@ -35,6 +35,10 @@ exports.loadLists = (object) => {
}
exports.saveLists = (object) => {
object.seeing.sort()
object.seen.sort()
object.watchList.sort()
let json = JSON.stringify({
"seeing": object.seeing,
"seen": object.seen,