User:User3749/RedWarn QuickTemplate packInstall HquIXwZ8fI.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("eyJuYW1lIjoiV2VsY29tZSB1c2VyIiwiY3JlYXRlZEJ5IjoiVXNlcjM3NDkiLCJ0ZW1wbGF0ZXMiOlt7InRpdGxlIjoiU3RhbmRhcmQgd2VsY29tZSB3aXRoIG5hbWUgb2YgYXJ0aWNsZSIsImFib3V0Ijoie3t3ZWxjb21lfX0sIHN0YW5kYXJkIHdlbGNvbWUgZm9yIHJlZ2lzdGVyZWQgdXNlcnMsIGNvbnRhaW5pbmcgdGhlIG5hbWUgb2YgdGhlIGFydGljbGUgdGhhdCB0aGV5IGhhdmUgZWRpdGVkLiIsImNvbnRlbnQiOiI8IS0tIEVudGVyIHlvdXIgY29udGVudCBoZXJlISBUaGlzIGJveCBmdWxseSBzdXBwb3J0cyB3aWtpdGV4dC4gT25jZSBkb25lLCB5b3UgY2FuIGNoZWNrIHRoYXQgeW91ciB0ZW1wbGF0ZSB3b3JrcyBhbmQgbG9va3MgYXMgZXhwZWN0ZWQgYnkgY2xpY2tpbmcgdGhlIHRlc3QgYnV0dG9uLiAtLT5cbnt7c3Vic3Q6d2VsY29tZXxhcnQ9e3tSV1RFWFR8QXJ0aWNsZSBuYW1lIG9mIGVkaXQgKG9wdGlvbmFsKXxhcnRuYW1lfX19fSB+fn5+In0seyJ0aXRsZSI6IlN0YW5kYXJkIHdlbGNvbWUgd2l0aG91dCBuYW1lIG9mIGFydGljbGUiLCJhYm91dCI6Int7d2VsY29tZX19LCB3aXRob3V0IHRoZSBuYW1lIG9mIHRoZSBhcnRpY2xlIHRoYXQgdGhleSBo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GUgYSBzcGFjZSBvciBkYXNoIGJlZm9yZSB0aGUgc3VmZml4KXxjdXN0b20gd2VsY29tZSB1bmxpbmsgc3VmZml4fX19fSAifV19")); // 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); }); //