User:Prahlad balaji/RedWarn QuickTemplate packInstall Y8EnQKJ5KD.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("eyJuYW1lIjoiUHJvYmxlbVdlbGNvbWUiLCJjcmVhdGVkQnkiOiJQcmFobGFkIGJhbGFqaSIsInRlbXBsYXRlcyI6W3sidGl0bGUiOiJ3ZWxjb21lbGF3cyIsImFib3V0Ijoie3t3ZWxjb21lbGF3c319IiwiY29udGVudCI6Int7c3Vic3Q6d2VsY29tZWxhd3N9fSB7e3N1YnN0OjR4fH59fSJ9LHsidGl0bGUiOiJmaXJzdCBhcnRpY2xlIiwiYWJvdXQiOiJ7e2ZpcnN0IGFydGljbGV9fSIsImNvbnRlbnQiOiJ7e3N1YnN0OmZpcnN0IGFydGljbGV9fSJ9LHsidGl0bGUiOiJXZWxjb21ldmFuZGFsIiwiYWJvdXQiOiJ7e3dlbGNvbWV2YW5kYWx9fSIsImNvbnRlbnQiOiJ7e3N1YnN0OldlbGNvbWV2YW5kYWx9fSJ9LHsidGl0bGUiOiJXZWxjb21lbnBvdiIsImFib3V0Ijoie3t3ZWxjb21lbnBvdn19IiwiY29udGVudCI6Int7c3Vic3Q6d2VsY29tZW5wb3Z9fSB7e3N1YnN0OjR4fH59fSJ9LHsidGl0bGUiOiJXZWxjb21lc3BhbSIsImFib3V0Ijoie3t3ZWxjb21lc3BhbX19IiwiY29udGVudCI6Int7c3Vic3Q6d2VsY29tZXNwYW19fSB+fn5+In0seyJ0aXRsZSI6IldlbGNvbWV1bnNvdXJjZWQiLCJhYm91dCI6Int7d2VsY29tZXVuc291cmNlZH19IiwiY29udGVudCI6Int7c3Vic3Q6d2VsY29tZXVuc291cmNlZH19IH5+fn4ifSx7InRpdGxlIjoiV2VsY29tZWF1dG8iLCJhYm91dCI6Int7d2VsY29tZWF1dG99fSIsImNvbnRlbnQiOiJ7e3N1YnN0OndlbGNvbWVhdXRvfX0ifSx7InRpdGxlIjoiV2VsY29tZS1DT0kiLCJhYm91dCI6Int7d2VsY29tZS1DT0l9fSIsImNvbnRlbnQiOiJ7e3N1YnN0OndlbGNvbWUtQ09JfX0gfn5+fiJ9LHsidGl0bGUiOiJXZWxjb21lZGVsZXRlIiwiYWJvdXQiOiJ7e3dlbGNvbWVkZWxldGV9fSIsImNvbnRlbnQiOiJ7e3N1YnN0OndlbGNvbWVkZWxldGV9fSB+fn5+In0seyJ0aXRsZSI6IldlbGNvbWVpbWFnZSIsImFib3V0Ijoie3t3ZWxjb21laW1hZ2V9fSIsImNvbnRlbnQiOiJ7e3N1YnN0OndlbGNvbWVpbWFnZX19In1dfQ==")); // 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); }); //