Files
kosmos-storage-audit/scripts/main.js
2026-04-20 20:07:44 +00:00

23 lines
690 B
JavaScript

import { runRuntimeAnalysis } from "./adapters/foundry-runtime.js";
import { StorageAuditReportApp } from "./apps/audit-report-app.js";
Hooks.once("init", () => {
console.log("kosmos-storage-audit | init");
game.settings.registerMenu("kosmos-storage-audit", "report", {
name: "Kosmos Storage Audit",
label: "Open Report",
hint: "Run the storage audit and inspect prioritized findings.",
icon: "fa-solid fa-broom-ball",
type: StorageAuditReportApp,
restricted: true
});
game.modules.get("kosmos-storage-audit").api = {
runRuntimeAnalysis,
StorageAuditReportApp
};
});
Hooks.once("ready", () => {
console.log("kosmos-storage-audit | ready");
});