Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Support executable addin files #139

@directhex

Description

@directhex

Since we are trapped in a world where mpack is zip, and zip as a format inherently has no support for permission handling, we ought to bypass this by adding an optional way to define an AddinFile as executable, such that when an addin file is installed, Mono.Addins can fix up the permissions post-hoc to allow execution.

This allows for shipping shell scripts, or other executable binaries, on Mac/Linux, inside mpack files.

Propsal:

[assembly: ImportAddinFile("scripts/myscript.sh")]

into

[assembly: ImportAddinFile("scripts/myscript.sh", true)]

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