diff --git a/package.json b/package.json index f671012..3c0c7d7 100644 --- a/package.json +++ b/package.json @@ -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" } diff --git a/src/watchList/functions.js b/src/watchList/functions.js index ae0b6cd..824c344 100644 --- a/src/watchList/functions.js +++ b/src/watchList/functions.js @@ -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,