aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknown2018-04-02 21:15:31 +0100
committerUnknown2018-04-02 21:15:31 +0100
commit0b388954cb7365e3b9b08546c031656ce45b7d08 (patch)
tree9e79594ba438463416ea205b41b501c18dd5b411
parentef6a91cc2c26243d1fd6dbe31b9fe47bac7c64d1 (diff)
add auto-patch
-rw-r--r--pkg93.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg93.js b/pkg93.js
index 398ac26..90e0acd 100644
--- a/pkg93.js
+++ b/pkg93.js
@@ -44,6 +44,9 @@ var failed = false;
console.log("[pkg93] Injecting packages...");
try {
var config = JSON.parse(localStorage[".pkg93/config.json"]);
+ config.installed.forEach(function (pkg) {
+ eval(localStorage[".pkg93/downloaded/" + pkg + ".js"]);
+ });
} catch (err) {
console.error("[pkg93] Couldn't load package information.");
failed = true;