Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Improved formatting/comments #317

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Carterpersall
Copy link

@Carterpersall Carterpersall commented Apr 23, 2022

win10debloat.ps1:

  • Improved formatting to increase the readability of the script
  • Made the comment's formatting more consistent
    Much of this was previously in my pull request Tweaked a Few Things and Resolved Several Issues #285 but there were issues with the diff creating confusion which caused it to be closed. So I'm redoing everything and putting them all into separate pull requests to increase clarity on exactly what has changed. If the diff still ends up being confusing, I would recommend looking at each individual commit as they say what exactly is done and the diff usually isn't as bad.

 - Minor wording, capitalization, and whitespace changes throughout the script.
 - Changed the error action in $disableupdates and $enableupdates to pause instead of sleep to let the user choose when to close instead of waiting
@Carterpersall Carterpersall changed the title Improved formatting Improved formatting/comments Apr 23, 2022
 - Made if-statement formatting more consistant
 - Started adding $Resulttext.text logging whenever there is a Write-Host at the beginning of a task
 - More whitespace additions/reductions
 - Finished adding Write-Host and $ResultText.text logging whenever a task isn't instand
 - Added Write-Host and $ResultText.text logging where it was missing
 - Added a few comments labeling each section of the script
 - Changed ooshutup10.cfg comments to reflect the current version
@Carterpersall
Copy link
Author

The upcoming update will probably break this, please don't close it though as I intend to fix it for the update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants