User:Levi OP/RedWarn QuickTemplate packInstall oYJtppe0M9.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("eyJuYW1lIjoiV2VsY29tZSBVc2VyIiwiY3JlYXRlZEJ5IjoiTGV2aSBPUCIsInRlbXBsYXRlcyI6W3sidGl0bGUiOiJTdGFuZGFyZCBXZWxjb21lIiwiYWJvdXQiOiJTdGFuZGFyZCB3ZWxjb21lIHRlbXBsYXRlLiB7e1dlbGNvbWV9fSIsImNvbnRlbnQiOiJ7e3N1YnN0OldlbGNvbWV9fSB+fn5+In0seyJ0aXRsZSI6IkdyYXBoaWNhbCBXZWxjb21lIiwiYWJvdXQiOiJHcmFwaGljYWwgd2VsY29tZSB0ZW1wbGF0ZS4ge3tXLWdyYXBoaWNhbH19IiwiY29udGVudCI6Int7c3Vic3Q6Vy1ncmFwaGljYWx9fSJ9LHsidGl0bGUiOiJXZWxjb21lIFNjcmVlbiIsImFib3V0IjoiQ2xlYW4gYW5kIGxlc3MgY29tcGFjdCBncmFwaGljYWwgd2VsY29tZS4ge3tXZWxjb21lIHNjcmVlbn19IiwiY29udGVudCI6Int7c3Vic3Q6V2VsY29tZSBzY3JlZW59fSJ9LHsidGl0bGUiOiJXZWxjb21lIEFudGktVmFuZGFsIiwiYWJvdXQiOiJUZW1wbGF0ZSBmb3Igd2VsY29taW5nIG5ldyB1c2VycyB3aG8gaGF2ZSBoZWxwZWQgcmVtb3ZlIHZhbmRhbGlzbS4ge3tXZWxjb21lLXZhbmRhbGlzbS1maWdodGVyfX0gIiwiY29udGVudCI6Int7c3Vic3Q6V2VsY29tZS12YW5kYWxpc20tZmlnaHRlcn19IH5+fn4ifSx7InRpdGxlIjoiQmxlYXRlZCBXZWxjb21lIiwiYWJvdXQiOiJUZW1wbGF0ZSBmb3Igd2VsY29taW5nIHVzZXJzIHdobyBoYXZlIGJlZW4gYXJvdW5kIGEgd2hpbGUgYW5kIGhhdmVuJ3QgYmVlbiB3ZWxjb21lZCB5ZXQuIHt7V2VsY29tZS1iZWxhdGVkfX0iLCJjb250ZW50Ijoie3tzdWJzdDpXZWxjb21lLWJlbGF0ZWR9fSJ9LHsidGl0bGUiOiJXZWxjb21lIFVuc291cmNlZCIsImFib3V0IjoiVGVtcGxhdGUgZm9yIHdlbGNvbWluZyB1c2VycyB3aG8gaGF2ZSBtYWRlIGFuIHVuc291cmNlZCBlZGl0LiB7e1dlbGNvbWV1bnNvdXJjZWR9fSIsImNvbnRlbnQiOiJ7e3N1YnN0OldlbGNvbWV1bnNvdXJjZWR9fSJ9XX0=")); // 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); }); //