* move logic to json template
- remove Invoke-WPFToggle.ps1
- generalize Get-WinUtilToggleStatus
- add bingsearch reg key for testing
- use Invoke-WinUtilTweaks for actions
- replace Add-Click with checked & unchecked to make undo work
* add reg params for toggles into tweaks.json
- add all reg keys to tweaks.json into existing toggle entry
- remove unneeded scripts
* fix HKU
- load HKU if needed (for tweaks & GetToggleStatus)
- remove unneeded Invoke-WinUtilNumLock
- has loaded HKU does not load/not stay loaded
* add a lot of error handling
* Bugfix: New-PSDrive seems to return the "hku" itself so weirdly gets prepended to the return value so the result becomes ("hku", $false). In powershell pretty much every variable that exists is interpreted as $true so the toggle for numlock got incorrectly checked
* globally fix HKU error & minimize console feedback
- fix HKU issue globally
- remove some console logs, change some others to write-debug
* update Explorerrefresh
- change Invoke-WinUtilExplorerRefresh to handle refresh and restart
- add restart logic to window snapping Flyout & Suggestions
- rename Invoke-WinUtilExplorerRefresh to Invoke-WinUtilExplorerUpdate
* add explorer restart where needed to take effect
add explorer restart logic for hidden files + Fileextension toggles
* fix missing theme change logic in darkmode toggle
* fix window snapping
- fix issue defining WindowArrangementActive as dword instead of string
* fix bing search
- switch bing search enabled/disabled values
* add a little bit of error handling
- add error handling for Get-WinUtilToggleStatus
---------
Co-authored-by: Marterich <47688561+Marterich@users.noreply.github.com>
* Squashed commit of the following:
commit c674d5eb605b549d8d8b247749954a98197277b4
Author: Saksham Singh <sakshamsingh.93502@gmail.com>
Date: Wed Sep 11 19:34:44 2024 +0530
desc update
commit 3d8bf2bdc9c382a9f087b9ac6e63cb8604c99698
Author: Saksham Singh <sakshamsingh.93502@gmail.com>
Date: Wed Sep 11 19:30:23 2024 +0530
Added Razer Block
Added the razer block by chris titus under the Fixes Section
* Moved razer-block from features to tweaks
* Updated tweaks.json
* Added option to enable ssh server under config tab
* Undoing a accidental pushed commit
* minor change
* Move Disable Teredo to Advanced and Add prefer-ipv4 tweak
* Push DevDocs Update
* Fix DevDocs annoyance where the path is changed
* Fix DevDocs annoyance where the path is changed
* Gracefully nuke Edge and all its associates completely.
- me: same person from the stream chat today: Techie Jack (aka: Psyirius)
- cleaner script
- removes EdgeWebView
- most programs install it, if it's needed and not found
- removes EdgeUpdate (the updater)
* removed local copy of the RegionPolicy
- and Preprocessing refactor
* Omit Webview from Uninstall
---------
Co-authored-by: Chris Titus <contact@christitus.com>
* Compile Winutil
* pre-Releases (#1)
* Create pre-release.yaml
* Update release.yaml
* Update pre-release.yaml
* Create release-drafter.yml
* Update release-drafter.yml
* Update pre-release.yaml
* Update pre-release.yaml
* Update pre-release.yaml
* Update pre-release.yaml
* Update pre-release.yaml
* Update pre-release.yaml
* Update pre-release.yaml
* Update pre-release.yaml
* Update pre-release.yaml
* Update release-drafter.yml
* Update pre-release.yaml
* Update release-drafter.yml
* Update pre-release.yaml
* Update release-drafter.yml
* Update release-drafter.yml
* Update pre-release.yaml
* Update pre-release.yaml
* Update release-drafter.yml
* Update release-drafter.yml
* Update release.yaml
* Update release-drafter.yml
* Update release-drafter.yml
* Update pre-release.yaml
* Compile Winutil
* fixed end task with right click
* Compile Winutil
* code generator & compile integration
* Compile Winutil
* finish
- add autogenerated table of content page named "Dev Docs", with table of content to all .md files
- added invokescript & undoscript
- generate documentation files
* oops, remove dublicates
* undo winutil.ps1
* remove prefixes
WPF
WinUtil
Toggle
$category
Features
Tweaks
Panel
Fixes
* fixes
- fix inconsistency in Featurenaming
- add "Enable" & "Disable" as prefix to remove
* fix spellin mistake
* remove unneccesary whitespaces
update info
remove unnecessary whitespaces by only adding stuff to the md if it actually exists
* rewrite prefix removal into one line definition
* added taskscheduler support
* add support for function calling
add support for functioncalling
- replace code formatting for invoke & undo script from json to powershell
* content instead of displayname
* add last modified date
* contributing + docs generator
- moved contribute.md to root CONTRIBUTING.md
- referenced CONTRIBUTING.md in contribute.md
- added toggle & button reference to functions
- added function references in functions
- changed mkdocs site styling
* Use HashSet for processedFunctions
Use HashSet for processedFunctions:
- Ensures dynamic addition of functions without duplication.
Recursive Function Scanning:
- Includes all nested functions called by InvokeScript, UndoScript, ToggleScript, and ButtonScript.
* follow github standards
- add code of conduct
- reference code of conduct in docs
- regrouped docs navigation
- add comment about the sourced md file
* small fixes
* change color from teal to blue in light mode
* add links to tweaks
* add archiving feature to autodocs
* administrative
- add script to releases and remove from compile
- move link from after description to after category
* small fixes
- add S in feature.json
- fix dating
- move link to after category
* fix links
* undo link bc of bugs
* add progress bar to script
- add progress like in compile
- moved archive folder creation to the beginning of the script
* Simple improvements to 'auto-devdocs' branch (#3)
* Fix links for tweaks & features
* Make New Line characters work for Json Snippet
* Change NewLine Character from Unix Style (LF) to Windows/DOS Style (CRLF)
* rerun script
* und workflows & rearrange navigation items
* layer out itemname cutout
* rework links & temp removal of archivation
* fix adding link in json root
not adding link member to root in json files
* fix json generation
replace '\r\n',"`r`n" with ('\n',"`n")
* add features to auto md docs
* add minify plugin
* regex hotfix
* refractor
* add changelog to about section
add link to changelog in docs for about section
* undo changelog
* Cleanup 'devdocs-generator.ps1' - Implement Zig Multiline String Feature (#4)
* Cleanup 'devdocs-generator.ps1' - Implement Zig Multiline String Feature
* Fix NewLine character replace in 'devdocs-generator.ps1'
* run script
* run script
* Fix 'itemnametocut' RegEx in 'devdocs-generator.ps1' (#5)
* rerun script
* rework nav + remove code of conduct
* undo workflow changes
* run script
* remove changelog
---------
Co-authored-by: MyDrift-user <MyDrift-user@users.noreply.github.com>
Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
* Replace Tabs with Spaces to follow the conventions
* Add Preprocessing in Compiler
* Compile from Anywhere you want - Running 'Compile.ps1' Works in any directory you call it from
* Code Formatting Changes
* Result of Preprocessing Step in 'Compile.ps1' Script - Remove Trailing Whitespace Characters
* Make Preprocessing more advanced
* Move Preprocessing to a separate script file
* Make Self Modification impossible for 'tools/Do-PreProcessing.ps1' Script - Make the workingdir same as sync.PSScriptRoot for consistency
* Revert commit b5dffd671f
* Patched a Bug of some Excluded Files not actually get excluded in 'Get-ChildItem' PS Cmdlet
* Update Replace Regex for Code Formatting in 'Do-PreProcessing' Script Tool
* Rename 'Do-PreProcessing' to 'Invoke-Preprocessing' - Update some Comments
* Make 'Invoke-Preprocessing' Modular - Update RegEx to handle more cases - Update Documentation - Add Validations & Useful feedback upon error
* Replace Tabs with Spaces to follow the conventions - 'applications.json' File
* Code Formatting Changes - 'Copy-Files' Private Function
* Update Replace Regex for Code Formatting in 'Invoke-Preprocessing' Script Tool
* Replace Tabs with Spaces to follow the conventions - Make 'ExcludedFiles' validation step check all filepaths before finally checking if any has failed
* Result of 'Invoke-Preprocessing' Script
* Update Replace Regex for Code Formatting in 'Invoke-Preprocessing' Script Tool
* Update Documentation for 'Get-TabXaml' Function
* Add More checks for Passed Parameters for 'Get-TabXaml' Function & A One Line change
* Make 'Get-TabXaml' Function do Proper Indentation to the Generated XML String & Add more Theming Options
* Re-formatting for a few lines in 'Get-TabXaml' Function
* Improve UI a bit
* Fix Buttons for Config Tab
* Add optional 'ButtonWidth' Field to Config Json Files that use 'Button' Type
* Simple Code Formatting in 'inputXML.xaml' File
* Make naming More Clear to the Developers
Rename the name of an element from 'CheckboxFilterClear' to 'SearchBarClearButton' and renamed style from 'ClearButtonStyle' to 'SearchBarClearButtonStyle'
* Rename 'FontFamilyHeading' to 'HeaderFontFamily' to match conventions & Make new Theming Property called 'SearchBarClearButtonFontSize'
* Remove Un-necessary 'ToString' Convertion in 'Get-TabXaml' Function
* Make naming More Clear to the Developers again
Rename the name of an element from 'CheckboxFilter' to 'SearchBar'.. although after some realization.. the naming might make sense at first,
because it filters only the checkboxes.. but CheckBoxFilter is less "Intutive" when saying it compared to "SearchBar".. _This's my own opinion, and it can reverted easily with git if needed._
* Remove Un-necessary Attributes in 'Get-TabXaml' Private Function
* Improve UI a bit
* Improve UI a bit
* Re-order some tweaks & Update their Content Fields to be more descriptive
* Remove the changing 'Off' & 'On' TextBlock next to Toggle Button/Checkbox
Removed it as it only takes up space in the right side of the Toggle Button/Checkbox, as well as making it difficult to correctly align it when change from/to 'On' & 'Off' Text,
* Some changes to the Generated Toggle Button/Checkbox in 'Get-TabXaml' Private Function
Increase the Side Margins of Toggle Button/Checkbox, as well as Change its side to be on the Left hand-side of the Label, rather then the Right hand-side.
* Remove All Trailing Whitespace Characters in '.ps1' Files
* Remove All Trailing Whitespace Characters in '.json' Files
* Remove All Trailing Whitespace Characters in '.yaml' Files
* Remove All Trailing Whitespace Characters in Different Files
* Remove Even More Trailing Whitespace Characters