From 907a383d4821aebeeab54eac607ff6d1f76f4871 Mon Sep 17 00:00:00 2001 From: Taken Date: Wed, 24 May 2023 19:07:20 +0200 Subject: [PATCH] Adding 3 programs to the install tab (#789) * Prism Launcher - Custom FOSS minecraft launcher * Gsudo - Command line program that allows you to elevate a program as admin. * WingetUI - Graphical front end for winget, chochlatey and scoop Co-authored-by: Chris Titus --- config/applications.json | 12 ++++++++++++ winutil.ps1 | 21 ++++++++++++++++++--- xaml/inputXML.xaml | 3 +++ 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/config/applications.json b/config/applications.json index 0491a1b2..a0540a9d 100644 --- a/config/applications.json +++ b/config/applications.json @@ -530,5 +530,17 @@ "WPFInstallpostman": { "winget": "Postman.Postman", "choco": "postman" + }, + "WPFInstallgsudo": { + "winget": "gerardog.gsudo", + "choco": "gsudo" + }, + "WPFInstallwingetui": { + "winget": "SomePythonThings.WingetUIStore", + "choco": "na" + }, + "WPFInstallprismlauncher": { + "winget": "PrismLauncher.PrismLauncher", + "choco": "na" } } diff --git a/winutil.ps1 b/winutil.ps1 index daf4f985..f311a74a 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10,7 +10,7 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 23.05.19 + Version : 23.05.21 #> Start-Transcript $ENV:TEMP\Winutil.log -Append @@ -21,7 +21,7 @@ Add-Type -AssemblyName System.Windows.Forms # variable to sync between runspaces $sync = [Hashtable]::Synchronized(@{}) $sync.PSScriptRoot = $PSScriptRoot -$sync.version = "23.05.19" +$sync.version = "23.05.21" $sync.configs = @{} $sync.ProcessRunning = $false Function Get-WinUtilCheckBoxes { @@ -2143,6 +2143,7 @@ $inputXML = ' + @@ -2209,6 +2210,7 @@ $inputXML = ' + @@ -2228,6 +2230,7 @@ $inputXML = ' + @@ -2921,6 +2924,18 @@ $sync.configs.applications = '{ "WPFInstallpostman": { "winget": "Postman.Postman", "choco": "postman" + }, + "WPFInstallgsudo": { + "winget": "gerardog.gsudo", + "choco": "gsudo" + }, + "WPFInstallwingetui": { + "winget": "SomePythonThings.WingetUIStore", + "choco": "na" + }, + "WPFInstallprismlauncher": { + "winget": "PrismLauncher.PrismLauncher", + "choco": "na" } }' | convertfrom-json $sync.configs.dns = '{ @@ -5439,7 +5454,7 @@ catch [System.Management.Automation.MethodInvocationException] { } } catch { - # If it broke some other way ???? + # If it broke some other way ?? Write-Host "Unable to load Windows.Markup.XamlReader. Double-check syntax and ensure .net is installed." } diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 37020595..cc8048a1 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -191,6 +191,7 @@ + @@ -257,6 +258,7 @@ + @@ -276,6 +278,7 @@ +