23 lines
690 B
JavaScript
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");
|
|
});
|