mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
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:
parent
eb5d2a2517
commit
13175aff62
4 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -112,5 +112,6 @@
|
|||
"Name[zh_CN]": "手机面板",
|
||||
"Name[zh_TW]": "手機面板"
|
||||
},
|
||||
"X-Plasma-API-Minimum-Version": "6.0",
|
||||
"X-Plasma-ContainmentType": "Panel"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,5 +111,6 @@
|
|||
"Name[zh_CN]": "手机任务面板",
|
||||
"Name[zh_TW]": "手機工作列"
|
||||
},
|
||||
"X-Plasma-API-Minimum-Version": "6.0",
|
||||
"X-Plasma-ContainmentType": "Panel"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue