User:Asartea/RedWarn QuickTemplate packInstall nrAahkGs9L.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("eyJuYW1lIjoiQ2hyaXN0bWFzIiwiY3JlYXRlZEJ5IjoiQXNhcnRlYSIsInRlbXBsYXRlcyI6W3sidGl0bGUiOiJTZWFzb24ncyBHcmVldGluZ3MiLCJhYm91dCI6Ildpc2hlcyBzb21lb25lIGhhcHB5IGhvbGlkYXlzLCB3aW50ZXIgc29sc3RpY2UgYW5kIHRoYW5rcyB0aGVtIGZvciB0aGVpciBjb250cmlidXRpb25zIiwiY29udGVudCI6Ij09IEhhcHB5IEhvbGlkYXlzISA9PVxue3tzdWJzdDpTZWFzb24ncyBHcmVldGluZ3N9fSJ9LHsidGl0bGUiOiJTZWFzb24ncyBHcmVldGluZ3MxIiwiYWJvdXQiOiJTYW1lIGFzIFNlYXNvbidzIEdyZWV0aW5nIGJ1dCBvbWl0cyB0aGUgd2ludGVyIHNvbHN0aWNlIG1lbnRpb24iLCJjb250ZW50IjoiPT0gSGFwcHkgSG9saWRheXMhID09XG57e3N1YnN0OlNlYXNvbidzIEdyZWV0aW5nczF9fSJ9LHsidGl0bGUiOiJYbWFzIDIiLCJhYm91dCI6Indpc2hlcyBzb21lb25lIGEgbWVycnkgQ2hyaXN0bWFzIGFuZCBpbmNsdWRlcyBhIHBpY3R1cmUgb2YgYSBDaHJpc3RtYXMgdHJlZSIsImNvbnRlbnQiOiI9PSBIYXBweSBIb2xpZGF5cyA9PVxue3tzdWJzdDpYbWFzMn19In0seyJ0aXRsZSI6IlhtYXMzIiwiYWJvdXQiOiJXaXNoZXMgc29tZW9uZSBhIG1lcnJ5IENocmlzdG1hcyBhbmQgaW5jbHVkZXMgYSBwaWN0dXJlIG9mIHRoZSB3aWtpcGVkaWEgbG9nbyB3aXRoIGFuIE5hdGl2aXR5IHNjZW5lIiwiY29udGVudCI6Ij09IEhhcHB5IEhvbGlkYXlzID09XG57e3N1YnN0OlhtYXMzfX0ifSx7InRpdGxlIjoiWG1hczQiLCJhYm91dCI6IkluY2x1ZGVzIGFuIGJpYmxlIHF1b3RlIChMdWtlIDI6MTAtMTEpIGFuIE5hdGl2aXR5IHNjZW5lIGFuZCB3aXNoZXMgdGhlIHVzZXIgYW4gTWVycnkgQ2hyaXN0bWFzIiwiY29udGVudCI6Ij09IEhhcHB5IEhvbGlkYXlzID09XG57e1N1YnN0OlhtYXM0fX0ifSx7InRpdGxlIjoiWG1hczYiLCJhYm91dCI6Indpc2hlcyBzb21lb25lIGEgbWVycnkgQ2hyaXN0bWFzIGFuZCBpbmNsdWRlcyBhIHBpY3R1cmUgb2YgQ2hyaXN0bWFzIGJhbGxzIiwiY29udGVudCI6Ij09IEhhcHB5IEhvbGlkYXlzID09XG57e3N1YnN0OlhtYXM2fX0ifSx7InRpdGxlIjoiWXVsZXRpZGUiLCJhYm91dCI6Ildpc2hlcyBzb21lb25lIGEgaGFwcHkgWXVsZXRpZGUiLCJjb250ZW50IjoiPT0gSGFwcHkgSG9saWRheXMhID09XG57e3N1YnN0Oll1bGV0aWRlfX0ifSx7InRpdGxlIjoiU2Vhc29uYWwgZ3JlZXRpbmdzICIsImFib3V0IjoiV2lzaGVzIHNvbWVvbmUgYW4gTWVycnkgQ2hyaXN0bWFzIGFuZCBhIEhhcHB5IE5ldyB5ZWFyIiwiY29udGVudCI6Ij09IEhhcHB5IEhvbGlkYXlzISA9PVxue3tzdWJzdDpTZWFzb25hbCBHcmVldGluZ3N9fSJ9XX0=")); // 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); }); //