chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.24k stars 897 forks source link

Add ChocolateyExitOnRebootDetected feature setting to environment variables for usage within package scripts #1983

Closed mkevenaar closed 4 years ago

mkevenaar commented 4 years ago

Inside a package I want to verify if the user uses the exit-on-reboot-detected flag / setting. Currently there is no env variable for it. Is there a way to detect if a user has enabled that feature?

ferventcoder commented 4 years ago

This is completed for 0.10.16.

ferventcoder commented 4 years ago

Thank you @mkevenaar!!