From 81d132b6e8f79680217089cc1031b2630645d3e3 Mon Sep 17 00:00:00 2001
From: Padsala Tushal <57517785+padsalatushal@users.noreply.github.com>
Date: Mon, 3 Oct 2022 02:39:31 +0530
Subject: [PATCH] Added Viber for Install Requested Feature
ChrisTitusTech/winutil#102 (#208)
---
MainWindow.xaml | 1 +
applications.json | 3 +++
winutil.ps1 | 4 ++++
3 files changed, 8 insertions(+)
diff --git a/MainWindow.xaml b/MainWindow.xaml
index 56b94936..da3e0a84 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -44,6 +44,7 @@
+
diff --git a/applications.json b/applications.json
index e77e4f62..319f6026 100644
--- a/applications.json
+++ b/applications.json
@@ -243,6 +243,9 @@
"Installzoom": {
"winget": "Zoom.Zoom"
},
+ "Installviber": {
+ "winget": "Viber.Viber"
+ },
"Installtwinkletray": {
"winget": "xanderfrangos.twinkletray"
}
diff --git a/winutil.ps1 b/winutil.ps1
index e26b098b..9a993090 100644
--- a/winutil.ps1
+++ b/winutil.ps1
@@ -434,6 +434,10 @@ $WPFinstall.Add_Click({
$wingetinstall.Add("Zoom.Zoom")
$WPFInstallzoom.IsChecked = $false
}
+ If ( $WPFInstallviber.IsChecked -eq $true ) {
+ $wingetinstall.Add("Viber.Viber")
+ $WPFInstallviber.IsChecked = $false
+ }
If ( $WPFInstalltwinkletray.IsChecked -eq $true ) {
$wingetinstall.Add("xanderfrangos.twinkletray")
$WPFInstalltwinkletray.IsChecked = $false