Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to send option flags to post-install script #882

Open
2 tasks done
mrclary opened this issue Oct 25, 2024 · 0 comments
Open
2 tasks done

Ability to send option flags to post-install script #882

mrclary opened this issue Oct 25, 2024 · 0 comments
Labels
type::feature request for a new feature or capability

Comments

@mrclary
Copy link

mrclary commented Oct 25, 2024

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

@jaimergp,
Is there a way for the post-install script to determine whether the installer is running in silent (.exe with /S) or batch (.sh with -b) mode?

Otherwise, is it possible to implement a feature in which command-line arguments provided to the installer (.exe, .sh or .pkg) are passed to the post-install script?

Why is this needed?

For our Spyder installer, the post-install script is designed to launch Spyder automatically upon completing the install. It is desirable to forego this behavior if the Spyder installer is executed from the command-line in either batch or silent mode.

The ability to pass command-line arguments to the post-install script could provide more flexibility for developers that use the post-install script.

What should happen?

No response

Additional Context

spyder-ide/spyder#22730

@mrclary mrclary added the type::feature request for a new feature or capability label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::feature request for a new feature or capability
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant