mirror of https://github.com/Kylart/KawAnime.git
watchLists will now be sorted alphabetically. New build script for multi-platform deployment.
This commit is contained in:
parent
d9d9426fd6
commit
ae5522e78c
11
package.json
11
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"
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue