summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakobDev <jakobdev@gmx.de>2023-08-15 11:43:33 +0000
committerDavid Faure <faure@kde.org>2023-08-15 11:43:33 +0000
commit4eaf8a69f9969d1c3cc88f425393b023331f4782 (patch)
treecf80c6218b1a8579739139ca09e1f669645cc784
parent2bf03eedbb33084c91d920c412b844f407bc1a10 (diff)
Add Modrinth modpack
-rw-r--r--data/freedesktop.org.xml.in6
-rw-r--r--tests/mime-detection/list3
-rw-r--r--tests/mime-detection/test.mrpackbin0 -> 1575 bytes
3 files changed, 9 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index bacd921..6e178d2 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -8056,4 +8056,10 @@ command to generate the output files.
<glob pattern="*.openvpn"/>
<glob pattern="*.ovpn"/>
</mime-type>
+ <mime-type type="application/x-modrinth-modpack+zip">
+ <comment>Modrinth Modpack</comment>
+ <sub-class-of type="application/zip"/>
+ <generic-icon name="package-x-generic"/>
+ <glob pattern="*.mrpack"/>
+ </mime-type>
</mime-info>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 69fa3fa..15bf164 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -934,3 +934,6 @@ test.zim application/x-openzim
test.qs application/sparql-query
# SPARQL query results
test.srx application/sparql-results+xml ox
+
+# Modrinth Modpack
+test.mrpack application/x-modrinth-modpack+zip ox \ No newline at end of file
diff --git a/tests/mime-detection/test.mrpack b/tests/mime-detection/test.mrpack
new file mode 100644
index 0000000..2164ec5
--- /dev/null
+++ b/tests/mime-detection/test.mrpack
Binary files differ