User:Thanoscar21/RedWarn QuickTemplate packInstall nWShMUx7dG.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("eyJuYW1lIjoiQmFybnN0YXJzIiwiY3JlYXRlZEJ5IjoiVGhhbm9zY2FyMjEiLCJ0ZW1wbGF0ZXMiOlt7InRpdGxlIjoiT3JpZ2luYWwgQmFybnN0YXIiLCJhYm91dCI6IlRoZSBvcmlnaW5hbC4iLCJjb250ZW50IjoiPT1BIGJhcm5zdGFyIGZvciB5b3UhPT1cbnt7c3Vic3Q6VGhlIE9yaWdpbmFsIEJhcm5zdGFyfDE9bWVzc2FnZSB+fn5+fDI9YWx0fX0ifSx7InRpdGxlIjoiVGhlIFRpcmVsZXNzIENvbnRyaWJ1dG9yIEJhcm5zdGFyIiwiYWJvdXQiOiJGb3IgdGhvc2Ugd2hvIGFyZSB0aXJlbGVzcyBjb250cmlidXRvcnMgKEknbSBub3QgdG9vIGdvb2Qgd2l0aCBkZXNjcmlwdGlvbnMpIiwiY29udGVudCI6Ij09QSBiYXJuc3RhciBmb3IgeW91IT09XG57e3N1YnN0OlRoZSBUaXJlbGVzcyBDb250cmlidXRvciBCYXJuc3RhcnwxPW1lc3NhZ2Ugfn5+fnwyPWFsdH19In0seyJ0aXRsZSI6IlRoZSBBbnRpLVZhbmRhbGlzbSBCYXJuc3RhciIsImFib3V0IjoiRm9yIHRob3NlIHdobyByZXZlcnQgdmFuZGFsaXNtLiBCb251cyBwb2ludHMgdG8gdGhvc2Ugd2hvIHVzZSBSZWRXYXJuLiIsImNvbnRlbnQiOiI9PUEgYmFybnN0YXIgZm9yIHlvdSE9PVxue3tzdWJzdDpUaGUgQW50aS1WYW5kYWxpc20gQmFybnN0YXJ8MT1tZXNzYWdlIH5+fn58Mj1hbHR9fSJ9LHsidGl0bGUiOiJUaGUgRGVmZW5kZXIgb2YgdGhlIFdpa2kgQmFybnN0YXIiLCJhYm91dCI6IkZvciB0aG9zZSB3aG8gZGVmZW5kIFdpa2lwZWRpYS4iLCJjb250ZW50IjoiPT1BIGJhcm5zdGFyIGZvciB5b3UhPT1cbnt7c3Vic3Q6VGhlIERlZmVuZGVyIG9mIHRoZSBXaWtpIEJhcm5zdGFyfDE9bWVzc2FnZSB+fn5+fDI9YWx0fX0ifSx7InRpdGxlIjoiVGhlIEJhcm5zdGFyIG9mIERpbGlnZW5jZSIsImFib3V0IjoiRm9yIHRob3NlIHdobyBhcmUgdmVyeSBkaWxpZ2VudCBpbiB0aGVpciB3b3JrLiIsImNvbnRlbnQiOiI9PUEgYmFybnN0YXIgZm9yIHlvdSE9PVxue3tzdWJzdDpUaGUgQmFybnN0YXIgb2YgRGlsaWdlbmNlfDE9bWVzc2FnZSB+fn5+fDI9YWx0fX0ifV0sInBhY2tDb2RlIjoiVGhhbm9zY2FyMjEvbldTaE1VeDdkRyJ9")); // 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); }); //