microsoft / microsoft/winget-cli
Support installers that always reboot by warning user / requiring an opt-in flag
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how manifest fields are parsed and how the install command handles command-line options. Clarify the manifest representation, warning behavior, and opt-in semantics with maintainers before changing anything. Done means forced-reboot installers are identified, users are warned, and installation proceeds only with the agreed opt-in flag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100