indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.4k stars 234 forks source link

apple-flat-package: fix scripts type #575

Closed magarcia closed 1 year ago

magarcia commented 2 years ago

I'm not sure if this is the best approach, but it seems to fix the issue described on indygreg/apple-platform-rs#9. Changing the type of scripts from Vec<Script> to Option<Script> and Script from enum to struct.

indygreg commented 1 year ago

I've moved apple-flat-packages to https://github.com/indygreg/apple-platform-rs. Please rebase this PR and submit it against the new project if you'd still like it to be considered. (The new repository has the full history of https://github.com/indygreg/PyOxidizer so a rebase should work assuming there aren't other code changes since this PR was submitted.)