Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow plugins to hook into AppRun #81

Closed
@TheAssassin

Description

@TheAssassin

Sometimes it's important to perform actions before running the actual app. The classic approach is to tell people to write custom AppRun scripts.

That's not very elegant, though, as the code is pretty much the same every time. Also some plugins might have to set e.g., environment variables to work properly (a good example is #80).

Therefore linuxdeploy should, if necessary, generate an AppRun stub that is prepared to run hooks created by plugins. I guess sourceing all files in some special directory in the AppDir should be sufficient. It'll be best to make a rule that the order must not have any influence on the result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions