summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-04-10 12:33:24 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-04-10 12:33:24 +0800
commit22dc4f825a7c3dcab5601c5d4d7df042d39454bc (patch)
treed4118e35eaf31b27315d1fe60c98237850f1e82d
parent7785187e0510d77d93802dd3918f43794f83d9e4 (diff)
Migrate to desktop.json
-rw-r--r--metadata.desktop22
-rw-r--r--metadata.json27
2 files changed, 27 insertions, 22 deletions
diff --git a/metadata.desktop b/metadata.desktop
deleted file mode 100644
index 0d84648..0000000
--- a/metadata.desktop
+++ /dev/null
@@ -1,22 +0,0 @@
-[Desktop Entry]
-Comment=Canvas LMS on your desktop
-Comment[x-test]=xxCanvas LMS on your desktopxx
-Comment[zh_CN]=桌面上的 Canvas
-Comment[zh_TW]=桌面上的 Canvas
-Name=Kanvas
-Name[zh_CN]=Kanvas
-Name[zh_TW]=Kanvas
-
-Type=Application
-
-X-KDE-PluginInfo-Author=Frederick Yin
-X-KDE-PluginInfo-Category=Online Services
-X-KDE-PluginInfo-Email=fkfd@fkfd.me
-X-KDE-PluginInfo-License=TBD
-X-KDE-PluginInfo-Name=me.fkfd.kanvas
-X-KDE-PluginInfo-Version=0.1
-X-KDE-PluginInfo-Website=https://fkfd.me/
-X-KDE-ServiceTypes=Plasma/Applet
-
-X-Plasma-API=declarativeappletscript
-X-Plasma-MainScript=ui/main.qml
diff --git a/metadata.json b/metadata.json
new file mode 100644
index 0000000..66c7c2b
--- /dev/null
+++ b/metadata.json
@@ -0,0 +1,27 @@
+{
+ "KPlugin": {
+ "Authors": [
+ {
+ "Email": "fkfd@fkfd.me",
+ "Name": "Frederick Yin"
+ }
+ ],
+ "Category": "Online Services",
+ "Description": "Canvas LMS on your desktop",
+ "Description[x-test]": "xxCanvas LMS on your desktopxx",
+ "Description[zh_CN]": "桌面上的 Canvas",
+ "Description[zh_TW]": "桌面上的 Canvas",
+ "Id": "me.fkfd.kanvas",
+ "License": "TBD",
+ "Name": "Kanvas",
+ "Name[zh_CN]": "Kanvas",
+ "Name[zh_TW]": "Kanvas",
+ "ServiceTypes": [
+ "Plasma/Applet"
+ ],
+ "Version": "0.1",
+ "Website": "https://fkfd.me/"
+ },
+ "X-Plasma-API": "declarativeappletscript",
+ "X-Plasma-MainScript": "ui/main.qml"
+}