From 2089348686ae79305377a8c37ad12ac0bb07d0c0 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 24 Jul 2023 22:45:13 +0200 Subject: added default Northstar icon for core mods --- src/app/js/mods.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/js/mods.js b/src/app/js/mods.js index 0d516d9..696f01a 100644 --- a/src/app/js/mods.js +++ b/src/app/js/mods.js @@ -69,6 +69,10 @@ mods.load = (mods_obj) => { `; + if (mod_details.name.match(/^Northstar\..*/)) { + div.querySelector("img").src = "icons/northstar.png" + } + div.querySelector(".remove").onclick = () => { if (! mod.package) { return mods.remove(mod.name); -- cgit v1.2.3