User:Walrus Ji/RedWarn QuickTemplate packInstall d5VVRQ7hpg.js

/* ++ ++
 * Generated automatically.         |
 * DO NOT EDIT THIS FILE OR ADD TO  |
 * YOUR COMMON.JS FILE. DOING SO    |
 * WILL CAUSE SERIOUS ISSUES.       |
 * WILL CAUSE SERIOUS ISSUES.       |

Install script (c) Ed. E (User:Ed6767) - license: https://gitlab.com/redwarn/redwarn-web rw.ui.loadDialog.show("Installing..."); let packSource = JSON.parse(atob("eyJuYW1lIjoiSGVscGZ1bCBub3RlcyIsImNyZWF0ZWRCeSI6IldhbHJ1cyBKaSIsInRlbXBsYXRlcyI6W3sidGl0bGUiOiJHcmFtbWFyIiwiYWJvdXQiOiJGb3IgY29uc3RydWN0aXZlIGNvbnRyaWJ1dG9ycyB3aXRoIHBvb3IgRW5nbGlzaCIsImNvbnRlbnQiOiI9PSBHcmFtbWFyIGlzc3VlcyBpbiB5b3VyIHJlY2VudCBhZGRpdGlvbnMgPT1cblxuSGVsbG8ge3tzdWJzdDpCQVNFUEFHRU5BTUV9fSwgSSdtIFtbVXNlcjp7e3N1YnN0OlJFVklTSU9OVVNFUn19fHt7c3Vic3Q6UkVWSVNJT05VU0VSfX1dXSBJIGFwcHJlY2lhdGUgeW91ciBlZmZvcnRzIHRvIGltcHJvdmUgdGhlIGFydGljbGUuIFNvbWUgb2YgeW91ciBlZGl0cyBoYXZlIGJlZW4gcmVtb3ZlZCBhbmQgYXJjaGl2ZWQgaW4gdGhlIFtbV1A6UEFHRUhJU1RPUll8cGFnZSBoaXN0b3J5XV0gYXMgdGhlIGVkaXRzIHdlcmUgaW1wcm9wZXJseSBwaHJhc2VkIHdpdGggcG9vciBncmFtbWFyLiBJIHVuZGVyc3RhbmQgdGhhdCBFbmdsaXNoIG1heSBub3QgYmUgeW91ciBmaXJzdCBsYW5ndWFnZSBhbmQgSSBkbyBub3QgZmF1bHQgeW91IGZvciBtYWtpbmcgc3VjaCBtaXN0YWtlcyBvciBub3QgaGF2aW5nIGEgbGFyZ2Ugdm9jYWJ1bGFyeSwgaXQgaXMgY29tcGxldGVseSBub3JtYWwgYW5kIG5vIG9uZSBzaG91bGQgYmUgZXhwZWN0ZWQgdG8ga25vdyB0aGUgbGFuZ3VhZ2UgdG8gcGVyZmVjdGlvbi4gSG93ZXZlciwgaWYgdGhpcyBpcyB5b3VyIHNpdHVhdGlvbiBwbGVhc2UgZmVlbCBmcmVlIHRvIGFzayBmb3IgaGVscCBvbiB0aGUgW1tXaWtpcGVkaWE6VGFsayBwYWdlIGd1aWRlbGluZXN8dGFsayBwYWdlXV0gYnkgW1tXaWtpcGVkaWE6Q2l0aW5nIHNvdXJjZXN8aW5jbHVkaW5nIHRoZSBjaXRhdGlvbl1dIGFsb25nIHdpdGggeW91ciBwcm9wb3NlZCBlZGl0cywgdGhlcmUgYXJlIG11bHRpcGxlIHVzZXJzIHdobyB3b3VsZCBiZSBnbGFkIHRvIGhlbHAgeW91IGZpeCB0aGUgZ3JhbW1hciByZWxhdGVkIGlzc3VlcyBieSBbW2NvcHkgZWRpdGluZ11dLiBZb3UgY291bGQgYWxzbyBjb25zaWRlciBkb2luZyBvdGhlciB0YXNrcyBsaXN0ZWQgYXQgW1tXaWtpcGVkaWE6VGFzayBDZW50ZXJdXS4gfn5+fiJ9XSwicGFja0NvZGUiOiJXYWxydXMgSmkvZDVWVlJRN2hwZyJ9")); // Load source from currentpack rw.config.templatePacks.push(packSource); // Push into config rw.info.writeConfig(true, =>{ // save config   rw.ui.loadDialog.close;    rw.quickTemplate.packStore = []; // clear out packs    // Show success dialog    rw.ui.confirmDialog( "Pack installed!", "RELOAD PAGE", =>window.location.reload, "", =>{}, 0); }); //