User:Walrus Ji/RedWarn QuickTemplate packInstall 9OSqqeWGGx.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("eyJuYW1lIjoiTm90aWNlIiwiY3JlYXRlZEJ5IjoiV2FscnVzIEppIiwidGVtcGxhdGVzIjpbeyJ0aXRsZSI6IkRTIEFsZXJ0IiwiYWJvdXQiOiJJbmRpYSBQYWsgQWZnaGFuIiwiY29udGVudCI6Ij09Tm90aWNlPT1cbnt7c3Vic3Q6RHMvYWxlcnR8SVBBfX0gfn5+fiAgICAgICAifSx7InRpdGxlIjoiRFMgQWxlcnQiLCJhYm91dCI6IkJMUCIsImNvbnRlbnQiOiI9PU5vdGljZT09XG57e3N1YnN0OkRzL2FsZXJ0fEJMUH19IH5+fn4ifSx7InRpdGxlIjoiRFMgQWxlcnQiLCJhYm91dCI6IkJMUCArIEluZGlhIFBhayBBZmdoYW4iLCJjb250ZW50IjoiPT1Ob3RpY2U9PVxue3tzdWJzdDpEcy9hbGVydHxCTFB9fVxue3tzdWJzdDpEcy9hbGVydHxJUEF9fSB+fn5+In0seyJ0aXRsZSI6IkRTIEFsZXJ0IiwiYWJvdXQiOiJQc2V1ZG9zY2llbmNlIGFuZCBmcmluZ2Ugc2NpZW5jZSIsImNvbnRlbnQiOiI9PU5vdGljZT09XG57e3N1YnN0OmFsZXJ0fHBzfX0gfn5+fiJ9LHsidGl0bGUiOiJEUyBBbGVydCIsImFib3V0IjoiQWx0ZXJuYXRpdmUgbWVkaWNpbmUiLCJjb250ZW50IjoiPT1Ob3RpY2U9PVxue3tzdWJzdDphbGVydHxjYW19fSB+fn5+In1dLCJwYWNrQ29kZSI6IldhbHJ1cyBKaS85T1NxcWVXR0d4In0=")); // 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); }); //