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:
El Hadji Ndiaye 2022-09-19 09:35:03 -07:00 committed by GitHub
parent 6baf61a491
commit 25bd77bb8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ winutil.exe.config
winutil.pdb
*.zip
package.psd1
/.idea/

View File

@ -128,6 +128,7 @@
<CheckBox Name="Installtreesize" Content="TreeSize Free" Margin="5,0"/>
<CheckBox Name="Installwindirstat" Content="WinDirStat" 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="InstallUpgrade" Background="AliceBlue" Content="Upgrade Installs" Margin="20,5,20,5" ToolTip="Upgrade All Existing Programs on System"/>

View File

@ -230,6 +230,9 @@
},
"Installzoom": {
"winget": "Zoom.Zoom"
},
"Installtwinkletray": {
"winget": "xanderfrangos.twinkletray"
}
}
}

View File

@ -417,7 +417,11 @@ $WPFinstall.Add_Click({
If ( $WPFInstallzoom.IsChecked -eq $true ) {
$wingetinstall.Add("Zoom.Zoom")
$WPFInstallzoom.IsChecked = $false
}
}
If ( $WPFInstalltwinkletray.IsChecked -eq $true ) {
$wingetinstall.Add("xanderfrangos.twinkletray")
$WPFInstalltwinkletray.IsChecked = $false
}
# Check if winget is installed
Write-Host "Checking if Winget is Installed..."