Skip to content

Commit

Permalink
Compile Winutil
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTitusTech authored and github-actions[bot] committed Feb 2, 2024
1 parent 4f948ec commit cd6a7a5
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions winutil.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2383,6 +2383,7 @@ function Invoke-WPFButton {
"WPFUpdatesdefault" {Invoke-WPFUpdatesdefault}
"WPFFixesUpdate" {Invoke-WPFFixesUpdate}
"WPFFixesWinget" {Invoke-WPFFixesWinget}
"WPFRunAdobeCCCleanerTool" {Invoke-WPFRunAdobeCCCleanerTool}
"WPFFixesNetwork" {Invoke-WPFFixesNetwork}
"WPFUpdatesdisable" {Invoke-WPFUpdatesdisable}
"WPFUpdatessecurity" {Invoke-WPFUpdatessecurity}
Expand Down Expand Up @@ -3724,6 +3725,34 @@ function Invoke-WPFPresets {
}
}
}
function Invoke-WPFRunAdobeCCCleanerTool {
<#
.SYNOPSIS
It removes or fixes problem files and resolves permission issues in registry keys.
.DESCRIPTION
The Creative Cloud Cleaner tool is a utility for experienced users to clean up corrupted installations.
#>

[string]$url="https://swupmf.adobe.com/webfeed/CleanerTool/win/AdobeCreativeCloudCleanerTool.exe"

Write-Host "The Adobe Creative Cloud Cleaner tool is hosted at"
Write-Host "$url"

# Don't show the progress because it will slow down the download speed
$ProgressPreference='SilentlyContinue'

Invoke-WebRequest -Uri $url -OutFile "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -UseBasicParsing -ErrorAction SilentlyContinue -Verbose

# Revert back the ProgressPreference variable to the default value since we got the file desired
$ProgressPreference='Continue'

Start-Process -FilePath "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Wait -ErrorAction SilentlyContinue -Verbose

if (Test-Path -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe") {
Write-Host "Cleaning up..."
Remove-Item -Path "$env:TEMP\AdobeCreativeCloudCleanerTool.exe" -Verbose
}
}
function Invoke-WPFRunspace {

<#
Expand Down Expand Up @@ -8119,6 +8148,13 @@ $sync.configs.feature = '{
"Order": "a044_",
"Type": "300"
},
"WPFRunAdobeCCCleanerTool": {
"Content": "Remove Adobe Creative Cloud",
"category": "Fixes",
"panel": "1",
"Order": "a045_",
"Type": "300"
},
"WPFPanelnetwork": {
"Content": "Network Connections",
"category": "Legacy Windows Panels",
Expand Down

0 comments on commit cd6a7a5

Please sign in to comment.