From b5a6bfdaba72f3875c9ee6369008f794ad40b711 Mon Sep 17 00:00:00 2001
From: Padsala Tushal <57517785+padsalatushal@users.noreply.github.com>
Date: Mon, 3 Oct 2022 02:39:48 +0530
Subject: [PATCH] Added Tor Browser for Install (#209)
---
MainWindow.xaml | 1 +
applications.json | 3 +++
winutil.ps1 | 4 ++++
3 files changed, 8 insertions(+)
diff --git a/MainWindow.xaml b/MainWindow.xaml
index da3e0a84..e8ea4ec2 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -36,6 +36,7 @@
+
diff --git a/applications.json b/applications.json
index 319f6026..8de84af3 100644
--- a/applications.json
+++ b/applications.json
@@ -36,6 +36,9 @@
"Installchrome": {
"winget": "Google.Chrome"
},
+ "Installtor": {
+ "winget": "TorProject.TorBrowser"
+ },
"Installchromium": {
"winget": "eloston.ungoogled-chromium"
},
diff --git a/winutil.ps1 b/winutil.ps1
index 9a993090..ca6ca688 100644
--- a/winutil.ps1
+++ b/winutil.ps1
@@ -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