mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-22 05:51:30 -06:00
Added Twinkle Tray. (#157)
* added .idea to .gitignore * added twinkle tray for winget * added Twinkle Tray checkbox * added code for if twinkle tray is checked
This commit is contained in:
parent
6baf61a491
commit
25bd77bb8b
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ winutil.exe.config
|
|||||||
winutil.pdb
|
winutil.pdb
|
||||||
*.zip
|
*.zip
|
||||||
package.psd1
|
package.psd1
|
||||||
|
/.idea/
|
||||||
|
@ -128,6 +128,7 @@
|
|||||||
<CheckBox Name="Installtreesize" Content="TreeSize Free" Margin="5,0"/>
|
<CheckBox Name="Installtreesize" Content="TreeSize Free" Margin="5,0"/>
|
||||||
<CheckBox Name="Installwindirstat" Content="WinDirStat" Margin="5,0"/>
|
<CheckBox Name="Installwindirstat" Content="WinDirStat" Margin="5,0"/>
|
||||||
<CheckBox Name="Installterminal" Content="Windows Terminal" Margin="5,0"/>
|
<CheckBox Name="Installterminal" Content="Windows Terminal" Margin="5,0"/>
|
||||||
|
<CheckBox Name="Installtwinkletray" Content="Twinkle Tray" Margin="5,0"/>
|
||||||
<Button Name="install" Background="AliceBlue" Content="Start Install" Margin="20,5,20,5" ToolTip="Install all checked programs"/>
|
<Button Name="install" Background="AliceBlue" Content="Start Install" Margin="20,5,20,5" ToolTip="Install all checked programs"/>
|
||||||
<Button Name="InstallUpgrade" Background="AliceBlue" Content="Upgrade Installs" Margin="20,5,20,5" ToolTip="Upgrade All Existing Programs on System"/>
|
<Button Name="InstallUpgrade" Background="AliceBlue" Content="Upgrade Installs" Margin="20,5,20,5" ToolTip="Upgrade All Existing Programs on System"/>
|
||||||
|
|
||||||
|
@ -230,6 +230,9 @@
|
|||||||
},
|
},
|
||||||
"Installzoom": {
|
"Installzoom": {
|
||||||
"winget": "Zoom.Zoom"
|
"winget": "Zoom.Zoom"
|
||||||
|
},
|
||||||
|
"Installtwinkletray": {
|
||||||
|
"winget": "xanderfrangos.twinkletray"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -417,7 +417,11 @@ $WPFinstall.Add_Click({
|
|||||||
If ( $WPFInstallzoom.IsChecked -eq $true ) {
|
If ( $WPFInstallzoom.IsChecked -eq $true ) {
|
||||||
$wingetinstall.Add("Zoom.Zoom")
|
$wingetinstall.Add("Zoom.Zoom")
|
||||||
$WPFInstallzoom.IsChecked = $false
|
$WPFInstallzoom.IsChecked = $false
|
||||||
}
|
}
|
||||||
|
If ( $WPFInstalltwinkletray.IsChecked -eq $true ) {
|
||||||
|
$wingetinstall.Add("xanderfrangos.twinkletray")
|
||||||
|
$WPFInstalltwinkletray.IsChecked = $false
|
||||||
|
}
|
||||||
|
|
||||||
# Check if winget is installed
|
# Check if winget is installed
|
||||||
Write-Host "Checking if Winget is Installed..."
|
Write-Host "Checking if Winget is Installed..."
|
||||||
|
Loading…
Reference in New Issue
Block a user