aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);}};