make gulp better for static

This commit is contained in:
MathMan05
2025-04-10 22:38:01 -05:00
parent ef2e3f242f
commit a69b8c552f
3 changed files with 14 additions and 17 deletions

View File

@@ -2117,17 +2117,16 @@ class Localuser {
});
}
}
{
(async () => {
const jankInfo = settings.addButton(I18n.jankInfo());
const img = document.createElement("img");
img.src = "/logo.svg";
jankInfo.addHTMLArea(img);
img.width = 128;
img.height = 128;
jankInfo.addMDText(
I18n.clientDesc("Jank-Rolling", window.location.origin, this.rights.allow + ""),
);
}
const ver = await (await fetch("/getupdates")).text();
jankInfo.addMDText(I18n.clientDesc(ver, window.location.origin, this.rights.allow + ""));
})();
settings.show();
}
readonly botTokens: Map<string, string> = new Map();