-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
stone.xml
91 lines (86 loc) · 3.17 KB
/
stone.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<!-- Base stone container type -->
<mime-type type="application/x-stone">
<comment>Stone Container</comment>
<magic priority="50">
<!-- Check for \0mos magic (0x006D6F73) -->
<match type="big32" offset="0" value="0x006D6F73"/>
</magic>
<icon name="application-x-stone"/>
<generic-icon name="package-x-generic"/>
</mime-type>
<!-- V1 Binary package -->
<mime-type type="application/x-stone-binary">
<comment>Stone Binary Package</comment>
<sub-class-of type="application/x-stone"/>
<magic priority="60">
<match type="big32" offset="0" value="0x006D6F73">
<!-- Check version = 1 (BE) -->
<match type="big32" offset="28" value="0x00000001">
<!-- Check file type = 1 (Binary) -->
<match type="byte" offset="27" value="1"/>
</match>
</match>
</magic>
<glob pattern="*.stone"/>
<icon name="application-x-stone-binary"/>
<generic-icon name="package-x-generic"/>
</mime-type>
<!-- V1 Delta package -->
<mime-type type="application/x-stone-delta">
<comment>Stone Delta Package</comment>
<sub-class-of type="application/x-stone"/>
<magic priority="50">
<match type="big32" offset="0" value="0x006D6F73">
<match type="big32" offset="28" value="0x00000001">
<!-- Check file type = 2 (Delta) -->
<match type="byte" offset="27" value="2"/>
</match>
</match>
</magic>
<glob pattern="*.stone"/>
<icon name="application-x-stone-delta"/>
<generic-icon name="package-x-generic"/>
</mime-type>
<!-- V1 Repository index -->
<mime-type type="application/x-stone-repository">
<comment>Stone Repository Index</comment>
<sub-class-of type="application/x-stone"/>
<magic priority="50">
<match type="big32" offset="0" value="0x006D6F73">
<match type="big32" offset="28" value="0x00000001">
<!-- Check file type = 3 (Repository) -->
<match type="byte" offset="27" value="3"/>
</match>
</match>
</magic>
<glob pattern="*.index"/>
<icon name="application-x-stone-repository"/>
<generic-icon name="package-x-generic"/>
</mime-type>
<!-- V1 Build manifest -->
<mime-type type="application/x-stone-manifest">
<comment>Stone Build Manifest</comment>
<sub-class-of type="application/x-stone"/>
<magic priority="50">
<match type="big32" offset="0" value="0x006D6F73">
<match type="big32" offset="28" value="0x00000001">
<!-- Check file type = 4 (BuildManifest) -->
<match type="byte" offset="27" value="4"/>
</match>
</match>
</magic>
<glob pattern="manifest.*.bin"/>
<icon name="application-x-stone-manifest"/>
<generic-icon name="package-x-generic"/>
</mime-type>
<!-- JSON Build manifest -->
<mime-type type="application/x-stone-manifest-json">
<comment>Stone Build Manifest (JSON)</comment>
<sub-class-of type="application/json"/>
<glob pattern="*.jsonc"/>
<icon name="application-x-stone-manifest"/>
<generic-icon name="text-x-generic"/>
</mime-type>
</mime-info>