* Add Selected Apps Label, Reshuffel the nesting of the checkbox and the label to be able to reference the name from the actual checkbox
* Add visual selection and allow click on the whole app section
* Fix Theme definition to work with theme change
* Fix Highlight on if label or icon is clicked
* change applications.json to powershell object list and refactor UI Creation logic
* Optimization and Add Collapsable Categories
* Add Button functionality for install, uninstall, info, install selected, uninstall selected, clear and implement search
* Rest application.json to Main
* Reset Compile to main
* Pretty much revamp_apps but without changes to applications.json
* Small fixes
* Fix minor denomination problem for packages
* Fix incorrect filter of OS packages
Packages such as the metadata for capabilities (FoDs) or the foundation package were being incorrectly filtered. They were part of `Remove-ProvisionedPackages`, which only removes AppX packages. These are **OS packages**, something completely different
* Fixed indentation
* Exclude `Microsoft-RemoteDesktopConnection`
Exclude that from feature list. Fixes#2705
* Remove DISM from AppX removal listings
DISM is a system component. It will never be an AppX package. This is unnecessary
* Improve error handling for file copy
* Remove space (for some reason)
Compilation script is very adamant that this should be this way
* Exclude the VBSCRIPT Features on Demand from pkgs
Exclude the VBSCRIPT feature on demand (or capability) from package removal. Some people were reporting that excluding VBSCRIPT fixed problems with AMD chipset drivers on MicroWin
* Exclude Recall from feature listings
This fixes problems people were experiencing where the file explorer would go back to the Windows 10 layout
* Improve error output
* Add 24H2 to release list
* Detect Windows 10 and show compatibility dialog
* Disable some insane desktop stuff on Windows 10
I've only been able to disable Search Highlights. News and Interests persists
* Change policy for News and Interests
Avoid showing "Access denied" errors for this. This is still broken - News and Interests is still there. [louder]Linus Torvalds curse word here[/louder]
Anyway, if someone wants to give setting this up a shot, send me suggestions on how to do this
* Write suggestion for AV
* Hold errored packages in a list
Items are being added correctly, but I can't get that to show to the end-user. Perhaps a different approach will work
* Remove older Windows versions from download list
Sadly, the links for these had been removed by Microsoft, in favor of the latest version (24H2)
* Add sorting to error messages
Thanks @og-mrk for the suggestion and the patch (even though I applied it myself)
* Make error messages easier to view (#1)
* Make error messages easier to view
* Improve error output
---------
Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com>
* Disable Recall on first run
Keeps the Explorer look of modern Windows 11 builds whilst removing the Recall feature (which I think will manifest itself on PCs with Lunar Lake processors)
* Replace "C:\" with environment variable
This still works on single-boot configurations, but presents a more dynamic approach
* Fix Volume Mixer issues and removal of leftovers
Fix originally from @MyDrift-user on #2856
* Add missing piece to last commit
* Default to downloading OSCDIMG from GitHub repo
Chocolatey may not be the way to help us detect the presence of OSCDIMG.
Everyone, unless someone REALLY uses old deployment technology, has moved to Windows ADK 10.0
* Fix Sorting of Errored Packages by using 'Sort-Object' instead of 'IComparer' approach (#2)
Fixes startup issues in PWSH 7
* Remove reference to News and Interests from output
Even though the logic is still there, it doesn't work. I don't want to deal with that anymore. Search Highlights, on the other hand, is removed very easily
* Exclude License packages from removal
They throw an "Access denied" error when trying to remove them. This is a timesaver
---------
Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
- remove idiotic border logic from Invoke-WPFUIElements
- add "application" type & style
- add "radiobutton" type & style
- remove prefer choco checkbox (did not modify logic outside of xaml, so i currently get errors due to that)
* Avoid duplicating items in lang list and fix issue
- Changed the first item in the language list to show "System language". Then we determine it and download it
- Fixed an issue where the entire contents of `gci` were being passed to the variable, which causes the rest to fail
* Add spaces for consistent indentation
* Modify current dir command to automatic variable
Thanks @ruxunderscore for suggesting
* Move downloaded ISO to user-specified path
* Indentation fixes for comments
* Update functions/public/Invoke-WPFGetIso.ps1
Co-authored-by: Luka Momčilović <l.momcilovic61@gmail.com>
* Modify first language item and add error handling
---------
Co-authored-by: Luka Momčilović <l.momcilovic61@gmail.com>
* try1
* little fix
* change back to using Fido
* little update
* fix some stuff
* fix (maybe?)
* remove architecture selection
* add somewhat of a lang support (needs improvement)
* WIP: refractor of existing logic & addition of language selection
* WIP: correct lang display (not working rn)
* improve, fix and more
- call ed with default windows edition (Home/Pro/Edu)
- fix language combobox logic
- add @CodingWonders 's "Get-FidoLangFromCulture"
- hide comboboxes if manual ISO selection is toggled
* little output fix
- added | Out-Null to combobox item additions to prevent unneeded console output
* improve coloring
- using ToggleButtonOnColor for Radiobuttons
- add theme color ToggleButtonOffColor and use where needed
* fix lang
* fix "en-" lang
remove (United States) bc it is wrong and not accepted by fido/ms
* always add "English"
* fix theming
- add ToggleButtonOffColor to all themes
* fix merge issue
* update instructions
* update ui
- manual download is primary option
- radiobuttons renamed to refrect what they are
- fix styling of instruction
- add margin to radiobuttons
* fix by adding line break to instructions
* fix merge issues
* 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
* Run the Doubleclick action only on Grid and Stackpanel and cleanup the logic
* Remove ternary operator because it is only supported for powershell 7+
* 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>
* Update documentation for 'Invoke-Preprocessing' Script Tool
* Improve Compile Script a bit Deduplicating a lot of un-needed pre-fixes - Improve implementation for 'Invoke-Preprocessing' Script Tool
* Fix RegEx in 'Invoke-Preprocessing' Script Tool
* Result of Preprocessing
* Update Replace Regex for Code Formatting in 'Invoke-Preprocessing' Script Tool
* Result of Preprocessing
* Update Exclude Files List for Preprocessing in 'Compile.ps1' Script
* Remove Extra Whitespace in some place for 'Invoke-Preprocessing.ps1' Script Tool
* Simplified and Improved the Exclude List Validation Step in 'Invoke-Preprocessing.ps1' Script Tool
* Restore 'workingdir' variable when using '-Run' Parameter with 'Compile.ps1' Script
* Revert "Update Exclude Files List for Preprocessing in 'Compile.ps1' Script"
This reverts commit 674ab0308b.
* Result of Preprocessing
* fixes
- change fontsize back to 12
- add correct handling of windows
- removed double click handling of winutil
* readd double click
* fixes
- argument passing on elevation & to windev script
- remove shell output of log
* improve compile -run
- added $args param for args that get passed to winutil
- improved starting new Shell logic
* fix: compile's run logic
- removed old logic
- fixed command to run in new shell
- replaced $args with $arg
* fix: logs & border
- move log start to after admin elevation
- fix color of border on fixed tweaks button.
* fix: MicrowinInjectDrivers's Margin
- use theme value instead of custom value
* change microwin checkbox margin
- set cutom microwin checkbox margin due to cut off content
* fix layouting of nav bar
- replace strange collumndefinition to fix bugs, make sense and look better
* rename $arg to $Arguments
* change maxresolution from 1380 to 1280
* Re-order some logic in 'main.ps1' script
* Use 'Write-Host' instead of 'Write-Warning' in 'main.ps1' script to make sure the output is seen in different environments
This'll make sure that the output is displayed in PowerShell 5 developing environments, and when outputing Warnings/Errors in Runspaces.
* admin titus version
* add proper method to launch correct script
* fix
* add .exe
* last fix
* remove ! that was for testing
---------
Co-authored-by: Chris Titus <contact@christitus.com>
* Remove leftover comment & update another comment in 'Get-TabXaml' Private Function
* Add new 'CloseIconFontSize' Theme Option
This's done to fix the Visual Issue of the Close Button being smaller than the Settings Button.
* Rename 'CheckBoxBulletDecoratorFontSize' to 'CheckBoxBulletDecoratorSize'
* Experiment with DPI Aware Units
* Remove extra whitespace characters in 'theme.json'
* Implement Default Theming - Add Error Checking & Quitting Early upon XML Related Failures - Simple Code Formatting here & there
* Replace Tabs with Spaces to follow the conventions
* Fix some logic issue in 'Set-WinUtilUITheme.ps1' Private Function - Rename 'Set-WinUtilUiTheme.ps1' -> 'Set-WinUtilUITheme.ps1'
* Change output info from 'Write-Warning' to 'Write-Host' to make sure it's displayed even in RunSpaces as well as PowerShell 5 Environments
* Revert back to default Unit of Measuring for WPF (1/96 in)
* Revert "Remove leftover comment & update another comment in 'Get-TabXaml' Private Function"
This reverts commit 368e5980df.
* Update 'themes.json' so the general changes will work with PR #2629
* Support the fallback to default theme (if it exists)
* Update 'Set-WinUtilUITheme' Documentation
---------
Co-authored-by: MyDrift <personal@mdiana.ch>
* 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
* Compile Winutil
* Add Run switch to Run winutil automatically after compilation
* Remove Winutil ForceInstall and unnecessary loading bar
---------
Co-authored-by: Marterich <Marterich@users.noreply.github.com>
* Hyperlink to CustomDialogs
- added ability to add hyperlinks to CustomDialogs
- Added custom Dialog for every item in the About Section
- added custom link to see the commits of the day of the version the script is on
- added hover effect for linked items
* Fix
- change version link to match changes made to release
- removed date formatting as it is not needed anymore
- Renamed Github Link to "ChrisTitusTech/winutil" because you can't select the text but click on it to open the link directly so it is unnecessary
* fix opening link
- switched method to open hyperlinks
old: [System.Diagnostics.Process]::Start
new: Start-Process