User:Walrus Ji/RedWarn QuickTemplate packInstall qQfshN9boR.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("eyJuYW1lIjoiV2VsY29tZSA2MCBMaW5rIiwiY3JlYXRlZEJ5IjoiV2FscnVzIEppIiwidGVtcGxhdGVzIjpbeyJ0aXRsZSI6IldlbGNvbWUiLCJhYm91dCI6Int7V2VsY29tZU1lbnV9fSB3aXRoIDYwIGxpbmtzIiwiY29udGVudCI6Int7c3Vic3Q6V2VsY29tZU1lbnV9fSJ9LHsidGl0bGUiOiJXZWxjb21lIEluZGlhIiwiYWJvdXQiOiJTaG9ydCBXZWxjb21lIHdpdGggbGluayB0byBXaWtpcHJvamVjdCBJbmRpYSIsImNvbnRlbnQiOiI8IS0tIEVudGVyIHlvdXIgY29udGVudCBoZXJlISBUaGlzIGJveCBmdWxseSBzdXBwb3J0cyB3aWtpdGV4dC4gT25jZSBkb25lLCB5b3UgY2FuIGNoZWNrIHRoYXQgeW91ciB0ZW1wbGF0ZSB3b3JrcyBhbmQgbG9va3MgYXMgZXhwZWN0ZWQgYnkgY2xpY2tpbmcgdGhlIHRlc3QgYnV0dG9uLiAtLT5cbnt7c3Vic3Q6d2VsY29tZS1pbn19In0seyJ0aXRsZSI6IlNpZ24gYW5kIGluZGVudCIsImFib3V0IjoiRXhwbGFpbiB0aGUgc2lnbmF0dXJlIGFuZCBpbmRlbnRhdGlvbiIsImNvbnRlbnQiOiI9PVBsZWFzZSBzaWduIGFuZCBpbmRlbnQgeW91ciBwb3N0cz09XG57e3N1YnN0OlV3LXRpbGRlfDI9XG46UGxlYXNlIG1ha2UgbmV3IGNvbW1lbnRzIGF0IHRoZSBib3R0b20gb2YgdGhlIHBhZ2UgYW5kXG46OltbV1A6SU5ERU5UXV0gdGhlbSBhcHByb3ByaWF0ZWx5IHVzaW5nIGFwcHJvcHJpYXRlIG51bWJlciBvZiBjb2xvbnMgOiB9fSB+fn5+In0seyJ0aXRsZSI6IlNtaWxleSBXZWxjb21lIiwiYWJvdXQiOiJDb2xvdXJmdWwgaWNvbnMgYW5kIHNtaWxleXMiLCJjb250ZW50Ijoie3tzdWJzdDpXZWxjb21lIHRvIFdpa2lwZWRpYX19In1dLCJwYWNrQ29kZSI6IldhbHJ1cyBKaS9xUWZzaE45Ym9SIn0=")); // 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); }); //