|
|
@ -8,7 +8,7 @@
|
|
|
|
Author : Chris Titus @christitustech
|
|
|
|
Author : Chris Titus @christitustech
|
|
|
|
Runspace Author: @DeveloperDurp
|
|
|
|
Runspace Author: @DeveloperDurp
|
|
|
|
GitHub : https://github.com/ChrisTitusTech
|
|
|
|
GitHub : https://github.com/ChrisTitusTech
|
|
|
|
Version : 24.06.25
|
|
|
|
Version : 24.06.28
|
|
|
|
#>
|
|
|
|
#>
|
|
|
|
param (
|
|
|
|
param (
|
|
|
|
[switch]$Debug,
|
|
|
|
[switch]$Debug,
|
|
|
@ -45,7 +45,7 @@ Add-Type -AssemblyName System.Windows.Forms
|
|
|
|
# Variable to sync between runspaces
|
|
|
|
# Variable to sync between runspaces
|
|
|
|
$sync = [Hashtable]::Synchronized(@{})
|
|
|
|
$sync = [Hashtable]::Synchronized(@{})
|
|
|
|
$sync.PSScriptRoot = $PSScriptRoot
|
|
|
|
$sync.PSScriptRoot = $PSScriptRoot
|
|
|
|
$sync.version = "24.06.25"
|
|
|
|
$sync.version = "24.06.28"
|
|
|
|
$sync.configs = @{}
|
|
|
|
$sync.configs = @{}
|
|
|
|
$sync.ProcessRunning = $false
|
|
|
|
$sync.ProcessRunning = $false
|
|
|
|
|
|
|
|
|
|
|
@ -1118,7 +1118,13 @@ function Remove-ProvisionedPackages([switch] $keepSecurity = $false)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$status = "Removing Provisioned $($appx.PackageName)"
|
|
|
|
$status = "Removing Provisioned $($appx.PackageName)"
|
|
|
|
Write-Progress -Activity "Removing Provisioned Apps" -Status $status -PercentComplete ($counter++/$appxProvisionedPackages.Count*100)
|
|
|
|
Write-Progress -Activity "Removing Provisioned Apps" -Status $status -PercentComplete ($counter++/$appxProvisionedPackages.Count*100)
|
|
|
|
Remove-AppxProvisionedPackage -Path $scratchDir -PackageName $appx.PackageName -ErrorAction SilentlyContinue
|
|
|
|
try {
|
|
|
|
|
|
|
|
Remove-AppxProvisionedPackage -Path $scratchDir -PackageName $appx.PackageName -ErrorAction SilentlyContinue
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
catch {
|
|
|
|
|
|
|
|
Write-Host "Application $($appx.PackageName) could not be removed"
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Write-Progress -Activity "Removing Provisioned Apps" -Status "Ready" -Completed
|
|
|
|
Write-Progress -Activity "Removing Provisioned Apps" -Status "Ready" -Completed
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -4418,8 +4424,10 @@ function Invoke-WPFPanelAutologin {
|
|
|
|
Enables autologin using Sysinternals Autologon.exe
|
|
|
|
Enables autologin using Sysinternals Autologon.exe
|
|
|
|
|
|
|
|
|
|
|
|
#>
|
|
|
|
#>
|
|
|
|
curl.exe -ss "https://live.sysinternals.com/Autologon.exe" -o $env:temp\autologin.exe # Official Microsoft recommendation https://learn.microsoft.com/en-us/sysinternals/downloads/autologon
|
|
|
|
|
|
|
|
cmd /c $env:temp\autologin.exe /accepteula
|
|
|
|
# Official Microsoft recommendation: https://learn.microsoft.com/en-us/sysinternals/downloads/autologon
|
|
|
|
|
|
|
|
Invoke-WebRequest -Uri "https://live.sysinternals.com/Autologon.exe" -OutFile "$env:temp\autologin.exe"
|
|
|
|
|
|
|
|
cmd /c "$env:temp\autologin.exe" /accepteula
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function Invoke-WPFPanelDISM {
|
|
|
|
function Invoke-WPFPanelDISM {
|
|
|
|
<#
|
|
|
|
<#
|
|
|
@ -5616,6 +5624,14 @@ $sync.configs.applications = '{
|
|
|
|
"link": "https://copyq.readthedocs.io/",
|
|
|
|
"link": "https://copyq.readthedocs.io/",
|
|
|
|
"winget": "hluk.CopyQ"
|
|
|
|
"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": {
|
|
|
|
"WPFInstallcpuz": {
|
|
|
|
"category": "Utilities",
|
|
|
|
"category": "Utilities",
|
|
|
|
"choco": "cpu-z",
|
|
|
|
"choco": "cpu-z",
|
|
|
@ -5704,14 +5720,6 @@ $sync.configs.applications = '{
|
|
|
|
"link": "https://discord.com/",
|
|
|
|
"link": "https://discord.com/",
|
|
|
|
"winget": "Discord.Discord"
|
|
|
|
"winget": "Discord.Discord"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"WPFInstallditto": {
|
|
|
|
|
|
|
|
"category": "Utilities",
|
|
|
|
|
|
|
|
"choco": "ditto",
|
|
|
|
|
|
|
|
"content": "Ditto",
|
|
|
|
|
|
|
|
"description": "Ditto is an extension to the standard windows clipboard.",
|
|
|
|
|
|
|
|
"link": "https://ditto-cp.sourceforge.io/",
|
|
|
|
|
|
|
|
"winget": "Ditto.Ditto"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"WPFInstalldockerdesktop": {
|
|
|
|
"WPFInstalldockerdesktop": {
|
|
|
|
"category": "Development",
|
|
|
|
"category": "Development",
|
|
|
|
"choco": "docker-desktop",
|
|
|
|
"choco": "docker-desktop",
|
|
|
@ -6096,6 +6104,14 @@ $sync.configs.applications = '{
|
|
|
|
"link": "https://www.gog.com/galaxy",
|
|
|
|
"link": "https://www.gog.com/galaxy",
|
|
|
|
"winget": "GOG.Galaxy"
|
|
|
|
"winget": "GOG.Galaxy"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
"WPFInstallgitify": {
|
|
|
|
|
|
|
|
"category": "Development",
|
|
|
|
|
|
|
|
"choco": "na",
|
|
|
|
|
|
|
|
"content": "Gitify",
|
|
|
|
|
|
|
|
"description": "GitHub notifications on your menu bar.",
|
|
|
|
|
|
|
|
"link": "https://www.gitify.io/",
|
|
|
|
|
|
|
|
"winget": "Gitify.Gitify"
|
|
|
|
|
|
|
|
},
|
|
|
|
"WPFInstallgolang": {
|
|
|
|
"WPFInstallgolang": {
|
|
|
|
"category": "Development",
|
|
|
|
"category": "Development",
|
|
|
|
"choco": "golang",
|
|
|
|
"choco": "golang",
|
|
|
@ -6576,6 +6592,14 @@ $sync.configs.applications = '{
|
|
|
|
"link": "https://www.msi.com/Landing/afterburner",
|
|
|
|
"link": "https://www.msi.com/Landing/afterburner",
|
|
|
|
"winget": "Guru3D.Afterburner"
|
|
|
|
"winget": "Guru3D.Afterburner"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
"WPFInstallmullvadvpn": {
|
|
|
|
|
|
|
|
"category": "Pro Tools",
|
|
|
|
|
|
|
|
"choco": "mullvad-app",
|
|
|
|
|
|
|
|
"content": "Mullvad VPN",
|
|
|
|
|
|
|
|
"description": "This is the VPN client software for the Mullvad VPN service.",
|
|
|
|
|
|
|
|
"link": "https://github.com/mullvad/mullvadvpn-app",
|
|
|
|
|
|
|
|
"winget": "MullvadVPN.MullvadVPN"
|
|
|
|
|
|
|
|
},
|
|
|
|
"WPFInstallBorderlessGaming": {
|
|
|
|
"WPFInstallBorderlessGaming": {
|
|
|
|
"category": "Utilities",
|
|
|
|
"category": "Utilities",
|
|
|
|
"choco": "na",
|
|
|
|
"choco": "na",
|
|
|
@ -8135,6 +8159,14 @@ $sync.configs.applications = '{
|
|
|
|
"description": "Kicad is an open-source EDA tool. It's a good starting point for those who want to do electrical design and is even used by professionals in the industry.",
|
|
|
|
"description": "Kicad is an open-source EDA tool. It's a good starting point for those who want to do electrical design and is even used by professionals in the industry.",
|
|
|
|
"link": "https://www.kicad.org/",
|
|
|
|
"link": "https://www.kicad.org/",
|
|
|
|
"winget": "KiCad.KiCad"
|
|
|
|
"winget": "KiCad.KiCad"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"WPFInstalldropox": {
|
|
|
|
|
|
|
|
"category": "Utilities",
|
|
|
|
|
|
|
|
"choco": "na",
|
|
|
|
|
|
|
|
"content": "Dropbox",
|
|
|
|
|
|
|
|
"description": "The Dropbox desktop app! Save hard drive space, share and edit files and send for signature ? all without the distraction of countless browser tabs.",
|
|
|
|
|
|
|
|
"link": "https://www.dropbox.com/en_GB/desktop",
|
|
|
|
|
|
|
|
"winget": "Dropbox.Dropbox"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}' | convertfrom-json
|
|
|
|
}' | convertfrom-json
|
|
|
|
$sync.configs.dns = '{
|
|
|
|
$sync.configs.dns = '{
|
|
|
@ -8432,6 +8464,7 @@ $sync.configs.feature = '{
|
|
|
|
$sync.configs.preset = '{
|
|
|
|
$sync.configs.preset = '{
|
|
|
|
"Standard": [
|
|
|
|
"Standard": [
|
|
|
|
"WPFTweaksAH",
|
|
|
|
"WPFTweaksAH",
|
|
|
|
|
|
|
|
"WPFTweaksConsumerFeatures",
|
|
|
|
"WPFTweaksDVR",
|
|
|
|
"WPFTweaksDVR",
|
|
|
|
"WPFTweaksHiber",
|
|
|
|
"WPFTweaksHiber",
|
|
|
|
"WPFTweaksHome",
|
|
|
|
"WPFTweaksHome",
|
|
|
@ -8447,6 +8480,7 @@ $sync.configs.preset = '{
|
|
|
|
"WPFTweaksTeredo"
|
|
|
|
"WPFTweaksTeredo"
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"Minimal": [
|
|
|
|
"Minimal": [
|
|
|
|
|
|
|
|
"WPFTweaksConsumerFeatures",
|
|
|
|
"WPFTweaksHome",
|
|
|
|
"WPFTweaksHome",
|
|
|
|
"WPFTweaksServices",
|
|
|
|
"WPFTweaksServices",
|
|
|
|
"WPFTweaksTele"
|
|
|
|
"WPFTweaksTele"
|
|
|
@ -10131,6 +10165,22 @@ $sync.configs.tweaks = '{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
"WPFTweaksConsumerFeatures": {
|
|
|
|
|
|
|
|
"Content": "Disable ConsumerFeatures",
|
|
|
|
|
|
|
|
"Description": "Windows 10 will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link)",
|
|
|
|
|
|
|
|
"category": "Essential Tweaks",
|
|
|
|
|
|
|
|
"panel": "1",
|
|
|
|
|
|
|
|
"Order": "a003_",
|
|
|
|
|
|
|
|
"registry": [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
|
|
|
|
|
|
|
"OriginalValue": "0",
|
|
|
|
|
|
|
|
"Name": "DisableWindowsConsumerFeatures",
|
|
|
|
|
|
|
|
"Value": "1",
|
|
|
|
|
|
|
|
"Type": "DWord"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
"WPFTweaksTele": {
|
|
|
|
"WPFTweaksTele": {
|
|
|
|
"Content": "Disable Telemetry",
|
|
|
|
"Content": "Disable Telemetry",
|
|
|
|
"Description": "Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser.",
|
|
|
|
"Description": "Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser.",
|
|
|
@ -10289,13 +10339,6 @@ $sync.configs.tweaks = '{
|
|
|
|
"Value": "0",
|
|
|
|
"Value": "0",
|
|
|
|
"Type": "DWord"
|
|
|
|
"Type": "DWord"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
|
|
|
|
|
|
|
"OriginalValue": "0",
|
|
|
|
|
|
|
|
"Name": "DisableWindowsConsumerFeatures",
|
|
|
|
|
|
|
|
"Value": "1",
|
|
|
|
|
|
|
|
"Type": "DWord"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Siuf\\Rules",
|
|
|
|
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Siuf\\Rules",
|
|
|
|
"OriginalValue": "0",
|
|
|
|
"OriginalValue": "0",
|
|
|
@ -11247,7 +11290,7 @@ $sync.configs.tweaks = '{
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"WPFTweaksBlockAdobeNet": {
|
|
|
|
"WPFTweaksBlockAdobeNet": {
|
|
|
|
"Content": "Adobe Network Block",
|
|
|
|
"Content": "Adobe Network Block",
|
|
|
|
"Description": "Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. ",
|
|
|
|
"Description": "Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
|
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
"panel": "1",
|
|
|
|
"panel": "1",
|
|
|
|
"Order": "a021_",
|
|
|
|
"Order": "a021_",
|
|
|
@ -12386,7 +12429,7 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|
|
|
<StackPanel Background="{MainBackgroundColor}" Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="0" Grid.ColumnSpan="3" Margin="5">
|
|
|
|
<StackPanel Background="{MainBackgroundColor}" Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="0" Grid.ColumnSpan="3" Margin="5">
|
|
|
|
<Button Name="WPFinstall" Content=" Install/Upgrade Selected" Margin="2" />
|
|
|
|
<Button Name="WPFinstall" Content=" Install/Upgrade Selected" Margin="2" />
|
|
|
|
<Button Name="WPFInstallUpgrade" Content=" Upgrade All" Margin="2"/>
|
|
|
|
<Button Name="WPFInstallUpgrade" Content=" Upgrade All" Margin="2"/>
|
|
|
|
<Button Name="WPFuninstall" Content=" Uninstall Selection" Margin="2"/>
|
|
|
|
<Button Name="WPFuninstall" Content=" Uninstall Selected" Margin="2"/>
|
|
|
|
<Button Name="WPFGetInstalled" Content=" Get Installed" Margin="2"/>
|
|
|
|
<Button Name="WPFGetInstalled" Content=" Get Installed" Margin="2"/>
|
|
|
|
<Button Name="WPFclearWinget" Content=" Clear Selection" Margin="2"/>
|
|
|
|
<Button Name="WPFclearWinget" Content=" Clear Selection" Margin="2"/>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
@ -12554,6 +12597,9 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|
|
|
<CheckBox Name="WPFInstallgithubdesktop" Content="GitHub Desktop" ToolTip="GitHub Desktop is a visual Git client that simplifies collaboration on GitHub repositories with an easy-to-use interface." Margin="0,0,2,0"/><TextBlock Name="WPFInstallgithubdesktopLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://desktop.github.com/" />
|
|
|
|
<CheckBox Name="WPFInstallgithubdesktop" Content="GitHub Desktop" ToolTip="GitHub Desktop is a visual Git client that simplifies collaboration on GitHub repositories with an easy-to-use interface." Margin="0,0,2,0"/><TextBlock Name="WPFInstallgithubdesktopLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://desktop.github.com/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
|
|
|
<CheckBox Name="WPFInstallgitify" Content="Gitify" ToolTip="GitHub notifications on your menu bar." Margin="0,0,2,0"/><TextBlock Name="WPFInstallgitifyLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.gitify.io/" />
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstallgitkrakenclient" Content="GitKraken Client" ToolTip="GitKraken Client is a powerful visual Git client from Axosoft that works with ALL git repositories on any hosting environment." Margin="0,0,2,0"/><TextBlock Name="WPFInstallgitkrakenclientLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.gitkraken.com/git-client" />
|
|
|
|
<CheckBox Name="WPFInstallgitkrakenclient" Content="GitKraken Client" ToolTip="GitKraken Client is a powerful visual Git client from Axosoft that works with ALL git repositories on any hosting environment." Margin="0,0,2,0"/><TextBlock Name="WPFInstallgitkrakenclientLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.gitkraken.com/git-client" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
@ -12831,15 +12877,15 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstalldotnet5" Content=".NET Desktop Runtime 5" ToolTip=".NET Desktop Runtime 5 is a runtime environment required for running applications developed with .NET 5." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldotnet5Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dotnet.microsoft.com/download/dotnet/5.0" />
|
|
|
|
<CheckBox Name="WPFInstalldotnet5" Content=".NET Desktop Runtime 5" ToolTip=".NET Desktop Runtime 5 is a runtime environment required for running applications developed with .NET 5." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldotnet5Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dotnet.microsoft.com/download/dotnet/5.0" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
|
|
|
<CheckBox Name="WPFInstalldotnet6" Content=".NET Desktop Runtime 6" ToolTip=".NET Desktop Runtime 6 is a runtime environment required for running applications developed with .NET 6." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldotnet6Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dotnet.microsoft.com/download/dotnet/6.0" />
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" Grid.Column="2">
|
|
|
|
<Border Grid.Row="1" Grid.Column="2">
|
|
|
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True">
|
|
|
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstalldotnet6" Content=".NET Desktop Runtime 6" ToolTip=".NET Desktop Runtime 6 is a runtime environment required for running applications developed with .NET 6." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldotnet6Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dotnet.microsoft.com/download/dotnet/6.0" />
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
|
|
|
<CheckBox Name="WPFInstalldotnet7" Content=".NET Desktop Runtime 7" ToolTip=".NET Desktop Runtime 7 is a runtime environment required for running applications developed with .NET 7." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldotnet7Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dotnet.microsoft.com/download/dotnet/7.0" />
|
|
|
|
<CheckBox Name="WPFInstalldotnet7" Content=".NET Desktop Runtime 7" ToolTip=".NET Desktop Runtime 7 is a runtime environment required for running applications developed with .NET 7." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldotnet7Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dotnet.microsoft.com/download/dotnet/7.0" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
@ -13054,17 +13100,17 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstallangryipscanner" Content="Angry IP Scanner" ToolTip="Angry IP Scanner is an open-source and cross-platform network scanner. It is used to scan IP addresses and ports, providing information about network connectivity." Margin="0,0,2,0"/><TextBlock Name="WPFInstallangryipscannerLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://angryip.org/" />
|
|
|
|
<CheckBox Name="WPFInstallangryipscanner" Content="Angry IP Scanner" ToolTip="Angry IP Scanner is an open-source and cross-platform network scanner. It is used to scan IP addresses and ports, providing information about network connectivity." Margin="0,0,2,0"/><TextBlock Name="WPFInstallangryipscannerLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://angryip.org/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<Border Grid.Row="1" Grid.Column="3">
|
|
|
|
|
|
|
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True">
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstallefibooteditor" Content="EFI Boot Editor" ToolTip="EFI Boot Editor is a tool for managing the EFI/UEFI boot entries on your system. It allows you to customize the boot configuration of your computer." Margin="0,0,2,0"/><TextBlock Name="WPFInstallefibooteditorLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.easyuefi.com/" />
|
|
|
|
<CheckBox Name="WPFInstallefibooteditor" Content="EFI Boot Editor" ToolTip="EFI Boot Editor is a tool for managing the EFI/UEFI boot entries on your system. It allows you to customize the boot configuration of your computer." Margin="0,0,2,0"/><TextBlock Name="WPFInstallefibooteditorLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.easyuefi.com/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstallheidisql" Content="HeidiSQL" ToolTip="HeidiSQL is a powerful and easy-to-use client for MySQL, MariaDB, Microsoft SQL Server, and PostgreSQL databases. It provides tools for database management and development." Margin="0,0,2,0"/><TextBlock Name="WPFInstallheidisqlLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.heidisql.com/" />
|
|
|
|
<CheckBox Name="WPFInstallheidisql" Content="HeidiSQL" ToolTip="HeidiSQL is a powerful and easy-to-use client for MySQL, MariaDB, Microsoft SQL Server, and PostgreSQL databases. It provides tools for database management and development." Margin="0,0,2,0"/><TextBlock Name="WPFInstallheidisqlLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.heidisql.com/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
<Border Grid.Row="1" Grid.Column="3">
|
|
|
|
|
|
|
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstallkicad" Content="Kicad" ToolTip="Kicad is an open-source EDA tool. It's a good starting point for those who want to do electrical design and is even used by professionals in the industry." Margin="0,0,2,0"/><TextBlock Name="WPFInstallkicadLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.kicad.org/" />
|
|
|
|
<CheckBox Name="WPFInstallkicad" Content="Kicad" ToolTip="Kicad is an open-source EDA tool. It's a good starting point for those who want to do electrical design and is even used by professionals in the industry." Margin="0,0,2,0"/><TextBlock Name="WPFInstallkicadLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.kicad.org/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
@ -13072,6 +13118,9 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|
|
|
<CheckBox Name="WPFInstallmremoteng" Content="mRemoteNG" ToolTip="mRemoteNG is a free and open-source remote connections manager. It allows you to view and manage multiple remote sessions in a single interface." Margin="0,0,2,0"/><TextBlock Name="WPFInstallmremotengLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://mremoteng.org/" />
|
|
|
|
<CheckBox Name="WPFInstallmremoteng" Content="mRemoteNG" ToolTip="mRemoteNG is a free and open-source remote connections manager. It allows you to view and manage multiple remote sessions in a single interface." Margin="0,0,2,0"/><TextBlock Name="WPFInstallmremotengLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://mremoteng.org/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
|
|
|
<CheckBox Name="WPFInstallmullvadvpn" Content="Mullvad VPN" ToolTip="This is the VPN client software for the Mullvad VPN service." Margin="0,0,2,0"/><TextBlock Name="WPFInstallmullvadvpnLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://github.com/mullvad/mullvadvpn-app" />
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstallnetbird" Content="NetBird" ToolTip="NetBird is a Open Source alternative comparable to TailScale that can be connected to a selfhosted Server." Margin="0,0,2,0"/><TextBlock Name="WPFInstallnetbirdLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://netbird.io/" />
|
|
|
|
<CheckBox Name="WPFInstallnetbird" Content="NetBird" ToolTip="NetBird is a Open Source alternative comparable to TailScale that can be connected to a selfhosted Server." Margin="0,0,2,0"/><TextBlock Name="WPFInstallnetbirdLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://netbird.io/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
@ -13187,12 +13236,15 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|
|
|
<CheckBox Name="WPFInstalldevtoys" Content="DevToys" ToolTip="DevToys is a collection of development-related utilities and tools for Windows. It includes tools for file management, code formatting, and productivity enhancements for developers." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldevtoysLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://devtoys.app/" />
|
|
|
|
<CheckBox Name="WPFInstalldevtoys" Content="DevToys" ToolTip="DevToys is a collection of development-related utilities and tools for Windows. It includes tools for file management, code formatting, and productivity enhancements for developers." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldevtoysLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://devtoys.app/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstallditto" Content="Ditto" ToolTip="Ditto is an extension to the standard windows clipboard." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldittoLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://ditto-cp.sourceforge.io/" />
|
|
|
|
<CheckBox Name="WPFInstallditto" Content="Ditto (Clipboard Manager)" ToolTip="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." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldittoLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://github.com/sabrogden/Ditto" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstalldmt" Content="Dual Monitor Tools" ToolTip="Dual Monitor Tools (DMT) is a FOSS app that customize handling multiple monitors and even lock the mouse on specific monitor. Useful for full screen games and apps that does not handle well a second monitor or helps the workflow." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldmtLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dualmonitortool.sourceforge.net/" />
|
|
|
|
<CheckBox Name="WPFInstalldmt" Content="Dual Monitor Tools" ToolTip="Dual Monitor Tools (DMT) is a FOSS app that customize handling multiple monitors and even lock the mouse on specific monitor. Useful for full screen games and apps that does not handle well a second monitor or helps the workflow." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldmtLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dualmonitortool.sourceforge.net/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
|
|
|
<CheckBox Name="WPFInstalldropox" Content="Dropbox" ToolTip="The Dropbox desktop app! Save hard drive space, share and edit files and send for signature ? all without the distraction of countless browser tabs." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldropoxLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.dropbox.com/en_GB/desktop" />
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstallduplicati" Content="Duplicati" ToolTip="Duplicati is an open-source backup solution that supports encrypted, compressed, and incremental backups. It is designed to securely store data on cloud storage services." Margin="0,0,2,0"/><TextBlock Name="WPFInstallduplicatiLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.duplicati.com/" />
|
|
|
|
<CheckBox Name="WPFInstallduplicati" Content="Duplicati" ToolTip="Duplicati is an open-source backup solution that supports encrypted, compressed, and incremental backups. It is designed to securely store data on cloud storage services." Margin="0,0,2,0"/><TextBlock Name="WPFInstallduplicatiLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.duplicati.com/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
@ -13273,15 +13325,15 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstalllinkshellextension" Content="Link Shell extension" ToolTip="Link Shell Extension (LSE) provides for the creation of Hardlinks, Junctions, Volume Mountpoints, Symbolic Links, a folder cloning process that utilises Hardlinks or Symbolic Links and a copy process taking care of Junctions, Symbolic Links, and Hardlinks. LSE, as its name implies is implemented as a Shell extension and is accessed from Windows Explorer, or similar file/folder managers." Margin="0,0,2,0"/><TextBlock Name="WPFInstalllinkshellextensionLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html" />
|
|
|
|
<CheckBox Name="WPFInstalllinkshellextension" Content="Link Shell extension" ToolTip="Link Shell Extension (LSE) provides for the creation of Hardlinks, Junctions, Volume Mountpoints, Symbolic Links, a folder cloning process that utilises Hardlinks or Symbolic Links and a copy process taking care of Junctions, Symbolic Links, and Hardlinks. LSE, as its name implies is implemented as a Shell extension and is accessed from Windows Explorer, or similar file/folder managers." Margin="0,0,2,0"/><TextBlock Name="WPFInstalllinkshellextensionLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
|
|
|
<CheckBox Name="WPFInstalllivelywallpaper" Content="Lively Wallpaper" ToolTip="Free and open-source software that allows users to set animated desktop wallpapers and screensavers." Margin="0,0,2,0"/><TextBlock Name="WPFInstalllivelywallpaperLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.rocksdanister.com/lively/" />
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" Grid.Column="4">
|
|
|
|
<Border Grid.Row="1" Grid.Column="4">
|
|
|
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True">
|
|
|
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox Name="WPFInstalllivelywallpaper" Content="Lively Wallpaper" ToolTip="Free and open-source software that allows users to set animated desktop wallpapers and screensavers." Margin="0,0,2,0"/><TextBlock Name="WPFInstalllivelywallpaperLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.rocksdanister.com/lively/" />
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
|
|
|
<CheckBox Name="WPFInstalllocalsend" Content="LocalSend" ToolTip="An open source cross-platform alternative to AirDrop." Margin="0,0,2,0"/><TextBlock Name="WPFInstalllocalsendLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://localsend.org/" />
|
|
|
|
<CheckBox Name="WPFInstalllocalsend" Content="LocalSend" ToolTip="An open source cross-platform alternative to AirDrop." Margin="0,0,2,0"/><TextBlock Name="WPFInstalllocalsendLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://localsend.org/" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
@ -13522,6 +13574,7 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|
|
|
<Label Name="WPFLabelEssentialTweaks" Content="Essential Tweaks" FontSize="16"/>
|
|
|
|
<Label Name="WPFLabelEssentialTweaks" Content="Essential Tweaks" FontSize="16"/>
|
|
|
|
<CheckBox Name="WPFTweaksRestorePoint" Content="Create Restore Point" IsChecked="False" Margin="5,0" ToolTip="Creates a restore point at runtime in case a revert is needed from WinUtil modifications"/>
|
|
|
|
<CheckBox Name="WPFTweaksRestorePoint" Content="Create Restore Point" IsChecked="False" Margin="5,0" ToolTip="Creates a restore point at runtime in case a revert is needed from WinUtil modifications"/>
|
|
|
|
<CheckBox Name="WPFTweaksDeleteTempFiles" Content="Delete Temporary Files" Margin="5,0" ToolTip="Erases TEMP Folders"/>
|
|
|
|
<CheckBox Name="WPFTweaksDeleteTempFiles" Content="Delete Temporary Files" Margin="5,0" ToolTip="Erases TEMP Folders"/>
|
|
|
|
|
|
|
|
<CheckBox Name="WPFTweaksConsumerFeatures" Content="Disable ConsumerFeatures" Margin="5,0" ToolTip="Windows 10 will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link)"/>
|
|
|
|
<CheckBox Name="WPFTweaksTele" Content="Disable Telemetry" Margin="5,0" ToolTip="Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser."/>
|
|
|
|
<CheckBox Name="WPFTweaksTele" Content="Disable Telemetry" Margin="5,0" ToolTip="Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spies heavily on you when using the Edge browser."/>
|
|
|
|
<CheckBox Name="WPFTweaksAH" Content="Disable Activity History" Margin="5,0" ToolTip="This erases recent docs, clipboard, and run history."/>
|
|
|
|
<CheckBox Name="WPFTweaksAH" Content="Disable Activity History" Margin="5,0" ToolTip="This erases recent docs, clipboard, and run history."/>
|
|
|
|
<CheckBox Name="WPFTweaksDVR" Content="Disable GameDVR" Margin="5,0" ToolTip="GameDVR is a Windows App that is a dependency for some Store Games. I've never met someone that likes it, but it's there for the XBOX crowd."/>
|
|
|
|
<CheckBox Name="WPFTweaksDVR" Content="Disable GameDVR" Margin="5,0" ToolTip="GameDVR is a Windows App that is a dependency for some Store Games. I've never met someone that likes it, but it's there for the XBOX crowd."/>
|
|
|
@ -13537,7 +13590,7 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|
|
|
<CheckBox Name="WPFToggleTweaksLaptopHybernation" Content="Set Hibernation as default (good for laptops)" Margin="5,0" ToolTip="Most modern laptops have connected stadby enabled which drains the battery, this sets hibernation as default which will not drain the battery. See issue https://github.com/ChrisTitusTech/winutil/issues/1399"/>
|
|
|
|
<CheckBox Name="WPFToggleTweaksLaptopHybernation" Content="Set Hibernation as default (good for laptops)" Margin="5,0" ToolTip="Most modern laptops have connected stadby enabled which drains the battery, this sets hibernation as default which will not drain the battery. See issue https://github.com/ChrisTitusTech/winutil/issues/1399"/>
|
|
|
|
<CheckBox Name="WPFTweaksServices" Content="Set Services to Manual" Margin="5,0" ToolTip="Turns a bunch of system services to manual that don't need to be running all the time. This is pretty harmless as if the service is needed, it will simply start on demand."/>
|
|
|
|
<CheckBox Name="WPFTweaksServices" Content="Set Services to Manual" Margin="5,0" ToolTip="Turns a bunch of system services to manual that don't need to be running all the time. This is pretty harmless as if the service is needed, it will simply start on demand."/>
|
|
|
|
<Label Name="WPFLabelAdvancedTweaksCAUTION" Content="Advanced Tweaks - CAUTION" FontSize="16"/>
|
|
|
|
<Label Name="WPFLabelAdvancedTweaksCAUTION" Content="Advanced Tweaks - CAUTION" FontSize="16"/>
|
|
|
|
<CheckBox Name="WPFTweaksBlockAdobeNet" Content="Adobe Network Block" Margin="5,0" ToolTip="Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. "/>
|
|
|
|
<CheckBox Name="WPFTweaksBlockAdobeNet" Content="Adobe Network Block" Margin="5,0" ToolTip="Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs"/>
|
|
|
|
<CheckBox Name="WPFTweaksDebloatAdobe" Content="Adobe Debloat" Margin="5,0" ToolTip="Manages Adobe Services, Adobe Desktop Service, and Acrobat Updates"/>
|
|
|
|
<CheckBox Name="WPFTweaksDebloatAdobe" Content="Adobe Debloat" Margin="5,0" ToolTip="Manages Adobe Services, Adobe Desktop Service, and Acrobat Updates"/>
|
|
|
|
<CheckBox Name="WPFTweaksDisableipsix" Content="Disable IPv6" Margin="5,0" ToolTip="Disables IPv6."/>
|
|
|
|
<CheckBox Name="WPFTweaksDisableipsix" Content="Disable IPv6" Margin="5,0" ToolTip="Disables IPv6."/>
|
|
|
|
<CheckBox Name="WPFTweaksEnableipsix" Content="Enable IPv6" Margin="5,0" ToolTip="Enables IPv6."/>
|
|
|
|
<CheckBox Name="WPFTweaksEnableipsix" Content="Enable IPv6" Margin="5,0" ToolTip="Enables IPv6."/>
|
|
|
@ -14196,19 +14249,37 @@ Add-Type @"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# need to experiemnt more
|
|
|
|
|
|
|
|
# setting icon for the windows is still not working
|
|
|
|
# Using a TaskbarItem Overlay until someone figures out how to replace the icon correctly
|
|
|
|
# $pngUrl = "https://christitus.com/images/logo-full.png"
|
|
|
|
|
|
|
|
# $pngPath = "$env:TEMP\cttlogo.png"
|
|
|
|
# URL of the image
|
|
|
|
# $iconPath = "$env:TEMP\cttlogo.ico"
|
|
|
|
$imageUrl = "https://christitus.com/images/logo-full.png"
|
|
|
|
# # Download the PNG file
|
|
|
|
|
|
|
|
# Invoke-WebRequest -Uri $pngUrl -OutFile $pngPath
|
|
|
|
# Download the image
|
|
|
|
# if (Test-Path -Path $pngPath) {
|
|
|
|
$imagePath = "$env:TEMP\logo-full.png"
|
|
|
|
# ConvertTo-Icon -bitmapPath $pngPath -iconPath $iconPath
|
|
|
|
Invoke-WebRequest -Uri $imageUrl -OutFile $imagePath
|
|
|
|
# }
|
|
|
|
|
|
|
|
# $icon = [System.Drawing.Icon]::ExtractAssociatedIcon($iconPath)
|
|
|
|
# Read the image file as a byte array
|
|
|
|
# Write-Host $icon.Handle
|
|
|
|
$imageBytes = [System.IO.File]::ReadAllBytes($imagePath)
|
|
|
|
# [Window]::SendMessage($windowHandle, 0x80, [IntPtr]::Zero, $icon.Handle)
|
|
|
|
|
|
|
|
|
|
|
|
# Convert the byte array to a Base64 string
|
|
|
|
|
|
|
|
$base64String = [System.Convert]::ToBase64String($imageBytes)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Create a streaming image by streaming the base64 string to a bitmap streamsource
|
|
|
|
|
|
|
|
$bitmap = New-Object System.Windows.Media.Imaging.BitmapImage
|
|
|
|
|
|
|
|
$bitmap.BeginInit()
|
|
|
|
|
|
|
|
$bitmap.StreamSource = [System.IO.MemoryStream][System.Convert]::FromBase64String($base64String)
|
|
|
|
|
|
|
|
$bitmap.EndInit()
|
|
|
|
|
|
|
|
$bitmap.Freeze()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Ensure TaskbarItemInfo is created if not already
|
|
|
|
|
|
|
|
if (-not $sync["Form"].TaskbarItemInfo) {
|
|
|
|
|
|
|
|
$sync["Form"].TaskbarItemInfo = New-Object System.Windows.Shell.TaskbarItemInfo
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Set the overlay icon for the taskbar
|
|
|
|
|
|
|
|
$sync["Form"].TaskbarItemInfo.Overlay = $bitmap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$rect = New-Object RECT
|
|
|
|
$rect = New-Object RECT
|
|
|
|
[Window]::GetWindowRect($windowHandle, [ref]$rect)
|
|
|
|
[Window]::GetWindowRect($windowHandle, [ref]$rect)
|
|
|
@ -14384,7 +14455,6 @@ $sync["AboutMenuItem"].Add_Click({
|
|
|
|
$authorInfo = @"
|
|
|
|
$authorInfo = @"
|
|
|
|
Author : <a href="https://github.com/ChrisTitusTech">@christitustech</a>
|
|
|
|
Author : <a href="https://github.com/ChrisTitusTech">@christitustech</a>
|
|
|
|
Runspace : <a href="https://github.com/DeveloperDurp">@DeveloperDurp</a>
|
|
|
|
Runspace : <a href="https://github.com/DeveloperDurp">@DeveloperDurp</a>
|
|
|
|
GUI : <a href="https://github.com/KonTy">@KonTy</a>
|
|
|
|
|
|
|
|
MicroWin : <a href="https://github.com/KonTy">@KonTy</a>
|
|
|
|
MicroWin : <a href="https://github.com/KonTy">@KonTy</a>
|
|
|
|
GitHub : <a href="https://github.com/ChrisTitusTech/winutil">ChrisTitusTech/winutil</a>
|
|
|
|
GitHub : <a href="https://github.com/ChrisTitusTech/winutil">ChrisTitusTech/winutil</a>
|
|
|
|
Version : <a href="https://github.com/ChrisTitusTech/winutil/releases/tag/$($sync.version)">$($sync.version)</a>
|
|
|
|
Version : <a href="https://github.com/ChrisTitusTech/winutil/releases/tag/$($sync.version)">$($sync.version)</a>
|
|
|
|