aboutsummaryrefslogtreecommitdiffstats
path: root/install.js
diff options
context:
space:
mode:
Diffstat (limited to 'install.js')
-rw-r--r--install.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/install.js b/install.js
deleted file mode 100644
index 3700a92..0000000
--- a/install.js
+++ /dev/null
@@ -1,30 +0,0 @@
-var _pkg93tagtoinstall = "master"; // tag/branch to install
-var _pkg93cdn = false; // set this to true to load from the cdn (doesn't work with branches)
-$alert({
- msg: "Welcome to teh pkg93 " + _pkg93tagtoinstall + " installer, what do you want to do?",
- title: "pkg93 installer",
- btnOk: "Install/upgrade pkg93",
- btnCancel: "Run away",
- img: "//cdn.rawgit.com/1024x2/pkg93/70039c02/pkg.png"
-}, function(isOK) {
- if (isOK) {
- var _main = `var interval = setInterval(function () {
- try {
- if (!!le) {
- clearInterval(interval);
- $loader.script("https://${_pkg93cdn ? "cdn." : ""}rawgit.com/pkg93/pkg93/${_pkg93tagtoinstall}/pkg93.js");
- }
- } catch (err) {
- console.error(err);
- }
-}, 5000);`;
- localStorage["boot/pkg93.js"] = _main;
- eval(_main);
- $alert({
- msg: "pkg93 has installed successfully!",
- title: "pkg93 installer",
- btnOk: "kthxbai",
- img: "//cdn.rawgit.com/1024x2/pkg93/70039c02/pkg.png"
- });
- }
-});