From 18f27b15dabc1384fdcf646b6a775d33e8b77fba Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sat, 8 Feb 2025 18:02:17 -0700 Subject: [PATCH] Update the CryptApp name to DelveTourApp --- module/Apps/{CryptApp.mjs => DelveTourApp.mjs} | 4 ++-- module/hooks/init.mjs | 4 ++-- module/settings/metaSettings.mjs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename module/Apps/{CryptApp.mjs => DelveTourApp.mjs} (95%) diff --git a/module/Apps/CryptApp.mjs b/module/Apps/DelveTourApp.mjs similarity index 95% rename from module/Apps/CryptApp.mjs rename to module/Apps/DelveTourApp.mjs index f7c2e7c..8c213ed 100644 --- a/module/Apps/CryptApp.mjs +++ b/module/Apps/DelveTourApp.mjs @@ -11,14 +11,14 @@ const conditions = [ { label: `RipCrypt.common.difficulties.hard`, value: 7 }, ]; -export class CryptApp extends GenericAppMixin(HandlebarsApplicationMixin(ApplicationV2)) { +export class DelveTourApp extends GenericAppMixin(HandlebarsApplicationMixin(ApplicationV2)) { // #region Options static DEFAULT_OPTIONS = { classes: [ `ripcrypt--CryptApp`, ], window: { - title: `Crypt`, + title: `Delve Tour`, frame: true, positioned: true, resizable: false, diff --git a/module/hooks/init.mjs b/module/hooks/init.mjs index a833ced..c14ebea 100644 --- a/module/hooks/init.mjs +++ b/module/hooks/init.mjs @@ -1,7 +1,7 @@ // Applications import { AllItemSheetV1 } from "../Apps/ItemSheets/AllItemSheetV1.mjs"; import { CombinedHeroSheet } from "../Apps/ActorSheets/CombinedHeroSheet.mjs"; -import { CryptApp } from "../Apps/CryptApp.mjs"; +import { DelveTourApp } from "../Apps/DelveTourApp.mjs"; import { HeroSkillsCardV1 } from "../Apps/ActorSheets/HeroSkillsCardV1.mjs"; import { HeroSummaryCardV1 } from "../Apps/ActorSheets/HeroSummaryCardV1.mjs"; @@ -29,7 +29,7 @@ import { registerUserSettings } from "../settings/userSettings.mjs"; Hooks.once(`init`, () => { Logger.log(`Initializing`); - CONFIG.ui.crypt = CryptApp; + CONFIG.ui.crypt = DelveTourApp; // #region Settings registerMetaSettings(); diff --git a/module/settings/metaSettings.mjs b/module/settings/metaSettings.mjs index b50ec89..57580b9 100644 --- a/module/settings/metaSettings.mjs +++ b/module/settings/metaSettings.mjs @@ -5,7 +5,7 @@ export function registerMetaSettings() { config: false, requiresReload: false, onChange: () => { - CONFIG.ui.crypt.render({ parts: [ `delveConditions` ]}); + ui.crypt.render({ parts: [ `delveConditions` ]}); }, }); };