Provide facility to invoke alternate payload applications
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 30/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Bereich
- documentation
Rechercherichtung
Es werden keine Dateien oder Tests genannt; beginne mit der Prüfung der AppImage-Spezifikation und ihrer bestehenden Aufrufregeln. Kläre, welche Methoden zur Programmauswahl die Spezifikation standardisieren sollte, und lege das Nachschlage- und Fallback-Verhalten für AppDir, die Behandlung von argv[0] und die Übergabe von Argumenten als Abschlusskriterien fest.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
While most applications do have a main entry point to get to all their functionality, plenty of apps ship with additional executables for various purposes, like cvlc (a command-line-only interface for VLC), editcap (a command-line pcap file splicer with Wireshark), and so forth. These might be additional binaries, or might be a change of behavior based on the argv[0] value of the main application at runtime.
There should be some way to invoke these alternate programs.
-
The spec should provide a way to invoke an alternate program than the main payload.
-
The spec could provide a way to enumerate additional names and the locations of the respective programs within the AppDir explicitly, through a metadata file (not strictly necessary if the other options below are also implemented).
-
In the absence of explicit enumeration, or if an attempted program name was not enumerated, the AppImage should fallback by looking for the program name in a standard search path within the AppDir, e.g.,
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin. -
If there is still no matching program after looking at the explicit list and the search path, fallback to invoking the main payload application.
-
In all cases, set
argv[0]to the attempted program name, possibly with a prepended path if one is found within the AppDir. This allows a program to change behavior based only on the name used to invoke it.
-
-
The spec should specify one or more standard ways to identify which program was intended to be invoked by the user. Possibilities include (any or all could be implemented; the first two are probably the most useful):
-
Use
argv[0]of the invoked AppImage to select the desired program (this works simply by symlinking the AppImage itself to the desired alternate name). -
Use a special command argument at the start of the argument list which is unlikely to be meaningful to payload applications, e.g.
--AppImageRun foobarcontained inargv[1]andargv[2], with the remaining arguments passed through to the application. This could be used in .desktop files. -
Use a predefined environment variable name, which could be used in a wrapper script.
-
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 94
- Forks
- 30
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus AppImage/AppImageSpec
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
AppImage/AppImageSpec#60 · 7 Kommentare ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
AppImage/AppImageSpec#59 · 15 Kommentare · 2 Reaktionen ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
AppImage/AppImageSpec#48 · 2 Kommentare ·
-
help wanted
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
AppImage/AppImageSpec#44 · 10 Kommentare · 1 Reaktion ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
AppImage/AppImageSpec#40 · 1 Kommentar ·
Alle Issues in AppImage/AppImageSpec
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
MPCoreDeveloper/SharpCoreDB#531 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
IzzyOnDroid inclusionOffenF-Droid FOSS question
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
d4rken-org/butler#365 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 94/100
githubnext/gh-aw-workshop#6293 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
ShaftHQ/chaosengine-harness#423 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[External Plugin]: zooopOffenexternal-plugin ready-for-review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/awesome-copilot#6655 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag