Added Tor Browser for Install (#209)

This commit is contained in:
Padsala Tushal 2022-10-03 02:39:48 +05:30 committed by GitHub
parent 81d132b6e8
commit b5a6bfdaba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,7 @@
<CheckBox Name="Installfirefox" Content="Firefox" Margin="5,0"/>
<CheckBox Name="Installlibrewolf" Content="LibreWolf" Margin="5,0"/>
<CheckBox Name="Installvivaldi" Content="Vivaldi" Margin="5,0"/>
<CheckBox Name="Installtor" Content="Tor Browser" Margin="5,0"/>
<Label Content="Communications" FontSize="16" Margin="5,0"/>
<CheckBox Name="Installdiscord" Content="Discord" Margin="5,0"/>

View File

@ -36,6 +36,9 @@
"Installchrome": {
"winget": "Google.Chrome"
},
"Installtor": {
"winget": "TorProject.TorBrowser"
},
"Installchromium": {
"winget": "eloston.ungoogled-chromium"
},

View File

@ -139,6 +139,10 @@ $WPFinstall.Add_Click({
$wingetinstall.Add("Google.Chrome")
$WPFInstallchrome.IsChecked = $false
}
If ( $WPFInstalltor.IsChecked -eq $true ) {
$wingetinstall.Add("TorProject.TorBrowser")
$WPFInstalltor.IsChecked = $false
}
If ( $WPFInstalldiscord.IsChecked -eq $true ) {
$wingetinstall.Add("Discord.Discord")
$WPFInstalldiscord.IsChecked = $false