mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
f472057c12
* applications.jsonAdded Foxit Reader app and updated Foxit Editor to show the difference.
* applications.json
Added Foxit Reader app and updated Foxit Editor to show the difference.
* Compile Winutil
* Fix Broken Link and add syncthingtray (#1508)
* Compile Winutil
* Remove Nano-Removed bugged Nano package for now
* Remove Nano
-Removed bugged Nano package for now
* Compile Winutil
* tweaks and fetures tabs clean up automation from inputXML.xaml
* tweaks and fetures tabs clean up automation from inputXML.xaml
* fixed some commas in tweaks.json file
* recompile
* Update tweaks.json
* Compile Winutil
* Choosing Alternate Scartch Path and Busy Messages
* Choosing Alternate Scartch Path and Busy Messages
* Change Selected index to be pro
* Compile Winutil
* Improve detection for Pro editions of Windows (#1539)
* Update applications.json
Fake app add made by linux fanboy
* Compile Winutil
* Update files
- Add detections for whether the image to be processed by MicroWin is Windows 10 or later
- Add procedure to clear the indexes ComboBox (WinForms term) every time an ISO is specified
* Update screen-install.png (#1464)
* Compile Winutil
* Improve detection for Professional editions
---------
Co-authored-by: Chris Titus <dfm.titus@gmail.com>
Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com>
Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com>
Co-authored-by: Chris Titus <contact@christitus.com>
* Fix features not being installed and winget reinstall (#1537)
* Fix typo in features variable
This fucker caused every. single. feature in config tab to not install
* Add argument "--force" to winget reinstall
Some users reported not being able to reinstall winget without this argument.
* Revert "Add argument "--force" to winget reinstall"
This reverts commit b331460340
.
* Add "--force" argument when reinstalling winget
---------
Co-authored-by: Chris Titus <contact@christitus.com>
* RE: Add Adobe Creative Cloud Cleaner tool (#1532)
* Add a new function for handling the new tool
Implement a new function called Invoke-WPFRunAdobeCCCleanerTool which will download, run the tool and delete it afterwards.
* Add the button invocation to call the new function
If this is not done, the button will do nothing if the user clicks on it.
* Add the button to the XML code
* Add button using the new way
Using inputXAML.xml is the old way.
* Compile Winutil
* application are evenly distributed to 5 columns (#1534)
* Exclude compiled winutil
* Fix unit tests
---------
Co-authored-by: LoopTJ <34551682+LoopTJ@users.noreply.github.com>
Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com>
Co-authored-by: Roc Wang <rocwang911@gmail.com>
Co-authored-by: Jes Herring <123990927+jesjess243@users.noreply.github.com>
Co-authored-by: ogfrm <96927197+ogfrm@users.noreply.github.com>
Co-authored-by: LeeDowA <157072913+LeeDowA@users.noreply.github.com>
Co-authored-by: CodingWonders <101426328+CodingWonders@users.noreply.github.com>
Co-authored-by: Samq64 <81489795+Samq64@users.noreply.github.com>
Co-authored-by: Yuri Gabriel <97139700+Yuuh15@users.noreply.github.com>
Co-authored-by: Ken Hoo <158048821+mrkenhoo@users.noreply.github.com>
58 lines
2.5 KiB
PowerShell
58 lines
2.5 KiB
PowerShell
function Invoke-WPFButton {
|
|
|
|
<#
|
|
|
|
.SYNOPSIS
|
|
Invokes the function associated with the clicked button
|
|
|
|
.PARAMETER Button
|
|
The name of the button that was clicked
|
|
|
|
#>
|
|
|
|
Param ([string]$Button)
|
|
|
|
# Use this to get the name of the button
|
|
#[System.Windows.MessageBox]::Show("$Button","Chris Titus Tech's Windows Utility","OK","Info")
|
|
|
|
Switch -Wildcard ($Button){
|
|
|
|
"WPFTab?BT" {Invoke-WPFTab $Button}
|
|
"WPFinstall" {Invoke-WPFInstall}
|
|
"WPFuninstall" {Invoke-WPFUnInstall}
|
|
"WPFInstallUpgrade" {Invoke-WPFInstallUpgrade}
|
|
"WPFdesktop" {Invoke-WPFPresets "Desktop"}
|
|
"WPFlaptop" {Invoke-WPFPresets "laptop"}
|
|
"WPFminimal" {Invoke-WPFPresets "minimal"}
|
|
"WPFclear" {Invoke-WPFPresets -preset $null -imported $true}
|
|
"WPFclearWinget" {Invoke-WPFPresets -preset $null -imported $true -CheckBox "WPFInstall"}
|
|
"WPFtweaksbutton" {Invoke-WPFtweaksbutton}
|
|
"WPFAddUltPerf" {Invoke-WPFUltimatePerformance -State "Enabled"}
|
|
"WPFRemoveUltPerf" {Invoke-WPFUltimatePerformance -State "Disabled"}
|
|
"WPFundoall" {Invoke-WPFundoall}
|
|
"WPFFeatureInstall" {Invoke-WPFFeatureInstall}
|
|
"WPFPanelDISM" {Invoke-WPFPanelDISM}
|
|
"WPFPanelAutologin" {Invoke-WPFPanelAutologin}
|
|
"WPFPanelcontrol" {Invoke-WPFControlPanel -Panel $button}
|
|
"WPFPanelnetwork" {Invoke-WPFControlPanel -Panel $button}
|
|
"WPFPanelpower" {Invoke-WPFControlPanel -Panel $button}
|
|
"WPFPanelregion" {Invoke-WPFControlPanel -Panel $button}
|
|
"WPFPanelsound" {Invoke-WPFControlPanel -Panel $button}
|
|
"WPFPanelsystem" {Invoke-WPFControlPanel -Panel $button}
|
|
"WPFPaneluser" {Invoke-WPFControlPanel -Panel $button}
|
|
"WPFUpdatesdefault" {Invoke-WPFUpdatesdefault}
|
|
"WPFFixesUpdate" {Invoke-WPFFixesUpdate}
|
|
"WPFFixesWinget" {Invoke-WPFFixesWinget}
|
|
"WPFRunAdobeCCCleanerTool" {Invoke-WPFRunAdobeCCCleanerTool}
|
|
"WPFFixesNetwork" {Invoke-WPFFixesNetwork}
|
|
"WPFUpdatesdisable" {Invoke-WPFUpdatesdisable}
|
|
"WPFUpdatessecurity" {Invoke-WPFUpdatessecurity}
|
|
"WPFWinUtilShortcut" {Invoke-WPFShortcut -ShortcutToAdd "WinUtil"}
|
|
"WPFGetInstalled" {Invoke-WPFGetInstalled -CheckBox "winget"}
|
|
"WPFGetInstalledTweaks" {Invoke-WPFGetInstalled -CheckBox "tweaks"}
|
|
"WPFGetIso" {Invoke-WPFGetIso}
|
|
"WPFMicrowin" {Invoke-WPFMicrowin}
|
|
"WPFCloseButton" {Invoke-WPFCloseButton}
|
|
"MicrowinScratchDirBT" {Invoke-ScratchDialog}
|
|
}
|
|
} |