aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknown2018-06-09 13:19:20 +0100
committerUnknown2018-06-09 13:19:20 +0100
commit05a7647c4478f8a3f9c81ed17c225b8bd7948957 (patch)
tree7d69b8ab26ed887e32b2c5d653999ab1b3b55ef0
parentd0344e0ed79ad5ef0383985e46b5c2fac275644a (diff)
fix bag
-rw-r--r--pkg93.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg93.js b/pkg93.js
index 61c8387..6977b45 100644
--- a/pkg93.js
+++ b/pkg93.js
@@ -80,18 +80,18 @@ var pkg93 = {
cli.log("<b><span style='color:#0f0'>MSG</span></b> " + json.msg);
for (let item of json.packages) {
try {
- cli.log("<b><span style='color:#0f0'>OK</span></b> " + item + "@" + source);
config.pkglist.push(item + "@" + source);
+ cli.log("<b><span style='color:#0f0'>OK</span></b> " + item + "@" + source);
} catch (err) {
cli.log("<b><span style='color:#f00'>ERR</span></b> " + err.message);
}
}
+ localStorage[".pkg93/config.json"] = JSON.stringify(config);
res();
};
xhr.send();
});
}
- localStorage[".pkg93/config.json"] = JSON.stringify(config);
},
get: async function(pkg, cli) {
cli = cli || {log: (i) => {$log(i);}};