aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-07-24 22:45:13 +0200
committer0neGal <mail@0negal.com>2023-07-24 22:45:13 +0200
commit2089348686ae79305377a8c37ad12ac0bb07d0c0 (patch)
tree216c4fe6dff5d5ac19b2cf71f2d69a42a1122d3a /src/app
parentb8168b322c93133762a3b56d08d5357e47188660 (diff)
downloadViper-2089348686ae79305377a8c37ad12ac0bb07d0c0.tar.gz
Viper-2089348686ae79305377a8c37ad12ac0bb07d0c0.zip
added default Northstar icon for core mods
Diffstat (limited to 'src/app')
-rw-r--r--src/app/js/mods.js4
1 files changed, 4 insertions, 0 deletions
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) => {
</div>
`;
+ 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);