Skip to content

Commit 49a8a33

Browse files
authored
Update draft.md
1 parent e03b661 commit 49a8a33

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

draft.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ The AppImage Specification is licensed under [The MIT License](https://github.co
1010

1111
* [Introduction]
1212
* [Revision History]
13-
* [Definitions]m
13+
* [Definitions]
1414
* [Specification]
1515
- [Image format]
1616
+ [Type 0 image format]
1717
+ [Type 1 image format]
18+
+ [Type 2 image format]
1819
- [Contents of the image]
1920
+ [The filesystem image]
2021
+ [The AppRun file]
@@ -49,6 +50,7 @@ The AppImage Specification describes [AppImage], a format to deploy application
4950
Version | Date | Notes
5051
--- | --- | ---
5152
Draft | 2016-06-15 | Initial draft of the AppImage Specification started
53+
Draft | 2016-09-18 | Type 2 image format drafted
5254

5355
## Definitions
5456

@@ -118,6 +120,19 @@ An [AppImage] which conforms to the type 1 image format:
118120
* **MAY** embed [update information] in the ISO 9660 Volume Descriptor field (offset 33651). If the information in this location is not in one of the known [update information] formats, then it **SHOULD** be empty and/or be ignored
119121
* **SHOULD** contain the magic hex `0x414901` at offset 8 ([why?](https://github.com/probonopd/AppImageKit/issues/144))
120122

123+
#### Type 2 image format
124+
125+
An [AppImage] which conforms to the type 2 image format:
126+
127+
* **MUST** be a vaild [ELF](https://en.wikipedia.org/wiki/Executable_and_Linkable_Format) executable
128+
* **MUST** have appended to it a filesystem that the ELF part can mount
129+
* **MUST**, when executed, mount the [AppImage] and execute the executable file `AppRun` contained in the root of the filesystem image
130+
* **MUST NOT** rely on any specific file name extension, although it is **RECOMMENDED** that the file name extension `.AppImage` is used whenever a file name extension is desired. Futher it is **RECOMMENDED** to follow the naming scheme `ApplicationName-$VERSION-$ARCH.AppImage` in cases in which it is desired to convey this information in the file name
131+
* **SHOULD** not be encapsulated in another archive/container format during download or when stored
132+
* **MUST** work even when stored in a filesystem path that contains blanks or when stored with a file name that contains blanks
133+
* **MAY** embed [update information] in the ELF PT_NOTE section `.note.upd-info`. If the information in this location is not in one of the known [update information] formats, then it **SHOULD** be empty and/or be ignored
134+
* **SHOULD** contain the magic hex `0x414902` at offset 8 ([why?](https://github.com/probonopd/AppImageKit/issues/144))
135+
121136
### Contents of the image
122137

123138
#### The filesystem image:

0 commit comments

Comments
 (0)