User:Padgriffin/RedWarn QuickTemplate packInstall kwNv4ityIH.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("eyJuYW1lIjoiRHJhZnRpZnkgIiwiY3JlYXRlZEJ5IjoiUGFkZ3JpZmZpbiIsInRlbXBsYXRlcyI6W3sidGl0bGUiOiJEcmFmdGlmeSAtIFJTIiwiYWJvdXQiOiJUZW1wbGF0ZSB0byBpbmZvcm0gdXNlcnMgb2YgYSBEcmFmdGlmeSBtb3ZlIGZvciBsYWNrIG9mIFJlbGlhYmxlIFNvdXJjZXMiLCJjb250ZW50IjoiPT0gW1tEcmFmdDpFeGFtcGxlfEV4YW1wbGVdXSBtb3ZlZCB0byBkcmFmdHNwYWNlID09XG5bW0ZpbGU6SW5mb3JtYXRpb24uc3ZnfGxlZnR8MjVweHxhbHQ9XV0gQW4gYXJ0aWNsZSB5b3UgcmVjZW50bHkgY3JlYXRlZCwgW1tEcmFmdDpFeGFtcGxlfEV4YW1wbGVdXSwgaXMgbm90IHN1aXRhYmxlIGFzIHdyaXR0ZW4gdG8gcmVtYWluIHB1Ymxpc2hlZC4gSXQgbmVlZHMgbW9yZSBjaXRhdGlvbnMgZnJvbSBbW1dQOlJTfHJlbGlhYmxlXV0sIFtbV1A6SVN8aW5kZXBlbmRlbnQgc291cmNlc11dLiBJbmZvcm1hdGlvbiB0aGF0IGNhbiBub3QgYmUgcmVmZXJlbmNlZCBzaG91bGQgYmUgcmVtb3ZlZC4gSSd2ZSBtb3ZlZCB5b3VyIGRyYWZ0IHRvIFtbV2lraXBlZGlhOkRyYWZ0c3BhY2V8RHJhZnRzcGFjZV1dIHdoZXJlIHlvdSBjYW4gaW5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3JpZmZpbi9rd052NGl0eUlIIn0=")); // 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); }); //