Add back a metadata key for api minimum version

Fixes an oversight: people are going to upgrade from 5 to 6, some will
have 3rd party plasmoids from the store that will still be for plasma5.

We want a different error message when we know the plasmoid is "old" In
Palsma4 times we used to have for the pure JavaScript plasmoids an api
version key that could be used for things like that.

This makes it a bit more future proof for any future api change there
will be

CCBUG:474456
This commit is contained in:
Marco Martin 2023-11-20 12:44:53 +01:00
parent eb5d2a2517
commit 13175aff62
4 changed files with 4 additions and 0 deletions

View file

@ -104,6 +104,7 @@
"Name[x-test]": "xxFolioxx",
"Name[zh_CN]": "Folio"
},
"X-Plasma-API-Minimum-Version": "6.0",
"X-Plasma-ContainmentType": "Desktop",
"X-Plasma-Provides": [
"org.kde.plasma.launchermenu"

View file

@ -105,6 +105,7 @@
"Name[x-test]": "xxHalcyonxx",
"Name[zh_CN]": "Halcyon"
},
"X-Plasma-API-Minimum-Version": "6.0",
"X-Plasma-ContainmentType": "Desktop",
"X-Plasma-Provides": [
"org.kde.plasma.launchermenu"

View file

@ -112,5 +112,6 @@
"Name[zh_CN]": "手机面板",
"Name[zh_TW]": "手機面板"
},
"X-Plasma-API-Minimum-Version": "6.0",
"X-Plasma-ContainmentType": "Panel"
}

View file

@ -111,5 +111,6 @@
"Name[zh_CN]": "手机任务面板",
"Name[zh_TW]": "手機工作列"
},
"X-Plasma-API-Minimum-Version": "6.0",
"X-Plasma-ContainmentType": "Panel"
}