-
Notifications
You must be signed in to change notification settings - Fork 168
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
Comments
Not currently, I'm afraid. We would need to export (and/or pass) some variables like
This is trickier to do cross-platform. Might be trivial for |
I understand regarding |
Added #885 |
Checklist
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 thepost-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
The text was updated successfully, but these errors were encountered: