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