User:Ed6767/RedWarn QuickTemplate packInstall TimtcfTHWh.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("eyJuYW1lIjoiVGFsa2JhY2siLCJjcmVhdGVkQnkiOiJFZDY3NjciLCJ0ZW1wbGF0ZXMiOlt7InRpdGxlIjoiTXkgVXNlciB0YWxrIHBhZ2UiLCJhYm91dCI6IkFkZHMgYSB7e3RifX0gbGluayB0byB5b3VyIHRhbGsgcGFnZSBpbiBhIG5ldyBzZWN0aW9uLiIsImNvbnRlbnQiOiI9PSBUYWxrYmFjayA9PVxue3t0Ynx7e3N1YnN0OlJFVklTSU9OVVNFUn19fHRzPX5+fn5+fX0gIn0seyJ0aXRsZSI6IlRhbGtiYWNrIC0gY3VzdG9tIHBhZ2UiLCJhYm91dCI6IlRhbGtiYWNrIHRvIGFueSBwYWdlIiwiY29udGVudCI6Int7dGJ8MT17e1JXVEVYVHxSZWxhdGVkIFBhZ2V8cmVsUGFnZX19fX19fSJ9XX0=")); // 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); }); //