Skip to content

Automatical postinstall script for macos #2561

@haikesan

Description

@haikesan

What is the problem or limitation you are having?

I am now trying to use postinstall script in my pkg file on macos. It is present in cookiecutter template, but, nor pkgbuild or productbuild doesn't really do anything with it. Didn't find any workarounds or solutions for this in docs, and I don't want to spin xcode project in here.

Describe the solution you'd like

I will like to have option to include custom payload for installer-only, inside resources, that will be packed alongside with .html file and license.
My postinstall depends on pre-compiled executable (Yes, this is intended and fully needed for my usecase. Also, including some additional data in installer could be useful sometimes), which I would like to invoke from postinstall script.
Is this even possible?

Describe alternatives you've considered

I've checked the docs for some configuration options, checked older version of macos app template..

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features, or improvements to existing features.macOSThe issue relates to Apple macOS support.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions