Skip to content

Commit

Permalink
win: improve service revert and docs
Browse files Browse the repository at this point in the history
This commit refines the reversion process for disabled services,
including handling cases where a service is missing, and enhances
documentation related to default service states. It corrects the
startup mode for the `gupdatem` service from 'Automatic' to 'Manual'.

Key changes:

- Add documentation on default service states and startup types.
- Introduce `ignoreMissingOnRevert` to skip errors when reverting
  missing services, improving the user experience.
- Standardize script titles for consistency across service
  disablement scripts.
- Correct the startup type for `gupdatem` to 'Manual', aligning
  it with its actual default state.

Supporting changes:

- Update `DisableService` function to support `ignoreMissingOnRevert`,
  allowing more flexibility in handling missing services on revert.
- Change `treatMissingStateAsOk` to `ignoreMissingOnRevert` for
  clarity and consistency.
  • Loading branch information
undergroundwires committed Apr 13, 2024
1 parent ae17200 commit b87b7aa
Showing 1 changed file with 289 additions and 57 deletions.
Loading

0 comments on commit b87b7aa

Please sign in to comment.