* Setup for testing
* Working Example for Background
* Almost all MainBackgrounColor working
* Random Color PoC
* Fix DBorderColor
* prevent old logic from replacing colors in memory at startup
* Comment out resources in xaml
* Finish new Button
* Remove Pulse, Load Windows default Theme
* Fix Colors
* Fix Toggle Colors
* working version, with shared still being mostly applied be replace instead of resouces
* Load all entries in themes.json as Resource and reference them in inputXML.xaml
* Rename File to match Function Name
* Hotfix for Sync with main
* Remove Static Set-WinUtilUITheme function/file
* Rename File and Function
* Cleanup and Stuff
* Unify Button Theme with rest of UI
* Refactor/Optimazation
* Performance optimization
* Add Comments
* Rename Functions and Variables to be more concise and descriptive
* Add persistence to the user Theme Preference across winutil restarts
* Reimplement Theme Chagnes from #2722
* Add AUTO option to follow window theme and add dropdown instead toggle
* Formatting and deleting temp file
* Fix small display bug where Dropdown would remain open for settings and themes
* Remove terniary operators because only PS7+ is supported
* enhance asset mgmt
- invoke ico directly
- invoke ico only at shortcut creation
- remove "ConvertTo-Icon" Function file
- removed image from xaml
- added stackpanel to xaml
- added functions to create viewbox with image
- added logic to add image via code to xaml & customdialog
- changed title color for customdialog
- remove webinvokes for assets from main.ps1
TODO: convert images into bitmap base64 string & add them directly into invoke-WinUtiltaskbaritem.ps1
* improve viewboxfunction
- add logo + checkmark + warning
- add params
- render on param "render"
- custom dialog logo function call fix
- main logo function call fix
- update winutiltaskbaritem to use new images
* fix sizing
- warning & checkmark sizing fix
- remove unneded comments
* fixes
- remove unneeded redundancy of "$canvas = New-Object Windows.Controls.Canvas"
- adjust empty lines
- use LimeGreen instead of Green
* fix layouting
* fixes
- use correct ctt blue color #0567ff
- remove unneeded comments
- rename Logoview to assets
* performance improvement
instead of rendering the image another time on each item switch, it caches it at the start and uses the render afterwards
* redo gray part of winutil logo
* correct gray shade
* fix coloring
* ise ico if available
---------
Co-authored-by: Chris Titus <contact@christitus.com>
* Improve 'Invoke-WPFPresets.ps1' Public Function as well as Simple Optimizations
* Simple Optimization by providing more info to 'Invoke-WPFPresets.ps1' function calls inside 'Invoke-WPFButton.ps1'
* Fix some logic issue in 'Invoke-WPFPresets.ps1' Public Function
* Rename Button Names to more clear and Make them follow CamelCase Naming
* enhance toggle logics
- cleanup Invoke-WPFToggle.ps1
- add attributes member to tweaks
- add "eprestart" for restart explorer to attributes.
- removed restart explorer logics from existing toggles.
- add restart explorer logics to Invoke-WPFToggle.ps1 depending on attribute content
* undo attributes
* 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
* fix shortcut creation
- using vars that actually exist instead of imaginary ones.
- remove empty row at the start of the file
* cleanup
remove unneccessary empty row
* Compile Winutil
* first draft for Progress bar in GUI
* small optimizations to the loading bar
* Optimize the Winget Installation Function to make it more maintainable
* Apply loading bar to Tweaks
* Update colors
* Add docs
* Fix value range for the taskbar item
* Remove winutil.ps1 from PR
* Documention and fix an oversight in the uninstall logic
* Reduce even more repeaded code
---------
Co-authored-by: Marterich <Marterich@users.noreply.github.com>
- Change process code to Start-Process -PassThru, finally removing the need for a new process object
- Add code if ISO generation is not successful to display an error message in the system language from the Windows APIs
* Make 'ConvertTo-Icon' Private Function Parameter more stricter
* Fix 'Invoke-WPFShortcut' Public Function Icon Support for the created shortcuts
* Replace Tabs with Spaces to follow the conventions
* Add new optional parameter to 'ConvertTo-Icon' and Improve the documentation for the function
* Update the Description for 'ConvertTo-Icon' Function
* Update some Documentation Wording in 'ConvertTo-Icon' Function
* Change behavior of one case from throwing an exception to doing an early return
Co-authored-by: Martin Wiethan <47688561+Marterich@users.noreply.github.com>
* Update Examples for 'ConvertTo-Icon' Functions & Add a new Example, as well as some other changes
Besides the updated documentation for 'ConvertTo-Icon' Function, the icon file path has changed from '$env:TEMP\cttlogo.ico' into '$env:LOCALAPPDATA\winutil\cttlogo.ico', and add edge-case of Folder not being found for the Icon File in 'ConvertTo-Icon' Code.
---------
Co-authored-by: Martin Wiethan <47688561+Marterich@users.noreply.github.com>
* 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
* Simple improvements to 'applications.json' File (#2043)
* Replace Spaces with Tabs in 'applications.json' File
* Correct 'AFFiNE' App Entry's Winget ID from 'AFFiNE.stable' to 'ToEverything.AFFiNE' in 'applications.json' File
* Compile Winutil
* Tweaks (#2051)
* Fix Numlock toggle (#2044)
* Fix Numlock at login
* Compile Winutil
---------
Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com>
* Compile Winutil
* fix typo (#2041)
* Compile Winutil
* Update README.md
* * Fixed .getignore issues, it's it not enough to just add to gitgnore if it was already tracked by git it will be continued to be tracked by git, so you have to 'git rm' it
* Fixed ooshutup, there is no need to download configs, they are
already compiled into winutil
+ Added a tweak to remove and disable Intel LMS, which have been
identifed as a potential backdoor into Windows.
* Update winget.ps1
* + Added new release actions, every time we merge into main it will
create a release by extracting the version fromwinutil.ps1 and setting
all appropriate tags and versions
* fix merge
* add compile back in
* Update action to latest tools
* Ensure Compile is finished
---------
Co-authored-by: Chris Titus <contact@christitus.com>
Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com>
Co-authored-by: nikolan <94351312+nikolan123@users.noreply.github.com>
Co-authored-by: KonTy <KonTy@github.com>
Co-authored-by: Chris Titus <dfm.titus@gmail.com>
* Compile Winutil
* Rework Compile (#2061)
* Compile Winutil
---------
Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com>
Co-authored-by: KonTy <9524513+KonTy@users.noreply.github.com>
Co-authored-by: nikolan <94351312+nikolan123@users.noreply.github.com>
Co-authored-by: KonTy <KonTy@github.com>
Co-authored-by: Martin Wiethan <47688561+Marterich@users.noreply.github.com>