User:Prahlad balaji/RedWarn QuickTemplate packInstall x2qwecPlJS.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://github.com/ed6767/redwarn rw.ui.loadDialog.show("Installing..."); let packSource = JSON.parse(atob("eyJuYW1lIjoiTm90aWNlYm9hcmQiLCJjcmVhdGVkQnkiOiJQcmFobGFkIGJhbGFqaSIsInRlbXBsYXRlcyI6W3sidGl0bGUiOiJDb2luLW5vdGljZSIsImFib3V0Ijoie3tjb2luLW5vdGljZX19IiwiY29udGVudCI6Int7c3Vic3Q6Y29pbi1ub3RpY2V9fSB+fn5+In0seyJ0aXRsZSI6IkFuMy1ub3RpY2UiLCJhYm91dCI6Int7YW4zLW5vdGljZX19IiwiY29udGVudCI6Int7c3Vic3Q6YW4zLW5vdGljZX19IH5+fn4ifSx7InRpdGxlIjoiQU5JLW5vdGljZSIsImFib3V0Ijoie3tBTkktbm90aWNlfX0iLCJjb250ZW50Ijoie3tzdWJzdDpBTkktbm90aWNlfX0gfn5+fiJ9LHsidGl0bGUiOiJBTi1ub3RpY2UiLCJhYm91dCI6Int7QU4tbm90aWNlfX0iLCJjb250ZW50Ijoie3tzdWJzdDpBTi1ub3RpY2V9fSB+fn5+In1dfQ==")); // 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); }); //