From 518c6837840185d956842187ee3b5463bd62db12 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 13 Jul 2024 15:05:58 +0200 Subject: [PATCH 1/3] TARGET_APPIMAGE Add TARGET_APPIMAGE to AppImageSpec as suggested by AppImageLauncher --- draft.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/draft.md b/draft.md index f561344..d9b3491 100644 --- a/draft.md +++ b/draft.md @@ -19,10 +19,11 @@ The AppImage Specification is licensed under [The MIT License](https://github.co - [Contents of the image] + [The filesystem image] + [The AppRun file] - + [The payload application] + + [The payload application]run - [Metadata] + [AppStream] + [Update Information] + - [Runtime] - [Desktop Integration] [Introduction]: #introduction "Introduction" @@ -247,6 +248,12 @@ You can visit https://www.pling.com/product/add to register a new product on the The __bintray-zsync__ transport was there to support [Bintray](https://bintray.com/). It is deprecated. +### Runtime + +The AppImage runtime is the program that mounts the filesystem image and executes the payload. + +If the AppImage runtime is a static binary, then it **MUST** support the environment variable `TARGET_APPIMAGE`. If set to an existing path, then the AppImage Runtime will use the filesystem image from the AppImage at that path for all its operations rather than the filesystem image appended to the runtime binary. + ### Desktop integration The software inside the [AppImage] **MAY** integrate into the desktop environment (e.g., by installing a [.desktop file] into the host system) on the user's behalf. However if it does so, it *SHOULD* ensure to get the explicit permission of the user, e.g., by asking for permission in a GUI window, or by reacting to a command line argument. From 3aa3d0678a64ee004410fa824e43f21a3e2876a9 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 13 Jul 2024 15:09:59 +0200 Subject: [PATCH 2/3] Fix typo --- draft.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draft.md b/draft.md index d9b3491..b51aced 100644 --- a/draft.md +++ b/draft.md @@ -19,7 +19,7 @@ The AppImage Specification is licensed under [The MIT License](https://github.co - [Contents of the image] + [The filesystem image] + [The AppRun file] - + [The payload application]run + + [The payload application] - [Metadata] + [AppStream] + [Update Information] From 9ff58a46fef70e6b8794f734d21efbbf3d09575f Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 13 Jul 2024 15:39:01 +0200 Subject: [PATCH 3/3] Update draft.md Co-authored-by: TheAssassin --- draft.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draft.md b/draft.md index b51aced..0d7bdd5 100644 --- a/draft.md +++ b/draft.md @@ -252,7 +252,7 @@ The __bintray-zsync__ transport was there to support [Bintray](https://bintray.c The AppImage runtime is the program that mounts the filesystem image and executes the payload. -If the AppImage runtime is a static binary, then it **MUST** support the environment variable `TARGET_APPIMAGE`. If set to an existing path, then the AppImage Runtime will use the filesystem image from the AppImage at that path for all its operations rather than the filesystem image appended to the runtime binary. +If the AppImage runtime is a static binary, then it **MUST** support the environment variable `TARGET_APPIMAGE`. All runtimes **SHOULD** implement this environment variable. If set to an existing path, then the AppImage Runtime will use the filesystem image from the AppImage at that path for all its operations rather than the filesystem image appended to the runtime binary. ### Desktop integration