From 376a2205cd600d22b34102be6e756f82407e171e Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Tue, 23 Apr 2024 00:16:48 +0300 Subject: [PATCH 01/31] Several Additions to 'applications.json' File (#1865) * Add 'ditto' App to 'applications.json' File * Add 'rdcman' App to 'applications.json' File * Add 'mp3tag' App to 'applications.json' File * Add 'fan control' App to 'applications.json' File --- config/applications.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/config/applications.json b/config/applications.json index c65f1906..836b3272 100644 --- a/config/applications.json +++ b/config/applications.json @@ -111,6 +111,14 @@ "link": "https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns", "winget": "Microsoft.Sysinternals.Autoruns" }, + "WPFInstallrdcman": { + "category": "Microsoft Tools", + "choco": "rdcman", + "content": "Remote Desktop Connection Manager (RDCMan)", + "description": "RDCMan manages multiple remote desktop connections. It is useful for managing server labs where you need regular access to each machine such as automated checkin systems and data centers.", + "link": "https://learn.microsoft.com/en-us/sysinternals/downloads/rdcman", + "winget": "Microsoft.Sysinternals.RDCMan" + }, "WPFInstallautohotkey": { "category": "Utilities", "choco": "autohotkey", @@ -295,6 +303,14 @@ "link": "https://copyq.readthedocs.io/", "winget": "hluk.CopyQ" }, + "WPFInstallditto": { + "category": "Utilities", + "choco": "ditto", + "content": "Ditto (Clipboard Manager)", + "description": "Ditto is an extension to the Windows Clipboard. You copy something to the Clipboard and Ditto takes what you copied and stores it in a database to retrieve at a later time.", + "link": "https://github.com/sabrogden/Ditto", + "winget": "Ditto.Ditto" + }, "WPFInstallcpuz": { "category": "Utilities", "choco": "cpu-z", @@ -1247,6 +1263,14 @@ "link": "https://getmusicbee.com/", "winget": "MusicBee.MusicBee" }, + "WPFInstallmp3tag": { + "category": "Multimedia Tools", + "choco": "mp3tag", + "content": "Mp3tag (Metadata Audio Editor)", + "description": "Mp3tag is a powerful and yet easy-to-use tool to edit metadata of common audio formats.", + "link": "https://www.mp3tag.de/en/", + "winget": "Mp3tag.Mp3tag" + }, "WPFInstallnanazip": { "category": "Utilities", "choco": "nanazip", @@ -2590,5 +2614,13 @@ "description": "get things from one computer to another, safely", "link": "https://github.com/magic-wormhole/magic-wormhole", "winget": "magic-wormhole.magic-wormhole" + }, + "WPFInstallfancontrol": { + "category": "Utilities", + "choco": "na", + "content": "FanControl", + "description": "Fan Control is a free and open-source software that allows the user to control his CPU, GPU and case fans using temperatures.", + "link": "https://getfancontrol.com/", + "winget": "Rem0o.FanControl" } } From 2eb9e4ea0aad16f0d10618677cf46fd6c69234be Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Mon, 22 Apr 2024 21:17:09 +0000 Subject: [PATCH 02/31] Compile Winutil --- winutil.ps1 | 70 +++++++++++++++++++++++++++++++++++++--------- xaml/inputApp.xaml | 34 ++++++++++++++-------- 2 files changed, 80 insertions(+), 24 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index ad6a4c04..b9e1f0af 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10,7 +10,7 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 24.04.21 + Version : 24.04.22 #> param ( [switch]$Debug, @@ -47,7 +47,7 @@ Add-Type -AssemblyName System.Windows.Forms # Variable to sync between runspaces $sync = [Hashtable]::Synchronized(@{}) $sync.PSScriptRoot = $PSScriptRoot -$sync.version = "24.04.21" +$sync.version = "24.04.22" $sync.configs = @{} $sync.ProcessRunning = $false @@ -5074,6 +5074,14 @@ $sync.configs.applications = '{ "link": "https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns", "winget": "Microsoft.Sysinternals.Autoruns" }, + "WPFInstallrdcman": { + "category": "Microsoft Tools", + "choco": "rdcman", + "content": "Remote Desktop Connection Manager (RDCMan)", + "description": "RDCMan manages multiple remote desktop connections. It is useful for managing server labs where you need regular access to each machine such as automated checkin systems and data centers.", + "link": "https://learn.microsoft.com/en-us/sysinternals/downloads/rdcman", + "winget": "Microsoft.Sysinternals.RDCMan" + }, "WPFInstallautohotkey": { "category": "Utilities", "choco": "autohotkey", @@ -5258,6 +5266,14 @@ $sync.configs.applications = '{ "link": "https://copyq.readthedocs.io/", "winget": "hluk.CopyQ" }, + "WPFInstallditto": { + "category": "Utilities", + "choco": "ditto", + "content": "Ditto (Clipboard Manager)", + "description": "Ditto is an extension to the Windows Clipboard. You copy something to the Clipboard and Ditto takes what you copied and stores it in a database to retrieve at a later time.", + "link": "https://github.com/sabrogden/Ditto", + "winget": "Ditto.Ditto" + }, "WPFInstallcpuz": { "category": "Utilities", "choco": "cpu-z", @@ -6210,6 +6226,14 @@ $sync.configs.applications = '{ "link": "https://getmusicbee.com/", "winget": "MusicBee.MusicBee" }, + "WPFInstallmp3tag": { + "category": "Multimedia Tools", + "choco": "mp3tag", + "content": "Mp3tag (Metadata Audio Editor)", + "description": "Mp3tag is a powerful and yet easy-to-use tool to edit metadata of common audio formats.", + "link": "https://www.mp3tag.de/en/", + "winget": "Mp3tag.Mp3tag" + }, "WPFInstallnanazip": { "category": "Utilities", "choco": "nanazip", @@ -7553,6 +7577,14 @@ $sync.configs.applications = '{ "description": "get things from one computer to another, safely", "link": "https://github.com/magic-wormhole/magic-wormhole", "winget": "magic-wormhole.magic-wormhole" + }, + "WPFInstallfancontrol": { + "category": "Utilities", + "choco": "na", + "content": "FanControl", + "description": "Fan Control is a free and open-source software that allows the user to control his CPU, GPU and case fans using temperatures.", + "link": "https://getfancontrol.com/", + "winget": "Rem0o.FanControl" } }' | convertfrom-json $sync.configs.dns = '{ @@ -11599,15 +11631,15 @@ $inputXML = ' + + + - - - @@ -11798,17 +11830,17 @@ $inputXML = ' - - - - - + + + + + @@ -11856,6 +11888,9 @@ $inputXML = ' + + + @@ -11956,6 +11991,9 @@ $inputXML = ' + + + @@ -12003,15 +12041,15 @@ $inputXML = ' + + + - - - + + + @@ -12152,6 +12193,9 @@ $inputXML = ' + + + diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index 69a1dbe7..cb010799 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -202,15 +202,15 @@ + + + - - - @@ -401,17 +401,17 @@ - - - - - + + + + + @@ -459,6 +459,9 @@ + + + @@ -559,6 +562,9 @@ + + + @@ -606,15 +612,15 @@ + + + - - - + + + @@ -755,6 +764,9 @@ + + + From 9e3faced80f84d8006e0656ff4ad0cd77a1f4790 Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Thu, 25 Apr 2024 19:14:15 +0300 Subject: [PATCH 03/31] Add 'betterbird' App to 'applications.json' File (#1876) --- config/applications.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/applications.json b/config/applications.json index 836b3272..50c8657e 100644 --- a/config/applications.json +++ b/config/applications.json @@ -2095,6 +2095,14 @@ "link": "https://www.thunderbird.net/", "winget": "Mozilla.Thunderbird" }, + "WPFInstallbetterbird": { + "category": "Communications", + "choco": "betterbird", + "content": "Betterbird", + "description": "Betterbird is a fork of Mozilla Thunderbird with additional features and bugfixes.", + "link": "https://www.betterbird.eu/", + "winget": "Betterbird.Betterbird" + }, "WPFInstalltidal": { "category": "Multimedia Tools", "choco": "na", From f8c3fda0e70cb45d722149abf9f624edd1603603 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Thu, 25 Apr 2024 16:14:41 +0000 Subject: [PATCH 04/31] Compile Winutil --- winutil.ps1 | 39 +++++++++++++++++++++++++-------------- xaml/inputApp.xaml | 27 +++++++++++++++------------ 2 files changed, 40 insertions(+), 26 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index b9e1f0af..5fec0345 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10,7 +10,7 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 24.04.22 + Version : 24.04.25 #> param ( [switch]$Debug, @@ -47,7 +47,7 @@ Add-Type -AssemblyName System.Windows.Forms # Variable to sync between runspaces $sync = [Hashtable]::Synchronized(@{}) $sync.PSScriptRoot = $PSScriptRoot -$sync.version = "24.04.22" +$sync.version = "24.04.25" $sync.configs = @{} $sync.ProcessRunning = $false @@ -7058,6 +7058,14 @@ $sync.configs.applications = '{ "link": "https://www.thunderbird.net/", "winget": "Mozilla.Thunderbird" }, + "WPFInstallbetterbird": { + "category": "Communications", + "choco": "betterbird", + "content": "Betterbird", + "description": "Betterbird is a fork of Mozilla Thunderbird with additional features and bugfixes.", + "link": "https://www.betterbird.eu/", + "winget": "Betterbird.Betterbird" + }, "WPFInstalltidal": { "category": "Multimedia Tools", "choco": "na", @@ -11484,6 +11492,9 @@ $inputXML = ' + + + @@ -11833,15 +11844,15 @@ $inputXML = ' - - - + + + - - - + + + - - - + + + diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index cb010799..25bce084 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -55,6 +55,9 @@ + + + @@ -404,15 +407,15 @@ - - - + + + + + + + + + From 959c85f57b932545bd9586e78226ebdc93dea178 Mon Sep 17 00:00:00 2001 From: Melloni <66322451+MelloniDev@users.noreply.github.com> Date: Thu, 25 Apr 2024 18:15:12 +0200 Subject: [PATCH 05/31] Added fnm to the install menu (#1879) --- config/applications.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/applications.json b/config/applications.json index 50c8657e..717ba98b 100644 --- a/config/applications.json +++ b/config/applications.json @@ -2630,5 +2630,13 @@ "description": "Fan Control is a free and open-source software that allows the user to control his CPU, GPU and case fans using temperatures.", "link": "https://getfancontrol.com/", "winget": "Rem0o.FanControl" + }, + "WPFInstallfnm": { + "category": "Development", + "choco": "fnm", + "content": "Fast Node Manager", + "description": "Fast Node Manager (fnm) allows you to switch your Node version by using the Terminal", + "link": "https://github.com/Schniz/fnm", + "winget": "Schniz.fnm" } } From f398f9a63b804bceef3be3abc4955564a4fb091e Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Thu, 25 Apr 2024 16:15:36 +0000 Subject: [PATCH 06/31] Compile Winutil --- winutil.ps1 | 35 +++++++++++++++++++++++------------ xaml/inputApp.xaml | 27 +++++++++++++++------------ 2 files changed, 38 insertions(+), 24 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 5fec0345..9be2ba21 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -7593,6 +7593,14 @@ $sync.configs.applications = '{ "description": "Fan Control is a free and open-source software that allows the user to control his CPU, GPU and case fans using temperatures.", "link": "https://getfancontrol.com/", "winget": "Rem0o.FanControl" + }, + "WPFInstallfnm": { + "category": "Development", + "choco": "fnm", + "content": "Fast Node Manager", + "description": "Fast Node Manager (fnm) allows you to switch your Node version by using the Terminal", + "link": "https://github.com/Schniz/fnm", + "winget": "Schniz.fnm" } }' | convertfrom-json $sync.configs.dns = '{ @@ -11583,6 +11591,9 @@ $inputXML = ' + + + @@ -11639,15 +11650,15 @@ $inputXML = ' - - - + + + @@ -11841,15 +11852,15 @@ $inputXML = ' - - - + + + @@ -12049,15 +12060,15 @@ $inputXML = ' - - - + + + @@ -12251,15 +12262,15 @@ $inputXML = ' - - - + + + diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index 25bce084..fd630022 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -146,6 +146,9 @@ + + + @@ -202,15 +205,15 @@ - - - + + + @@ -404,15 +407,15 @@ - - - + + + @@ -612,15 +615,15 @@ - - - + + + @@ -814,15 +817,15 @@ - - - + + + From e4bf33e3ab128bf2cf3649e3ff81e49b9dc78b90 Mon Sep 17 00:00:00 2001 From: Justawildwolf <62820836+blusewill@users.noreply.github.com> Date: Fri, 26 Apr 2024 03:34:08 +0800 Subject: [PATCH 07/31] Update applications.json (#1883) --- config/applications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/applications.json b/config/applications.json index 717ba98b..a49139d9 100644 --- a/config/applications.json +++ b/config/applications.json @@ -2253,7 +2253,7 @@ "content": "Vivaldi", "description": "Vivaldi is a highly customizable web browser with a focus on user personalization and productivity features.", "link": "https://vivaldi.com/", - "winget": "VivaldiTechnologies.Vivaldi" + "winget": "Vivaldi.Vivaldi" }, "WPFInstallvlc": { "category": "Multimedia Tools", From bdf9c8378c76eb9f466beec3e4c1fba4b45bcfdd Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Thu, 25 Apr 2024 19:34:33 +0000 Subject: [PATCH 08/31] Compile Winutil --- winutil.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winutil.ps1 b/winutil.ps1 index 9be2ba21..4ab52398 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -7216,7 +7216,7 @@ $sync.configs.applications = '{ "content": "Vivaldi", "description": "Vivaldi is a highly customizable web browser with a focus on user personalization and productivity features.", "link": "https://vivaldi.com/", - "winget": "VivaldiTechnologies.Vivaldi" + "winget": "Vivaldi.Vivaldi" }, "WPFInstallvlc": { "category": "Multimedia Tools", From f5f506b9c50d4c9ef93666f355d08beef645854f Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Wed, 1 May 2024 21:42:38 +0300 Subject: [PATCH 09/31] Simple improvement: make WinUtil's Shortcut Function Do Less (Lazier) (#1903) * Add Extra Comments to 'Invoke-WPFShortcut' to make the Logic a Bit Clearer * Make The 'Invoke-WPFShortcut' Function Lazier for Added Efficiency and to not Display False Info whenever the User Cancels the 'Save As' Operation --- functions/public/Invoke-WPFShortcut.ps1 | 36 +++++++++++++++---------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/functions/public/Invoke-WPFShortcut.ps1 b/functions/public/Invoke-WPFShortcut.ps1 index 4eab2dc6..f8ae04f9 100644 --- a/functions/public/Invoke-WPFShortcut.ps1 +++ b/functions/public/Invoke-WPFShortcut.ps1 @@ -17,27 +17,35 @@ function Invoke-WPFShortcut { [bool]$RunAsAdmin = $false ) - $iconPath = $null - Switch ($ShortcutToAdd) { - "WinUtil" { - $SourceExe = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe" - $IRM = 'irm https://christitus.com/win | iex' - $Powershell = '-ExecutionPolicy Bypass -Command "Start-Process powershell.exe -verb runas -ArgumentList' - $ArgumentsToSourceExe = "$powershell '$IRM'" - $DestinationName = "WinUtil.lnk" + # Preper the Shortcut Fields and add an a Custom Icon if it's available at "$env:TEMP\cttlogo.png", else don't add a Custom Icon. + $iconPath = $null + Switch ($ShortcutToAdd) { + "WinUtil" { + $SourceExe = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe" + $IRM = 'irm https://christitus.com/win | iex' + $Powershell = '-ExecutionPolicy Bypass -Command "Start-Process powershell.exe -verb runas -ArgumentList' + $ArgumentsToSourceExe = "$powershell '$IRM'" + $DestinationName = "WinUtil.lnk" - if (Test-Path -Path "$env:TEMP\cttlogo.png") { - $iconPath = "$env:SystempRoot\cttlogo.ico" - ConvertTo-Icon -bitmapPath "$env:TEMP\cttlogo.png" -iconPath $iconPath - } + if (Test-Path -Path "$env:TEMP\cttlogo.png") { + $iconPath = "$env:SystempRoot\cttlogo.ico" + ConvertTo-Icon -bitmapPath "$env:TEMP\cttlogo.png" -iconPath $iconPath } } + } + # Show a File Dialog Browser, to let the User choose the Name and Location of where to save the Shortcut $FileBrowser = New-Object System.Windows.Forms.SaveFileDialog $FileBrowser.InitialDirectory = [Environment]::GetFolderPath('Desktop') $FileBrowser.Filter = "Shortcut Files (*.lnk)|*.lnk" $FileBrowser.FileName = $DestinationName - $FileBrowser.ShowDialog() | Out-Null + + # Do an Early Return if The Save Shortcut operation was cancel by User's Input. + $FileBrowserResult = $FileBrowser.ShowDialog() + $DialogResultEnum = New-Object System.Windows.Forms.DialogResult + if (-not ($FileBrowserResult -eq $DialogResultEnum::OK)) { + return + } $WshShell = New-Object -comObject WScript.Shell $Shortcut = $WshShell.CreateShortcut($FileBrowser.FileName) @@ -56,4 +64,4 @@ function Invoke-WPFShortcut { } Write-Host "Shortcut for $ShortcutToAdd has been saved to $($FileBrowser.FileName) with 'Run as administrator' set to $RunAsAdmin" -} \ No newline at end of file +} From 94abf3fd6624583f6d69538096bde1a9070a0818 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 1 May 2024 18:43:03 +0000 Subject: [PATCH 10/31] Compile Winutil --- winutil.ps1 | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 4ab52398..5365fb72 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10,7 +10,7 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 24.04.25 + Version : 24.05.01 #> param ( [switch]$Debug, @@ -47,7 +47,7 @@ Add-Type -AssemblyName System.Windows.Forms # Variable to sync between runspaces $sync = [Hashtable]::Synchronized(@{}) $sync.PSScriptRoot = $PSScriptRoot -$sync.version = "24.04.25" +$sync.version = "24.05.01" $sync.configs = @{} $sync.ProcessRunning = $false @@ -4342,27 +4342,35 @@ function Invoke-WPFShortcut { [bool]$RunAsAdmin = $false ) - $iconPath = $null - Switch ($ShortcutToAdd) { - "WinUtil" { - $SourceExe = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe" - $IRM = 'irm https://christitus.com/win | iex' - $Powershell = '-ExecutionPolicy Bypass -Command "Start-Process powershell.exe -verb runas -ArgumentList' - $ArgumentsToSourceExe = "$powershell '$IRM'" - $DestinationName = "WinUtil.lnk" + # Preper the Shortcut Fields and add an a Custom Icon if it's available at "$env:TEMP\cttlogo.png", else don't add a Custom Icon. + $iconPath = $null + Switch ($ShortcutToAdd) { + "WinUtil" { + $SourceExe = "$env:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe" + $IRM = 'irm https://christitus.com/win | iex' + $Powershell = '-ExecutionPolicy Bypass -Command "Start-Process powershell.exe -verb runas -ArgumentList' + $ArgumentsToSourceExe = "$powershell '$IRM'" + $DestinationName = "WinUtil.lnk" - if (Test-Path -Path "$env:TEMP\cttlogo.png") { - $iconPath = "$env:SystempRoot\cttlogo.ico" - ConvertTo-Icon -bitmapPath "$env:TEMP\cttlogo.png" -iconPath $iconPath - } + if (Test-Path -Path "$env:TEMP\cttlogo.png") { + $iconPath = "$env:SystempRoot\cttlogo.ico" + ConvertTo-Icon -bitmapPath "$env:TEMP\cttlogo.png" -iconPath $iconPath } } + } + # Show a File Dialog Browser, to let the User choose the Name and Location of where to save the Shortcut $FileBrowser = New-Object System.Windows.Forms.SaveFileDialog $FileBrowser.InitialDirectory = [Environment]::GetFolderPath('Desktop') $FileBrowser.Filter = "Shortcut Files (*.lnk)|*.lnk" $FileBrowser.FileName = $DestinationName - $FileBrowser.ShowDialog() | Out-Null + + # Do an Early Return if The Save Shortcut operation was cancel by User's Input. + $FileBrowserResult = $FileBrowser.ShowDialog() + $DialogResultEnum = New-Object System.Windows.Forms.DialogResult + if (-not ($FileBrowserResult -eq $DialogResultEnum::OK)) { + return + } $WshShell = New-Object -comObject WScript.Shell $Shortcut = $WshShell.CreateShortcut($FileBrowser.FileName) From 3719b015d4f973d26a73e9de0be377ea2f0a8f10 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Wed, 1 May 2024 21:28:43 +0200 Subject: [PATCH 11/31] Update applications.jsonremove Whatsapp because it is not being maintained and is named "outdated" when installed * Update applications.json remove Whatsapp because it is not being maintained and is named "outdated" when installed --- config/applications.json | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/applications.json b/config/applications.json index a49139d9..9f20afbe 100644 --- a/config/applications.json +++ b/config/applications.json @@ -2311,14 +2311,6 @@ "link": "https://wezfurlong.org/wezterm/index.html", "winget": "wez.wezterm" }, - "WPFInstallwhatsapp": { - "category": "Communications", - "choco": "whatsapp", - "content": "Whatsapp", - "description": "WhatsApp Desktop is a desktop version of the popular messaging app, allowing users to send and receive messages, share files, and connect with contacts from their computer.", - "link": "https://www.whatsapp.com/", - "winget": "WhatsApp.WhatsApp" - }, "WPFInstallwindirstat": { "category": "Utilities", "choco": "windirstat", From fc700537890c1c285eb45eace2c7c8bbc6b095f2 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 1 May 2024 19:29:07 +0000 Subject: [PATCH 12/31] Compile Winutil --- winutil.ps1 | 35 ++++++++++++----------------------- xaml/inputApp.xaml | 27 ++++++++++++--------------- 2 files changed, 24 insertions(+), 38 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 5365fb72..d1eb6b51 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -7282,14 +7282,6 @@ $sync.configs.applications = '{ "link": "https://wezfurlong.org/wezterm/index.html", "winget": "wez.wezterm" }, - "WPFInstallwhatsapp": { - "category": "Communications", - "choco": "whatsapp", - "content": "Whatsapp", - "description": "WhatsApp Desktop is a desktop version of the popular messaging app, allowing users to send and receive messages, share files, and connect with contacts from their computer.", - "link": "https://www.whatsapp.com/", - "winget": "WhatsApp.WhatsApp" - }, "WPFInstallwindirstat": { "category": "Utilities", "choco": "windirstat", @@ -11574,9 +11566,6 @@ $inputXML = ' - - - @@ -11658,15 +11647,15 @@ $inputXML = ' + + + - - - @@ -11860,15 +11849,15 @@ $inputXML = ' + + + - - - @@ -12068,15 +12057,15 @@ $inputXML = ' + + + - - - @@ -12270,15 +12259,15 @@ $inputXML = ' + + + - - - diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index fd630022..326bb2bb 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -121,9 +121,6 @@ - - - @@ -205,15 +202,15 @@ + + + - - - @@ -407,15 +404,15 @@ + + + - - - @@ -615,15 +612,15 @@ + + + - - - @@ -817,15 +814,15 @@ + + + - - - From b3fc21d7e4cbf86b15aa77af88c6d66c60632276 Mon Sep 17 00:00:00 2001 From: ModernTTY <165050080+ModernTTY@users.noreply.github.com> Date: Wed, 1 May 2024 22:58:51 +0300 Subject: [PATCH 13/31] Add option to remove Microsoft Copilot AI * Add option to remove MS Copilot * Update tweaks.json * fix bugs - remove appx caused a lockup - also it looks like copilot will be the dependency for some built-in windows searches Due to this I am changing it from a removal to a disable. --- config/tweaks.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/config/tweaks.json b/config/tweaks.json index d1de827d..42821110 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2323,6 +2323,25 @@ " ] }, + "WPFTweaksRemoveCopilot": { + "Content": "Disables Microsoft Copilot", + "Description": "Disables MS Copilot AI built into Windows since 23H2.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "Order": "a025_", + "InvokeScript": [ + " + Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"0\" + New-Item \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot\" -Force | New-ItemProperty -Name \"TurnOffWindowsCopilot\" -Value \"1\" -Force -Type \"DWord\" + " + ], + "UndoScript": [ + " + Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"1\" + Remove-Item \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot\" -Force + " + ] + }, "WPFTweaksRemoveOnedrive": { "Content": "Remove OneDrive", "Description": "Copies OneDrive files to Default Home Folders and Uninstalls it.", From fc93ec16d6a67ae4583634c5710b4f47e5872dce Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 1 May 2024 19:59:15 +0000 Subject: [PATCH 14/31] Compile Winutil --- winutil.ps1 | 20 ++++++++++++++++++++ xaml/inputTweaks.xaml | 1 + 2 files changed, 21 insertions(+) diff --git a/winutil.ps1 b/winutil.ps1 index d1eb6b51..73fe2233 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10346,6 +10346,25 @@ $sync.configs.tweaks = '{ " ] }, + "WPFTweaksRemoveCopilot": { + "Content": "Disables Microsoft Copilot", + "Description": "Disables MS Copilot AI built into Windows since 23H2.", + "category": "z__Advanced Tweaks - CAUTION", + "panel": "1", + "Order": "a025_", + "InvokeScript": [ + " + Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"0\" + New-Item \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot\" -Force | New-ItemProperty -Name \"TurnOffWindowsCopilot\" -Value \"1\" -Force -Type \"DWord\" + " + ], + "UndoScript": [ + " + Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"1\" + Remove-Item \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot\" -Force + " + ] + }, "WPFTweaksRemoveOnedrive": { "Content": "Remove OneDrive", "Description": "Copies OneDrive files to Default Home Folders and Uninstalls it.", @@ -12513,6 +12532,7 @@ $inputXML = ' + diff --git a/xaml/inputTweaks.xaml b/xaml/inputTweaks.xaml index db7e918e..63db69c6 100644 --- a/xaml/inputTweaks.xaml +++ b/xaml/inputTweaks.xaml @@ -25,6 +25,7 @@ + From 841de3699fc40230a7e659065b923dd16d7b0b49 Mon Sep 17 00:00:00 2001 From: Kasim Date: Wed, 1 May 2024 21:01:35 +0100 Subject: [PATCH 15/31] remove authy authy reached EOLhttps://help.twilio.com/articles/22771146070299-User-guide-End-of-Life-EOL-for-Twilio-Authy-Desktop-app * remove authy authy reached EOL https://help.twilio.com/articles/22771146070299-User-guide-End-of-Life-EOL-for-Twilio-Authy-Desktop-app --- config/applications.json | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/applications.json b/config/applications.json index 9f20afbe..fea86fd4 100644 --- a/config/applications.json +++ b/config/applications.json @@ -95,14 +95,6 @@ "link": "https://www.audacityteam.org/", "winget": "Audacity.Audacity" }, - "WPFInstallauthy": { - "category": "Utilities", - "choco": "authy-desktop", - "content": "Authy", - "description": "Simple and cross-platform 2FA app", - "link": "https://authy.com/", - "winget": "Twilio.Authy" - }, "WPFInstallautoruns": { "category": "Microsoft Tools", "choco": "autoruns", From 14b3c859ab68efe7782c96d2a86c807242203e90 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 1 May 2024 20:02:03 +0000 Subject: [PATCH 16/31] Compile Winutil --- winutil.ps1 | 17 +++-------------- xaml/inputApp.xaml | 9 +++------ 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 73fe2233..a044f253 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -5066,14 +5066,6 @@ $sync.configs.applications = '{ "link": "https://www.audacityteam.org/", "winget": "Audacity.Audacity" }, - "WPFInstallauthy": { - "category": "Utilities", - "choco": "authy-desktop", - "content": "Authy", - "description": "Simple and cross-platform 2FA app", - "link": "https://authy.com/", - "winget": "Twilio.Authy" - }, "WPFInstallautoruns": { "category": "Microsoft Tools", "choco": "autoruns", @@ -12153,9 +12145,6 @@ $inputXML = ' - - - @@ -12281,15 +12270,15 @@ $inputXML = ' + + + - - - diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index 326bb2bb..a4479fed 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -689,9 +689,6 @@ - - - @@ -817,15 +814,15 @@ + + + - - - From 17faeef0d6200392c1d14698b10b557009f2f933 Mon Sep 17 00:00:00 2001 From: trenton4k Date: Thu, 2 May 2024 07:29:48 +1000 Subject: [PATCH 17/31] Update applications.jsonWindhawkThe customization marketplace for Windows programshttps://www.youtube.com/watch?v=ijG0nXnO2gQ * Update applications.json Windhawk The customization marketplace for Windows programs https://www.youtube.com/watch?v=ijG0nXnO2gQ --- config/applications.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/applications.json b/config/applications.json index fea86fd4..876151f7 100644 --- a/config/applications.json +++ b/config/applications.json @@ -2623,4 +2623,12 @@ "link": "https://github.com/Schniz/fnm", "winget": "Schniz.fnm" } + "WPFInstallWindhawk": { + "category": "Utilities", + "choco": "windhawk", + "content": "Windhawk", + "description": "The customization marketplace for Windows programs", + "link": "https://windhawk.net", + "winget": "RamenSoftware.Windhawk" + }, } From ad6dcca76ec031eb9cdb5366051699bb61834843 Mon Sep 17 00:00:00 2001 From: Evan Galvin Date: Wed, 1 May 2024 17:34:22 -0400 Subject: [PATCH 18/31] add MSEdgeRedirect to applications.jsonperhaps a good "tweak" that could be added to Tweaks section down the road. project is foss... could be a good resource for someone with enough skills.in the meantime, does what it says it will, and does it well. * add MSEdgeRedirect to applications.json perhaps a good "tweak" that could be added to Tweaks section down the road. project is foss... could be a good resource for someone with enough skills. in the meantime, does what it says it will, and does it well. --- config/applications.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/applications.json b/config/applications.json index 876151f7..0993479f 100644 --- a/config/applications.json +++ b/config/applications.json @@ -1223,6 +1223,14 @@ "link": "https://mremoteng.org/", "winget": "mRemoteNG.mRemoteNG" }, + "WPFInstallmsedgeredirect": { + "category": "Utilities", + "choco": "msedgeredirect", + "content": "MSEdgeRedirect", + "description": "A Tool to Redirect News, Search, Widgets, Weather, and More to Your Default Browser.", + "link": "https://github.com/rcmaehl/MSEdgeRedirect", + "winget": "rcmaehl.MSEdgeRedirect" + }, "WPFInstallmsiafterburner": { "category": "Utilities", "choco": "msiafterburner", From 60db65b5a626d545cfbc9005134f4bb805745f22 Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Thu, 2 May 2024 00:34:52 +0300 Subject: [PATCH 19/31] Fix Winget Detection by doing Proper Error Handling using a Try-Catch * Fix Winget Detection by doing Proper Error Handling using a Try-Catch * Remove unnecessary Variable Initialization of 'wingetFullVersion' Co-authored-by: Martin Wiethan <47688561+Marterich@users.noreply.github.com> * Add Comments to be make The Logic a Lot More Clear to Follow and Understand * Add Another Catch Statement with some 'Write-Warning' for Extra Information --- .../private/Test-WinUtilPackageManager.ps1 | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/functions/private/Test-WinUtilPackageManager.ps1 b/functions/private/Test-WinUtilPackageManager.ps1 index ca269fc3..291616b2 100644 --- a/functions/private/Test-WinUtilPackageManager.ps1 +++ b/functions/private/Test-WinUtilPackageManager.ps1 @@ -20,13 +20,22 @@ function Test-WinUtilPackageManager { $status = "not-installed" if ($winget) { - # Install Winget if not detected - $wingetExists = Get-Command -Name winget -ErrorAction SilentlyContinue - - if ($wingetExists) { - # Check Winget Version - $wingetVersionFull = (winget --version) # Full Version without 'v'. + # Check if Winget is available while getting it's Version if it's available + $wingetExists = $true + try { + $wingetVersionFull = winget --version + } catch [System.Management.Automation.CommandNotFoundException], [System.Management.Automation.ApplicationFailedException] { + Write-Warning "Winget was not found due to un-availablity reasons" + $wingetExists = $false + } catch { + Write-Warning "Winget was not found due to un-known reasons, The Stack Trace is:`n$($psitem.Exception.StackTrace)" + $wingetExists = $false + } + # If Winget is available, Parse it's Version and give proper information to Terminal Output. + # If it isn't available, the return of this funtion will be "not-installed", indicating that + # Winget isn't installed/available on The System. + if ($wingetExists) { # Check if Preview Version if ($wingetVersionFull.Contains("-preview")) { $wingetVersion = $wingetVersionFull.Trim("-preview") From 7065e2ac383948f1e59db6b22db35df591723db7 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 1 May 2024 16:39:09 -0700 Subject: [PATCH 20/31] Update applications.json --- config/applications.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/applications.json b/config/applications.json index 0993479f..516601a5 100644 --- a/config/applications.json +++ b/config/applications.json @@ -2630,13 +2630,13 @@ "description": "Fast Node Manager (fnm) allows you to switch your Node version by using the Terminal", "link": "https://github.com/Schniz/fnm", "winget": "Schniz.fnm" - } - "WPFInstallWindhawk": { + }, + "WPFInstallWindhawk": { "category": "Utilities", "choco": "windhawk", "content": "Windhawk", "description": "The customization marketplace for Windows programs", "link": "https://windhawk.net", "winget": "RamenSoftware.Windhawk" - }, + } } From 8fccb8b74903711b562de6e2c42070837b4c4e78 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 1 May 2024 21:39:34 +0000 Subject: [PATCH 21/31] Compile Winutil --- winutil.ps1 | 43 +++++++++++++++++++++++++++++++++++++------ xaml/inputApp.xaml | 6 ++++++ 2 files changed, 43 insertions(+), 6 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index a044f253..b6a421dc 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -2632,13 +2632,22 @@ function Test-WinUtilPackageManager { $status = "not-installed" if ($winget) { - # Install Winget if not detected - $wingetExists = Get-Command -Name winget -ErrorAction SilentlyContinue - - if ($wingetExists) { - # Check Winget Version - $wingetVersionFull = (winget --version) # Full Version without 'v'. + # Check if Winget is available while getting it's Version if it's available + $wingetExists = $true + try { + $wingetVersionFull = winget --version + } catch [System.Management.Automation.CommandNotFoundException], [System.Management.Automation.ApplicationFailedException] { + Write-Warning "Winget was not found due to un-availablity reasons" + $wingetExists = $false + } catch { + Write-Warning "Winget was not found due to un-known reasons, The Stack Trace is:`n$($psitem.Exception.StackTrace)" + $wingetExists = $false + } + # If Winget is available, Parse it's Version and give proper information to Terminal Output. + # If it isn't available, the return of this funtion will be "not-installed", indicating that + # Winget isn't installed/available on The System. + if ($wingetExists) { # Check if Preview Version if ($wingetVersionFull.Contains("-preview")) { $wingetVersion = $wingetVersionFull.Trim("-preview") @@ -6194,6 +6203,14 @@ $sync.configs.applications = '{ "link": "https://mremoteng.org/", "winget": "mRemoteNG.mRemoteNG" }, + "WPFInstallmsedgeredirect": { + "category": "Utilities", + "choco": "msedgeredirect", + "content": "MSEdgeRedirect", + "description": "A Tool to Redirect News, Search, Widgets, Weather, and More to Your Default Browser.", + "link": "https://github.com/rcmaehl/MSEdgeRedirect", + "winget": "rcmaehl.MSEdgeRedirect" + }, "WPFInstallmsiafterburner": { "category": "Utilities", "choco": "msiafterburner", @@ -7593,6 +7610,14 @@ $sync.configs.applications = '{ "description": "Fast Node Manager (fnm) allows you to switch your Node version by using the Terminal", "link": "https://github.com/Schniz/fnm", "winget": "Schniz.fnm" + }, + "WPFInstallWindhawk": { + "category": "Utilities", + "choco": "windhawk", + "content": "Windhawk", + "description": "The customization marketplace for Windows programs", + "link": "https://windhawk.net", + "winget": "RamenSoftware.Windhawk" } }' | convertfrom-json $sync.configs.dns = '{ @@ -12300,6 +12325,9 @@ $inputXML = ' + + + @@ -12435,6 +12463,9 @@ $inputXML = ' + + + diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index a4479fed..e01a1519 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -844,6 +844,9 @@ + + + @@ -979,6 +982,9 @@ + + + From d1eedd0d74e9f6b5922f95a9fddf850e99a5ae79 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Wed, 1 May 2024 23:44:41 +0200 Subject: [PATCH 22/31] Remove StartAllBack + Adobe Debloater Tweak + Add Netbird * remove StartAllBack * Added Adobe Service Debloater Sets Adobe Services to manual for people that sadly need to work with their apps. * Add Netbird https://netbird.io --- config/applications.json | 16 ++++++------ config/tweaks.json | 54 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 8 deletions(-) diff --git a/config/applications.json b/config/applications.json index 516601a5..f8a3f395 100644 --- a/config/applications.json +++ b/config/applications.json @@ -1279,6 +1279,14 @@ "link": "https://github.com/M2Team/NanaZip", "winget": "M2Team.NanaZip" }, + "WPFInstallnetbird": { + "category": "Pro Tools", + "choco": "netbird", + "content": "NetBird", + "description": "NetBird is a Open Source alternative comparable to TailScale that can be connected to a selfhosted Server.", + "link": "https://netbird.io/", + "winget": "netbird" + }, "WPFInstallnaps2": { "category": "Document", "choco": "naps2", @@ -1895,14 +1903,6 @@ "link": "https://starship.rs/", "winget": "starship" }, - "WPFInstallstartallback": { - "category": "Utilities", - "choco": "na", - "content": "StartAllBack", - "description": "StartAllBack is a Tool that can be used to edit the Windows appearance by your liking (Taskbar, Start Menu, File Explorer, Control Panel, Context Menu ...)", - "link": "https://www.startallback.com/", - "winget": "startallback" - }, "WPFInstallsteam": { "category": "Games", "choco": "steam-client", diff --git a/config/tweaks.json b/config/tweaks.json index 42821110..63e48bd3 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -77,6 +77,60 @@ } ] }, + "WPFTweaksAdobe": { + "Content": "Disable Adobe Services", + "Description": "Disables many of the services that come with Adobe and run in the background.", + "category": "Essential Tweaks", + "panel": "1", + "Order": "a009_", + "service": [ + { + "Name": "AGSService", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "AdobeUpdateService", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "Adobe Acrobat Update", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "Adobe Genuine Monitor Service", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "AdobeARMservice", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "Adobe Licensing Console", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "CCXProcess", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "AdobeIPCBroker", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "CoreSync", + "StartupType": "Manual", + "OriginalType": "Automatic" + } + ] + }, "WPFTweaksLoc": { "Content": "Disable Location Tracking", "Description": "Disables Location Tracking...DUH!", From 11b64623e9320792bf66bc77f567f3ba16a10c51 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Wed, 1 May 2024 21:45:12 +0000 Subject: [PATCH 23/31] Compile Winutil --- winutil.ps1 | 83 +++++++++++++++++++++++++++++++++++-------- xaml/inputApp.xaml | 12 +++---- xaml/inputTweaks.xaml | 1 + 3 files changed, 76 insertions(+), 20 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index b6a421dc..73b70c6f 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -6259,6 +6259,14 @@ $sync.configs.applications = '{ "link": "https://github.com/M2Team/NanaZip", "winget": "M2Team.NanaZip" }, + "WPFInstallnetbird": { + "category": "Pro Tools", + "choco": "netbird", + "content": "NetBird", + "description": "NetBird is a Open Source alternative comparable to TailScale that can be connected to a selfhosted Server.", + "link": "https://netbird.io/", + "winget": "netbird" + }, "WPFInstallnaps2": { "category": "Document", "choco": "naps2", @@ -6875,14 +6883,6 @@ $sync.configs.applications = '{ "link": "https://starship.rs/", "winget": "starship" }, - "WPFInstallstartallback": { - "category": "Utilities", - "choco": "na", - "content": "StartAllBack", - "description": "StartAllBack is a Tool that can be used to edit the Windows appearance by your liking (Taskbar, Start Menu, File Explorer, Control Panel, Context Menu ...)", - "link": "https://www.startallback.com/", - "winget": "startallback" - }, "WPFInstallsteam": { "category": "Games", "choco": "steam-client", @@ -8117,6 +8117,60 @@ $sync.configs.tweaks = '{ } ] }, + "WPFTweaksAdobe": { + "Content": "Disable Adobe Services", + "Description": "Disables many of the services that come with Adobe and run in the background.", + "category": "Essential Tweaks", + "panel": "1", + "Order": "a009_", + "service": [ + { + "Name": "AGSService", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "AdobeUpdateService", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "Adobe Acrobat Update", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "Adobe Genuine Monitor Service", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "AdobeARMservice", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "Adobe Licensing Console", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "CCXProcess", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "AdobeIPCBroker", + "StartupType": "Manual", + "OriginalType": "Automatic" + }, + { + "Name": "CoreSync", + "StartupType": "Manual", + "OriginalType": "Automatic" + } + ] + }, "WPFTweaksLoc": { "Content": "Disable Location Tracking", "Description": "Disables Location Tracking...DUH!", @@ -12124,6 +12178,9 @@ $inputXML = ' + + + @@ -12295,15 +12352,15 @@ $inputXML = ' - - - + + + @@ -12418,9 +12475,6 @@ $inputXML = ' - - - @@ -12541,6 +12595,7 @@ $inputXML = ' + diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index e01a1519..9acce14d 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -643,6 +643,9 @@ + + + @@ -814,15 +817,15 @@ - - - + + + @@ -937,9 +940,6 @@ - - - diff --git a/xaml/inputTweaks.xaml b/xaml/inputTweaks.xaml index 63db69c6..717b3724 100644 --- a/xaml/inputTweaks.xaml +++ b/xaml/inputTweaks.xaml @@ -14,6 +14,7 @@ + From 665f31d91af7070a0fedb180854267834d74bffe Mon Sep 17 00:00:00 2001 From: CodingWonders <101426328+CodingWonders@users.noreply.github.com> Date: Thu, 9 May 2024 22:31:27 +0200 Subject: [PATCH 24/31] Added ability to import drivers * Added ability to import drivers Added the ability to import drivers from the active installation to the MicroWin image. * Merge branch 'test-2024-04-20-2' into CW-MicroWin-240420 * Update inputXML.xaml Removed warning because of a fluke * Update Invoke-WPFMicrowin.ps1 Use the driver injection directory if it is specified and if the directory exists * Merge branch 'test-2024-04-20-2' into CW-MicroWin-240420 * Merge branch 'test-2024-04-20-2' into CW-MicroWin-240420 --- functions/public/Invoke-WPFMicrowin.ps1 | 46 +++++++++++++++++++++++-- xaml/inputXML.xaml | 1 + 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/functions/public/Invoke-WPFMicrowin.ps1 b/functions/public/Invoke-WPFMicrowin.ps1 index 89d15872..564a836a 100644 --- a/functions/public/Invoke-WPFMicrowin.ps1 +++ b/functions/public/Invoke-WPFMicrowin.ps1 @@ -53,6 +53,7 @@ public class PowerManagement { $keepEdge = $sync.WPFMicrowinKeepEdge.IsChecked $copyToUSB = $sync.WPFMicrowinCopyToUsb.IsChecked $injectDrivers = $sync.MicrowinInjectDrivers.IsChecked + $importDrivers = $sync.MicrowinImportDrivers.IsChecked $mountDir = $sync.MicrowinMountDir.Text $scratchDir = $sync.MicrowinScratchDir.Text @@ -111,13 +112,54 @@ public class PowerManagement { return } + if ($importDrivers) + { + Write-Host "Exporting drivers from active installation..." + if (Test-Path "$env:TEMP\DRV_EXPORT") + { + Remove-Item "$env:TEMP\DRV_EXPORT" -Recurse -Force + } + if (($injectDrivers -and (Test-Path $sync.MicrowinDriverLocation.Text))) + { + Write-Host "Using specified driver source..." + dism /english /online /export-driver /destination="$($sync.MicrowinDriverLocation.Text)" | Out-Host + if ($?) + { + # Don't add exported drivers yet, that is run later + Write-Host "Drivers have been exported successfully." + } + else + { + Write-Host "Failed to export drivers." + } + } + else + { + New-Item -Path "$env:TEMP\DRV_EXPORT" -ItemType Directory -Force + dism /english /online /export-driver /destination="$env:TEMP\DRV_EXPORT" | Out-Host + if ($?) + { + Write-Host "Adding exported drivers..." + dism /english /image="$scratchDir" /add-driver /driver="$env:TEMP\DRV_EXPORT" /recurse | Out-Host + } + else + { + Write-Host "Failed to export drivers. Continuing without importing them..." + } + if (Test-Path "$env:TEMP\DRV_EXPORT") + { + Remove-Item "$env:TEMP\DRV_EXPORT" -Recurse -Force + } + } + } + if ($injectDrivers) { $driverPath = $sync.MicrowinDriverLocation.Text if (Test-Path $driverPath) { Write-Host "Adding Windows Drivers image($scratchDir) drivers($driverPath) " - Add-WindowsDriver -Path "$scratchDir" -Recurse -Driver "$driverPath" + dism /English /image:$scratchDir /add-driver /driver:$driverPath /recurse | Out-Host } else { @@ -335,7 +377,7 @@ public class PowerManagement { if (Test-Path $driverPath) { Write-Host "Adding Windows Drivers image($scratchDir) drivers($driverPath) " - Add-WindowsDriver -Path "$scratchDir" -Driver "$driverPath" -Recurse + dism /English /image:$scratchDir /add-driver /driver:$driverPath /recurse | Out-Host } else { diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 9fee01b4..ba3475fb 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -843,6 +843,7 @@ Foreground="{LabelboxForegroundColor}" ToolTip="Path to unpacked drivers all sys and inf files for devices that need drivers" /> + From b0bd06be96b913e9d8142a4b652cb3b1e77856e6 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Thu, 9 May 2024 20:31:53 +0000 Subject: [PATCH 25/31] Compile Winutil --- winutil.ps1 | 51 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 73b70c6f..8a2f9f2a 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10,7 +10,7 @@ Author : Chris Titus @christitustech Runspace Author: @DeveloperDurp GitHub : https://github.com/ChrisTitusTech - Version : 24.05.01 + Version : 24.05.09 #> param ( [switch]$Debug, @@ -47,7 +47,7 @@ Add-Type -AssemblyName System.Windows.Forms # Variable to sync between runspaces $sync = [Hashtable]::Synchronized(@{}) $sync.PSScriptRoot = $PSScriptRoot -$sync.version = "24.05.01" +$sync.version = "24.05.09" $sync.configs = @{} $sync.ProcessRunning = $false @@ -3726,6 +3726,7 @@ public class PowerManagement { $keepEdge = $sync.WPFMicrowinKeepEdge.IsChecked $copyToUSB = $sync.WPFMicrowinCopyToUsb.IsChecked $injectDrivers = $sync.MicrowinInjectDrivers.IsChecked + $importDrivers = $sync.MicrowinImportDrivers.IsChecked $mountDir = $sync.MicrowinMountDir.Text $scratchDir = $sync.MicrowinScratchDir.Text @@ -3784,13 +3785,54 @@ public class PowerManagement { return } + if ($importDrivers) + { + Write-Host "Exporting drivers from active installation..." + if (Test-Path "$env:TEMP\DRV_EXPORT") + { + Remove-Item "$env:TEMP\DRV_EXPORT" -Recurse -Force + } + if (($injectDrivers -and (Test-Path $sync.MicrowinDriverLocation.Text))) + { + Write-Host "Using specified driver source..." + dism /english /online /export-driver /destination="$($sync.MicrowinDriverLocation.Text)" | Out-Host + if ($?) + { + # Don't add exported drivers yet, that is run later + Write-Host "Drivers have been exported successfully." + } + else + { + Write-Host "Failed to export drivers." + } + } + else + { + New-Item -Path "$env:TEMP\DRV_EXPORT" -ItemType Directory -Force + dism /english /online /export-driver /destination="$env:TEMP\DRV_EXPORT" | Out-Host + if ($?) + { + Write-Host "Adding exported drivers..." + dism /english /image="$scratchDir" /add-driver /driver="$env:TEMP\DRV_EXPORT" /recurse | Out-Host + } + else + { + Write-Host "Failed to export drivers. Continuing without importing them..." + } + if (Test-Path "$env:TEMP\DRV_EXPORT") + { + Remove-Item "$env:TEMP\DRV_EXPORT" -Recurse -Force + } + } + } + if ($injectDrivers) { $driverPath = $sync.MicrowinDriverLocation.Text if (Test-Path $driverPath) { Write-Host "Adding Windows Drivers image($scratchDir) drivers($driverPath) " - Add-WindowsDriver -Path "$scratchDir" -Recurse -Driver "$driverPath" + dism /English /image:$scratchDir /add-driver /driver:$driverPath /recurse | Out-Host } else { @@ -4008,7 +4050,7 @@ public class PowerManagement { if (Test-Path $driverPath) { Write-Host "Adding Windows Drivers image($scratchDir) drivers($driverPath) " - Add-WindowsDriver -Path "$scratchDir" -Driver "$driverPath" -Recurse + dism /English /image:$scratchDir /add-driver /driver:$driverPath /recurse | Out-Host } else { @@ -12851,6 +12893,7 @@ $inputXML = ' + From b28a79d1773d9c1d35a9e8f20a465f71b98250b3 Mon Sep 17 00:00:00 2001 From: misspent <78914154+misspent@users.noreply.github.com> Date: Thu, 9 May 2024 21:35:53 +0100 Subject: [PATCH 26/31] Test 2024 04 20 2 | 7 additions to applications.json * 7 additions to applications.json Adds: NetLimiter - https://www.netlimiter.com OneCommander - https://www.onecommander.com Borderless Gaming - https://github.com/Codeusa/Borderless-Gaming Equalizer APO - https://sourceforge.net/projects/equalizerapo FreeFileSync - https://freefilesync.org Elgato Stream Deck - https://www.elgato.com/uk/en/s/downloads Stardock Curtains - https://www.stardock.com/products/curtains * Added Compact GUI support Link: https://github.com/IridiumIO/CompactGUI Since I wasn't sure what category to put it in, I chose Utilities. * Added ExifCleaner support Link: https://github.com/szTheory/exifcleaner * Removed trial ware additions Removed: Net Limiter One Commander Elgato: Stream Deck Stardock Curtains --- config/applications.json | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/config/applications.json b/config/applications.json index f8a3f395..512fdd65 100644 --- a/config/applications.json +++ b/config/applications.json @@ -1239,6 +1239,46 @@ "link": "https://www.msi.com/Landing/afterburner", "winget": "Guru3D.Afterburner" }, + "WPFInstallBorderlessGaming": { + "category": "Utilities", + "choco": "na", + "content": "Borderless Gaming", + "description": "Play your favorite games in a borderless window; no more time consuming alt-tabs.", + "link": "https://github.com/Codeusa/Borderless-Gaming", + "winget": "Codeusa.BorderlessGaming" + }, + "WPFInstallEqualizerAPO": { + "category": "Multimedia Tools", + "choco": "equalizerapo", + "content": "Equalizer APO", + "description": "Equalizer APO is a parametric / graphic equalizer for Windows.", + "link": "https://sourceforge.net/projects/equalizerapo", + "winget": "na" + }, + "WPFInstallFreeFileSync": { + "category": "Utilities", + "choco": "freefilesync", + "content": "FreeFileSync", + "description": "Synchronize Files and Folders", + "link": "https://freefilesync.org", + "winget": "na" + }, + "WPFInstallCompactGUI": { + "category": "Utilities", + "choco": "compactgui", + "content": "Compact GUI", + "description": "Transparently compress active games and programs using Windows 10/11 APIs", + "link": "https://github.com/IridiumIO/CompactGUI", + "winget": "IridiumIO.CompactGUI" + }, + "WPFInstallExifCleaner": { + "category": "Utilities", + "choco": "na", + "content": "ExifCleaner", + "description": "Desktop app to clean metadata from images, videos, PDFs, and other files.", + "link": "https://github.com/szTheory/exifcleaner", + "winget": "szTheory.exifcleaner" + }, "WPFInstallmullvadbrowser": { "category": "Browsers", "choco": "na", From f1c52d957b06d0a5470f4152495a2a89176ea259 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Thu, 9 May 2024 20:36:16 +0000 Subject: [PATCH 27/31] Compile Winutil --- winutil.ps1 | 87 +++++++++++++++++++++++++++++++++++++--------- xaml/inputApp.xaml | 47 ++++++++++++++++--------- 2 files changed, 102 insertions(+), 32 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 8a2f9f2a..f49ebec9 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -6261,6 +6261,46 @@ $sync.configs.applications = '{ "link": "https://www.msi.com/Landing/afterburner", "winget": "Guru3D.Afterburner" }, + "WPFInstallBorderlessGaming": { + "category": "Utilities", + "choco": "na", + "content": "Borderless Gaming", + "description": "Play your favorite games in a borderless window; no more time consuming alt-tabs.", + "link": "https://github.com/Codeusa/Borderless-Gaming", + "winget": "Codeusa.BorderlessGaming" + }, + "WPFInstallEqualizerAPO": { + "category": "Multimedia Tools", + "choco": "equalizerapo", + "content": "Equalizer APO", + "description": "Equalizer APO is a parametric / graphic equalizer for Windows.", + "link": "https://sourceforge.net/projects/equalizerapo", + "winget": "na" + }, + "WPFInstallFreeFileSync": { + "category": "Utilities", + "choco": "freefilesync", + "content": "FreeFileSync", + "description": "Synchronize Files and Folders", + "link": "https://freefilesync.org", + "winget": "na" + }, + "WPFInstallCompactGUI": { + "category": "Utilities", + "choco": "compactgui", + "content": "Compact GUI", + "description": "Transparently compress active games and programs using Windows 10/11 APIs", + "link": "https://github.com/IridiumIO/CompactGUI", + "winget": "IridiumIO.CompactGUI" + }, + "WPFInstallExifCleaner": { + "category": "Utilities", + "choco": "na", + "content": "ExifCleaner", + "description": "Desktop app to clean metadata from images, videos, PDFs, and other files.", + "link": "https://github.com/szTheory/exifcleaner", + "winget": "szTheory.exifcleaner" + }, "WPFInstallmullvadbrowser": { "category": "Browsers", "choco": "na", @@ -11782,15 +11822,15 @@ $inputXML = ' + + + - - - @@ -11984,17 +12024,17 @@ $inputXML = ' - - - - - + + + + + - - - + + + + + + + + diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index 9acce14d..a723b5d7 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -205,15 +205,15 @@ + + + - - - @@ -407,17 +407,17 @@ - - - - - + + + + + - - + + + + + + + + From 386808d0e022fd06cead9dbda94e0f76a46eb2f2 Mon Sep 17 00:00:00 2001 From: Federico Pulcino <78621373+FedeP14@users.noreply.github.com> Date: Fri, 10 May 2024 00:00:16 +0200 Subject: [PATCH 28/31] add GlazeWM to applications.js (#1891) Co-authored-by: Chris Titus --- config/applications.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/applications.json b/config/applications.json index 512fdd65..39fe433f 100644 --- a/config/applications.json +++ b/config/applications.json @@ -2655,6 +2655,14 @@ "link": "https://github.com/magic-wormhole/magic-wormhole", "winget": "magic-wormhole.magic-wormhole" }, + "WPFInstalglazewm": { + "category": "Utilities", + "choco": "na", + "content": "GlazeWM", + "description": "GlazeWM is a tiling window manager for Windows inspired by i3 and Polybar", + "link": "https://github.com/glzr-io/glazewm", + "winget": "glzr-io.glazewm" + }, "WPFInstallfancontrol": { "category": "Utilities", "choco": "na", From 63f45ed4467b276c7053c2ebcfddddf04b04b685 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Thu, 9 May 2024 22:00:48 +0000 Subject: [PATCH 29/31] Compile Winutil --- winutil.ps1 | 45 ++++++++++++++++++++++++++++----------------- xaml/inputApp.xaml | 37 ++++++++++++++++++++----------------- 2 files changed, 48 insertions(+), 34 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index f49ebec9..5caaf80b 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -7677,6 +7677,14 @@ $sync.configs.applications = '{ "link": "https://github.com/magic-wormhole/magic-wormhole", "winget": "magic-wormhole.magic-wormhole" }, + "WPFInstalglazewm": { + "category": "Utilities", + "choco": "na", + "content": "GlazeWM", + "description": "GlazeWM is a tiling window manager for Windows inspired by i3 and Polybar", + "link": "https://github.com/glzr-io/glazewm", + "winget": "glzr-io.glazewm" + }, "WPFInstallfancontrol": { "category": "Utilities", "choco": "na", @@ -11825,15 +11833,15 @@ $inputXML = ' + + + - - - @@ -12030,15 +12038,15 @@ $inputXML = ' + - - - - - - + + + @@ -12300,6 +12308,9 @@ $inputXML = ' - - - @@ -12460,6 +12466,11 @@ $inputXML = ' + + + + + diff --git a/xaml/inputApp.xaml b/xaml/inputApp.xaml index a723b5d7..fa8036be 100644 --- a/xaml/inputApp.xaml +++ b/xaml/inputApp.xaml @@ -208,15 +208,15 @@ + + + - - - @@ -413,15 +413,15 @@ + - - - - + + @@ -683,6 +683,9 @@ - - @@ -843,6 +841,11 @@ + + + + + From 81fd3d168302b6b2667985cb4f13fd2783503bce Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 9 May 2024 17:04:41 -0700 Subject: [PATCH 30/31] Remove old Win7 game tweak --- config/tweaks.json | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/config/tweaks.json b/config/tweaks.json index 63e48bd3..e260bd3e 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -1926,27 +1926,6 @@ "Value": "1", "Type": "DWord" }, - { - "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games", - "OriginalValue": "1", - "Name": "GPU Priority", - "Value": "8", - "Type": "DWord" - }, - { - "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games", - "OriginalValue": "1", - "Name": "Priority", - "Value": "6", - "Type": "DWord" - }, - { - "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games", - "OriginalValue": "High", - "Name": "Scheduling Category", - "Value": "High", - "Type": "String" - }, { "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\UserProfileEngagement", "OriginalValue": "1", From 8eb51560d857b8921df4abffe9dbc08b8c8f2ea7 Mon Sep 17 00:00:00 2001 From: ChrisTitusTech Date: Thu, 9 May 2024 22:05:13 +0000 Subject: [PATCH 31/31] Compile Winutil --- winutil.ps1 | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index 5caaf80b..9650d9b4 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -10056,27 +10056,6 @@ $sync.configs.tweaks = '{ "Value": "1", "Type": "DWord" }, - { - "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games", - "OriginalValue": "1", - "Name": "GPU Priority", - "Value": "8", - "Type": "DWord" - }, - { - "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games", - "OriginalValue": "1", - "Name": "Priority", - "Value": "6", - "Type": "DWord" - }, - { - "Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games", - "OriginalValue": "High", - "Name": "Scheduling Category", - "Value": "High", - "Type": "String" - }, { "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\UserProfileEngagement", "OriginalValue": "1",