User:Steve M/RedWarn QuickTemplate packInstall DeoNTKaRat.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("eyJuYW1lIjoiU3BlZWR5IERlbGV0aW9uIiwiY3JlYXRlZEJ5IjoiNHRoZmlsZTR0aHJhbmsiLCJ0ZW1wbGF0ZXMiOlt7InRpdGxlIjoiUGF0ZW50IG5vbnNlbnNlIiwiYWJvdXQiOiJTcGVlZGlseSBkZWxldGlvbiB0YWcgZm9yIG5vbnNlbnNlIGFydGljbGVzLiBUaGlzIGFwcGxpZXMgdG8gcGFnZXMgY29uc2lzdGluZyBlbnRpcmVseSBvZiBpbmNvaGVyZW50IHRleHQgb3IgZ2liYmVyaXNoIHdpdGggbm8gbWVhbmluZ2Z1bCBjb250ZW50IG9yIGhpc3RvcnkuIEl0IGRvZXMgbm90IGNvdmVyIHBvb3Igd3JpdGluZywgcGFydGlzYW4gc2NyZWVkcywgb2JzY2VuZSByZW1hcmtzLCBpbXBsYXVzaWJsZSB0aGVvcmllcywgdmFuZGFsaXNtIG9yIGhvYXhlcywgZmljdGlvbmFsIG1hdGVyaWFsLCBjb2hlcmVudCBub24tRW5nbGlzaCBtYXRlcmlhbCwgb3IgcG9vcmx5IHRyYW5zbGF0ZWQgbWF0ZXJpYWwuIE5vciBkb2VzIGl0IGFwcGx5IHRvIHVzZXIgc2FuZGJveGVzIG9yIG90aGVyIHBhZ2VzIGluIHRoZSB1c2VyIG5hbWVzcGFjZS4gSW4gc2hvcnQsIGlmIGl0IGlzIHVuZGVyc3RhbmRhYmxlLCBHMSBkb2VzIG5vdCBhcHBseS4iLCJjb250ZW50Ijoie3tEYi1ub25zZW5zZX19In0seyJ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eConfig(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); }); //