diff options
author | Unknown | 2018-04-02 21:15:31 +0100 |
---|---|---|
committer | Unknown | 2018-04-02 21:15:31 +0100 |
commit | 0b388954cb7365e3b9b08546c031656ce45b7d08 (patch) | |
tree | 9e79594ba438463416ea205b41b501c18dd5b411 | |
parent | ef6a91cc2c26243d1fd6dbe31b9fe47bac7c64d1 (diff) |
add auto-patch
-rw-r--r-- | pkg93.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |