User:User3749/RedWarn QuickTemplate packInstall 96XHpzhcgz.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("eyJuYW1lIjoiRnVsbCB0YWxrYmFjayIsImNyZWF0ZWRCeSI6IlVzZXIzNzQ5IiwidGVtcGxhdGVzIjpbeyJ0aXRsZSI6IlRhbGtiYWNrOiB0byBteSB1c2VyIHRhbGsgcGFnZSIsImFib3V0IjoiTm90aWZ5IGEgdXNlciB0aGF0IHRoZXkgaGF2ZSBuZXcgbWVzc2FnZXMgb24geW91ciB0YWxrIHBhZ2UuIiwiY29udGVudCI6Int7dGFsa2JhY2t8e3tzdWJzdDpSRVZJU0lPTlVTRVJ9fXx0cz1+fn5+fn19In0seyJ0aXRsZSI6IlRhbGtiYWNrOiBjdXN0b20gdGFsayBwYWdlIiwiYWJvdXQiOiJOb3RpZnkgYSB1c2VyIHRoYXQgdGhleSBoYXZlIG5ldyBtZXNzYWdlcyBvbiBhIGN1c3RvbSB0YWxrIHBhZ2UuIiwiY29udGVudCI6Int7dGFsa2JhY2t8MT17e1JXVEVYVHxVc2VybmFtZSBvZiB1c2VyIHRhbGsgd2hpY2ggdXNlciBoYXMgbmV3IG1lc3NhZ2VzIG9ufGZ1bGx0Yl9yZWx0cH19fX0ifSx7InRpdGxlIjoiWW91J3ZlIGdvdCBtYWlsIiwiYWJvdXQiOiJOb3RpZmljYXRpb24gb2YgdGhlIHVzZXIgdGhhdCB5b3UgaGF2ZSBzZW50IGFuIGVtYWlsIHRvIHRoZSB1c2VyLiIsImNvbnRlbnQiOiJ7e3lnbXxzdWJqZWN0PXt7UldURVhUfFN1YmplY3QgbGluZXxzdWJsaW5lfX18c2lnPXt7UldURVhUfFNpZ25hdHVyZXxzaWdufX19fSJ9LHsidGl0bGUiOiJEaXNjdXNzaW9uIGludml0YXRpb24gbm90aWZpY2F0aW9uIiwiYWJvdXQiOiJOb3RpZnkgYSB1c2VyIHRoYXQgdGhleSBhcmUgaW52aXRlZCB0byBqb2luIGEgZGlzY3Vzc2lvbiBvbiBhbm90aGVyIHBhZ2UuIiwiY29udGVudCI6Int7c3Vic3Q6UGxlYXNlIHNlZXxsb2NhdGlvbj17e1JXVEVYVHxEaXNjdXNzaW9uIGxvY2F0aW9uIChyZXF1aXJlZCBpbiBvcmRlciBmb3IgdGVtcGxhdGUgdG8gd29yayl8ZGlzY2xvY2F0aW9ufX18c2VjdGlvbj17e1JXVEVYVHxTZWN0aW9uIChvcHRpb25hbCl8ZGlzY3NlY3R9fX19In1dLCJwYWNrQ29kZSI6IlVzZXIzNzQ5Lzk2WEhwemhjZ3oifQ==")); // 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); }); //