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

Support executable addin files #139

Open
directhex opened this issue Mar 1, 2019 · 0 comments
Open

Support executable addin files #139

directhex opened this issue Mar 1, 2019 · 0 comments

Comments

@directhex
Copy link
Contributor

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)]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant