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/CHANGELOG.md b/CHANGELOG.md index 7c20347..1d5555a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,14 +6,6 @@ All notable changes to the `CSS Loader for VS Code` extension will be documented -## v1.7.0 - - - -## v1.7.0 - - - ## v1.7.0 New Features: diff --git a/manifest-schema.json b/manifest-schema.json index 3ffc973..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": [ @@ -31,7 +31,7 @@ "description": "The name of the theme. Make it short and catchy! (IMPORTANT: Once submitted, this name can not be changed)", "type": "string" }, - "displayName": { + "display_name": { "description": "The display name of the theme. This is what is shown on the store and to users.", "type": "string" }, @@ -70,13 +70,13 @@ "uniqueItems": true }, "target": { - "description": "A theme target or an array of theme targets. These help users tell what the theme styles at a glance.", + "description": "The target(s) for your theme. These help users tell what the theme styles at a glance.", "oneOf": [ { "type": "array", "uniqueItems": true, "items": { - "$ref": "#/definitions/InjectionTargets" + "$ref": "#/definitions/ThemeTarget" } }, {