diff --git a/.github/workflows/checkForUpdates.yml b/.github/workflows/checkForUpdates.yml index 8f8142f..4076303 100644 --- a/.github/workflows/checkForUpdates.yml +++ b/.github/workflows/checkForUpdates.yml @@ -110,14 +110,14 @@ jobs: const data = await response.json(); //? Check for New Targets - const listFromSchema = schema.properties.target.enum; + const listFromSchema = schema.definitions.ThemeTarget.enum; const listFromApi = Object.keys(data.filters); //TODO: check for differences const listsAreEqual = listFromSchema.every((elem) => listFromApi.includes(elem)) && listFromApi.every((elem) => listFromSchema.includes(elem)); if (!listsAreEqual) { newTargets = true; - schema.properties.target.enum = listFromApi; + schema.definitions.ThemeTarget.enum = listFromApi; } const themePyPath = path.join(cwdPath, "css-loader", "css_theme.py"); @@ -131,6 +131,7 @@ jobs: if (currentVersion !== newVersion) { newManifestVersion = true; + schema.default.manifest_version = newVersion; schema.properties.manifest_version.description = `The manifest version. This should almost always be the latest version.\n\nLatest Version: ${newVersion}`; schema.properties.manifest_version.const = newVersion; } diff --git a/manifest-schema.json b/manifest-schema.json index 94cff59..a5f8274 100644 --- a/manifest-schema.json +++ b/manifest-schema.json @@ -8,7 +8,7 @@ "description": "Something to spice up your Steamdeck experience!", "author": "You", "version": "v1.0.0", - "manifest_version": 8, + "manifest_version": 9, "target": "Home", "tabs": { "default": [