Add dev-only hook to remove the core software update notification because it annoys me

This commit is contained in:
Oliver 2026-05-10 15:07:04 -06:00
parent 500eabc755
commit 849da4bb54
3 changed files with 8 additions and 1 deletions

1
dev/dev.mjs Normal file
View file

@ -0,0 +1 @@
import "./hooks/renderSettings.mjs";

View file

@ -0,0 +1,5 @@
Hooks.on(`renderSettings`, (app, html, ctx, options) => {
/** @type {HTMLElement|undefined} */
const coreUpdateTooltip = html.querySelector(`.build .value a`);
coreUpdateTooltip?.remove();
});

View file

@ -15,7 +15,8 @@
{ "name": "Oliver" }
],
"esmodules": [
"module/main.mjs"
"module/main.mjs",
"dev/dev.mjs"
],
"styles": [
{