winget-cli
winget-cli copied to clipboard
Support installers that always reboot by warning user / requiring an opt-in flag
Description of the new feature / enhancement
Some installers will always reboot, regardless of what we ask of them. We can support these by having the data in the manifest to indicate it, then warning the user and possibly requiring an opt-in flag on the command line.
Proposed technical implementation details
Add a field to the manifest to indicate a forced reboot from installation.
Warn (aka error) the user if they try to install
Only proceed if a new option is passed in: --allow-reboot or similar
Could be similar to:
- #1786