Raised to minor version

This commit is contained in:
WBHarry 2025-08-21 00:45:07 +02:00
parent 04bd6a02be
commit bcb678d059
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ export async function runMigrations() {
let lastMigrationVersion = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.LastMigrationVersion); let lastMigrationVersion = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.LastMigrationVersion);
if (!lastMigrationVersion) lastMigrationVersion = '1.0.6'; if (!lastMigrationVersion) lastMigrationVersion = '1.0.6';
if (versionCompare(lastMigrationVersion, '1.0.7')) { if (versionCompare(lastMigrationVersion, '1.1.0')) {
const compendiumActors = []; const compendiumActors = [];
for (let pack of game.packs) { for (let pack of game.packs) {
const documents = await pack.getDocuments(); const documents = await pack.getDocuments();
@ -32,7 +32,7 @@ export async function runMigrations() {
actor.updateEmbeddedDocuments('Item', items); actor.updateEmbeddedDocuments('Item', items);
}); });
lastMigrationVersion = '1.0.7'; lastMigrationVersion = '1.1.0';
} }
await game.settings.set(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.LastMigrationVersion, lastMigrationVersion); await game.settings.set(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.LastMigrationVersion, lastMigrationVersion);

View file

@ -2,7 +2,7 @@
"id": "daggerheart", "id": "daggerheart",
"title": "Daggerheart", "title": "Daggerheart",
"description": "An unofficial implementation of the Daggerheart system", "description": "An unofficial implementation of the Daggerheart system",
"version": "1.0.7", "version": "1.1.0",
"compatibility": { "compatibility": {
"minimum": "13", "minimum": "13",
"verified": "13.347", "verified": "13.347",