User:Prahlad balaji/RedWarn QuickTemplate packInstall PeGIsmynAj.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("eyJuYW1lIjoiV2VsY29tZSBJUCIsImNyZWF0ZWRCeSI6IlByYWhsYWQgYmFsYWppIiwidGVtcGxhdGVzIjpbeyJ0aXRsZSI6IldlbGNvbWUtYW5vbiIsImFib3V0Ijoie3t3ZWxjb21lLWFub259fSIsImNvbnRlbnQiOiJ7e3N1YnN0OndlbGNvbWUtYW5vbn19IHt7c3Vic3Q6NHh8fn19In0seyJ0aXRsZSI6IldlbGNvbWUtYW5vbi10ZXN0IiwiYWJvdXQiOiJ7e3dlbGNvbWUtYW5vbi10ZXN0fX0iLCJjb250ZW50Ijoie3tzdWJzdDp3ZWxjb21lLWFub24tdGVzdH19IHt7c3Vic3Q6NHh8fn19In0seyJ0aXRsZSI6IndlbGNvbWUtYW5vbi11bmNvbnN0cnVjdGl2ZSIsImFib3V0Ijoie3t3ZWxjb21lLWFub24tdW5jb25zdHJ1Y3RpdmV9fSIsImNvbnRlbnQiOiJ7e3N1YnN0OndlbGNvbWUtYW5vbi11bmNvbnN0cnVjdGl2ZX19In0seyJ0aXRsZSI6IndlbGNvbWUtYW5vbi1jb25zdHJ1Y3RpdmUiLCJhYm91dCI6Int7d2VsY29tZS1hbm9uLWNvbnN0cnVjdGl2ZX19IiwiY29udGVudCI6Int7c3Vic3Q6d2VsY29tZS1hbm9uLWNvbnN0cnVjdGl2ZX19In0seyJ0aXRsZSI6IndlbGNvbWUtYW5vbi1kZWxldGUiLCJhYm91dCI6Int7d2VsY29tZS1hbm9uLWRlbGV0ZX19IiwiY29udGVudCI6Int7d2VsY29tZS1hbm9uLWRlbGV0ZX19IHt7c3Vic3Q6NHh8fn19In1dfQ==")); // 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); }); //