Add an automatic version notification for new stable releases, and optionally beta releases

This commit is contained in:
Oliver 2026-05-11 22:23:09 -06:00
parent d3a60fbef5
commit 09ac9624ed
6 changed files with 106 additions and 0 deletions

View file

@ -18,6 +18,7 @@ import { TAFMacro } from "../documents/Macro.mjs";
import { TAFTokenDocument } from "../documents/Token.mjs";
// Settings
import { registerReleaseSettings } from "../utils/ReleaseChannels.mjs";
import { registerWorldSettings } from "../settings/world.mjs";
// Utils
@ -89,6 +90,7 @@ Hooks.on(`init`, () => {
);
// #endregion Sheets
registerReleaseSettings();
registerWorldSettings();
registerSockets();

View file

@ -1,3 +1,4 @@
import { checkForNewReleases } from "../utils/ReleaseChannels.mjs";
import { checkMigrations } from "../migrations/checkMigrations.mjs";
Hooks.on(`ready`, () => {
@ -7,4 +8,5 @@ Hooks.on(`ready`, () => {
};
checkMigrations();
checkForNewReleases();
});