mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-06 21:23:51 -05:00
Compare commits
17 Commits
24.06.25
...
48d94ed981
Author | SHA1 | Date | |
---|---|---|---|
48d94ed981 | |||
b88c7f0cc4 | |||
5c687c98c6 | |||
495e08db05 | |||
a23d63613f | |||
acbabd4962 | |||
45a18b335f | |||
c23ea45e61 | |||
1f01933cc0 | |||
4958c5efe9 | |||
5dd3bb492f | |||
9d6d21bd40 | |||
69547f13ce | |||
f81528b5b8 | |||
81e1346251 | |||
b97e5b06c1 | |||
dddc1cac14 |
16
Compile.ps1
16
Compile.ps1
@ -1,5 +1,6 @@
|
|||||||
param (
|
param (
|
||||||
[switch]$Debug
|
[switch]$Debug,
|
||||||
|
[switch]$Run
|
||||||
)
|
)
|
||||||
$OFS = "`r`n"
|
$OFS = "`r`n"
|
||||||
$scriptname = "winutil.ps1"
|
$scriptname = "winutil.ps1"
|
||||||
@ -63,13 +64,6 @@ Get-ChildItem .\config | Where-Object {$psitem.extension -eq ".json"} | ForEach-
|
|||||||
$sync.configs.$($psitem.BaseName) = $json | convertfrom-json
|
$sync.configs.$($psitem.BaseName) = $json | convertfrom-json
|
||||||
$script_content.Add($(Write-output "`$sync.configs.$($psitem.BaseName) = '$json' `| convertfrom-json" ))
|
$script_content.Add($(Write-output "`$sync.configs.$($psitem.BaseName) = '$json' `| convertfrom-json" ))
|
||||||
}
|
}
|
||||||
Write-Progress -Activity "Compiling" -Status "Adding: Config *.cfg" -PercentComplete 45
|
|
||||||
Get-ChildItem .\config | Where-Object {$PSItem.Extension -eq ".cfg"} | ForEach-Object {
|
|
||||||
$script_content.Add($(Write-output "`$sync.configs.$($psitem.BaseName) = '$(Get-Content $PSItem.FullName)'"))
|
|
||||||
}
|
|
||||||
Get-ChildItem .\config | Where-Object {$PSItem.Extension -eq ".cfg"} | ForEach-Object {
|
|
||||||
$script_content.Add($(Write-output "`$sync.configs.$($psitem.BaseName) = '$(Get-Content $PSItem.FullName)'"))
|
|
||||||
}
|
|
||||||
|
|
||||||
$xaml = (Get-Content .\xaml\inputXML.xaml).replace("'","''")
|
$xaml = (Get-Content .\xaml\inputXML.xaml).replace("'","''")
|
||||||
|
|
||||||
@ -106,4 +100,8 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Set-Content -Path $scriptname -Value ($script_content -join "`r`n") -Encoding ascii
|
Set-Content -Path $scriptname -Value ($script_content -join "`r`n") -Encoding ascii
|
||||||
Write-Progress -Activity "Compiling" -Completed
|
Write-Progress -Activity "Compiling" -Completed
|
||||||
|
|
||||||
|
if ($run){
|
||||||
|
Start-Process -FilePath "powershell" -ArgumentList ".\$scriptname"
|
||||||
|
}
|
@ -975,14 +975,6 @@
|
|||||||
"link": "https://www.oracle.com/java/",
|
"link": "https://www.oracle.com/java/",
|
||||||
"winget": "EclipseAdoptium.Temurin.18.JRE"
|
"winget": "EclipseAdoptium.Temurin.18.JRE"
|
||||||
},
|
},
|
||||||
"WPFInstalljava20": {
|
|
||||||
"category": "Development",
|
|
||||||
"choco": "na",
|
|
||||||
"content": "Azul Zulu JDK 20",
|
|
||||||
"description": "Azul Zulu JDK 20 is a distribution of the OpenJDK with long-term support, performance enhancements, and security updates.",
|
|
||||||
"link": "https://www.azul.com/downloads/zulu-community/",
|
|
||||||
"winget": "Azul.Zulu.20.JDK"
|
|
||||||
},
|
|
||||||
"WPFInstalljava21": {
|
"WPFInstalljava21": {
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"choco": "na",
|
"choco": "na",
|
||||||
@ -1663,6 +1655,14 @@
|
|||||||
"link": "https://www.plex.tv/your-media/",
|
"link": "https://www.plex.tv/your-media/",
|
||||||
"winget": "Plex.PlexMediaServer"
|
"winget": "Plex.PlexMediaServer"
|
||||||
},
|
},
|
||||||
|
"WPFInstallplexdesktop": {
|
||||||
|
"category": "Multimedia Tools",
|
||||||
|
"choco": "plex",
|
||||||
|
"content": "Plex Desktop",
|
||||||
|
"description": "Plex Desktop for Windows is the front end for Plex Media Server.",
|
||||||
|
"link": "https://www.plex.tv",
|
||||||
|
"winget": "Plex.Plex"
|
||||||
|
},
|
||||||
"WPFInstallPortmaster": {
|
"WPFInstallPortmaster": {
|
||||||
"category": "Pro Tools",
|
"category": "Pro Tools",
|
||||||
"choco": "portmaster",
|
"choco": "portmaster",
|
||||||
@ -2818,7 +2818,7 @@
|
|||||||
"WPFInstallForceAutoHDR": {
|
"WPFInstallForceAutoHDR": {
|
||||||
"category": "Utilities",
|
"category": "Utilities",
|
||||||
"choco": "na",
|
"choco": "na",
|
||||||
"content": "GUI That Forces Auto HDR In Unsupported Games",
|
"content": "ForceAutoHDR",
|
||||||
"description": "ForceAutoHDR simplifies the process of adding games to the AutoHDR list in the Windows Registry",
|
"description": "ForceAutoHDR simplifies the process of adding games to the AutoHDR list in the Windows Registry",
|
||||||
"link": "https://github.com/7gxycn08/ForceAutoHDR",
|
"link": "https://github.com/7gxycn08/ForceAutoHDR",
|
||||||
"winget": "ForceAutoHDR.7gxycn08"
|
"winget": "ForceAutoHDR.7gxycn08"
|
||||||
|
@ -1,227 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# This file was created with O&O ShutUp10++ V1.9.1436
|
|
||||||
# and can be imported onto another computer.
|
|
||||||
#
|
|
||||||
# Download the application at https://www.oo-software.com/shutup10
|
|
||||||
# You can then import the file from within the program.
|
|
||||||
#
|
|
||||||
# Alternatively you can import it automatically over a command line.
|
|
||||||
# Simply use the following parameter:
|
|
||||||
# OOSU10.exe <path to file>
|
|
||||||
#
|
|
||||||
# Selecting the Option /quiet ends the app right after the import and the
|
|
||||||
# user does not get any feedback about the import.
|
|
||||||
#
|
|
||||||
# We are always happy to answer any questions you may have!
|
|
||||||
# © 2015-2023 O&O Software GmbH, Berlin. All rights reserved.
|
|
||||||
# https://www.oo-software.com/
|
|
||||||
############################################################################
|
|
||||||
|
|
||||||
P001 -
|
|
||||||
P002 -
|
|
||||||
P003 -
|
|
||||||
P004 -
|
|
||||||
P005 -
|
|
||||||
P006 -
|
|
||||||
P008 -
|
|
||||||
P026 -
|
|
||||||
P027 -
|
|
||||||
P028 -
|
|
||||||
P064 -
|
|
||||||
P065 -
|
|
||||||
P066 -
|
|
||||||
P067 -
|
|
||||||
P070 -
|
|
||||||
P069 -
|
|
||||||
P009 -
|
|
||||||
P010 -
|
|
||||||
P015 -
|
|
||||||
P068 -
|
|
||||||
P016 -
|
|
||||||
A001 -
|
|
||||||
A002 -
|
|
||||||
A003 -
|
|
||||||
A004 -
|
|
||||||
A006 -
|
|
||||||
A005 -
|
|
||||||
P007 -
|
|
||||||
P036 -
|
|
||||||
P025 -
|
|
||||||
P033 -
|
|
||||||
P023 -
|
|
||||||
P056 -
|
|
||||||
P057 -
|
|
||||||
P012 -
|
|
||||||
P034 -
|
|
||||||
P013 -
|
|
||||||
P035 -
|
|
||||||
P062 -
|
|
||||||
P063 -
|
|
||||||
P081 -
|
|
||||||
P047 -
|
|
||||||
P019 -
|
|
||||||
P048 -
|
|
||||||
P049 -
|
|
||||||
P020 -
|
|
||||||
P037 -
|
|
||||||
P011 -
|
|
||||||
P038 -
|
|
||||||
P050 -
|
|
||||||
P051 -
|
|
||||||
P018 -
|
|
||||||
P039 -
|
|
||||||
P021 -
|
|
||||||
P040 -
|
|
||||||
P022 -
|
|
||||||
P041 -
|
|
||||||
P014 -
|
|
||||||
P042 -
|
|
||||||
P052 -
|
|
||||||
P053 -
|
|
||||||
P054 -
|
|
||||||
P055 -
|
|
||||||
P029 -
|
|
||||||
P043 -
|
|
||||||
P030 -
|
|
||||||
P044 -
|
|
||||||
P031 -
|
|
||||||
P045 -
|
|
||||||
P032 -
|
|
||||||
P046 -
|
|
||||||
P058 -
|
|
||||||
P059 -
|
|
||||||
P060 -
|
|
||||||
P061 -
|
|
||||||
P071 -
|
|
||||||
P072 -
|
|
||||||
P073 -
|
|
||||||
P074 -
|
|
||||||
P075 -
|
|
||||||
P076 -
|
|
||||||
P077 -
|
|
||||||
P078 -
|
|
||||||
P079 -
|
|
||||||
P080 -
|
|
||||||
P024 -
|
|
||||||
S001 -
|
|
||||||
S002 -
|
|
||||||
S003 -
|
|
||||||
S008 -
|
|
||||||
E101 -
|
|
||||||
E201 -
|
|
||||||
E115 -
|
|
||||||
E215 -
|
|
||||||
E118 -
|
|
||||||
E218 -
|
|
||||||
E107 -
|
|
||||||
E207 -
|
|
||||||
E111 -
|
|
||||||
E211 -
|
|
||||||
E112 -
|
|
||||||
E212 -
|
|
||||||
E109 -
|
|
||||||
E209 -
|
|
||||||
E121 -
|
|
||||||
E221 -
|
|
||||||
E103 -
|
|
||||||
E203 -
|
|
||||||
E123 -
|
|
||||||
E223 -
|
|
||||||
E124 -
|
|
||||||
E224 -
|
|
||||||
E128 -
|
|
||||||
E228 -
|
|
||||||
E119 -
|
|
||||||
E219 -
|
|
||||||
E120 -
|
|
||||||
E220 -
|
|
||||||
E122 -
|
|
||||||
E222 -
|
|
||||||
E125 -
|
|
||||||
E225 -
|
|
||||||
E126 -
|
|
||||||
E226 -
|
|
||||||
E106 -
|
|
||||||
E206 -
|
|
||||||
E127 -
|
|
||||||
E227 -
|
|
||||||
E001 -
|
|
||||||
E002 -
|
|
||||||
E003 -
|
|
||||||
E008 -
|
|
||||||
E007 -
|
|
||||||
E010 -
|
|
||||||
E011 +
|
|
||||||
E012 +
|
|
||||||
E009 -
|
|
||||||
E004 -
|
|
||||||
E005 -
|
|
||||||
E013 -
|
|
||||||
E014 -
|
|
||||||
E006 -
|
|
||||||
Y001 -
|
|
||||||
Y002 -
|
|
||||||
Y003 -
|
|
||||||
Y004 -
|
|
||||||
Y005 -
|
|
||||||
Y006 -
|
|
||||||
Y007 -
|
|
||||||
C012 -
|
|
||||||
C002 -
|
|
||||||
C013 -
|
|
||||||
C007 -
|
|
||||||
C008 -
|
|
||||||
C009 -
|
|
||||||
C010 -
|
|
||||||
C011 -
|
|
||||||
C014 -
|
|
||||||
C015 -
|
|
||||||
C101 -
|
|
||||||
C201 -
|
|
||||||
C102 -
|
|
||||||
L001 -
|
|
||||||
L003 -
|
|
||||||
L004 -
|
|
||||||
L005 -
|
|
||||||
U001 -
|
|
||||||
U004 -
|
|
||||||
U005 -
|
|
||||||
U006 -
|
|
||||||
U007 -
|
|
||||||
W001 -
|
|
||||||
W011 -
|
|
||||||
W004 -
|
|
||||||
W005 -
|
|
||||||
W010 -
|
|
||||||
W009 -
|
|
||||||
P017 -
|
|
||||||
W006 -
|
|
||||||
W008 -
|
|
||||||
M006 -
|
|
||||||
M011 -
|
|
||||||
M010 -
|
|
||||||
O003 -
|
|
||||||
O001 -
|
|
||||||
S012 -
|
|
||||||
S013 -
|
|
||||||
S014 -
|
|
||||||
K001 -
|
|
||||||
K002 -
|
|
||||||
K005 -
|
|
||||||
M003 -
|
|
||||||
M015 -
|
|
||||||
M016 -
|
|
||||||
M017 -
|
|
||||||
M018 -
|
|
||||||
M019 -
|
|
||||||
M020 -
|
|
||||||
M021 -
|
|
||||||
M022 -
|
|
||||||
M001 -
|
|
||||||
M004 -
|
|
||||||
M005 -
|
|
||||||
M024 -
|
|
||||||
M012 -
|
|
||||||
M013 -
|
|
||||||
M014 -
|
|
||||||
N001 -
|
|
@ -1,231 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# This file was created with O&O ShutUp10++ V1.9.1438
|
|
||||||
# and can be imported onto another computer.
|
|
||||||
#
|
|
||||||
# Download the application at https://www.oo-software.com/shutup10
|
|
||||||
# You can then import the file from within the program.
|
|
||||||
#
|
|
||||||
# Alternatively you can import it automatically over a command line.
|
|
||||||
# Simply use the following parameter:
|
|
||||||
# OOSU10.exe <path to file>
|
|
||||||
#
|
|
||||||
# Selecting the Option /quiet ends the app right after the import and the
|
|
||||||
# user does not get any feedback about the import.
|
|
||||||
#
|
|
||||||
# We are always happy to answer any questions you may have!
|
|
||||||
# © 2015-2024 O&O Software GmbH, Berlin. All rights reserved.
|
|
||||||
# https://www.oo-software.com/
|
|
||||||
############################################################################
|
|
||||||
|
|
||||||
P001 +
|
|
||||||
P002 +
|
|
||||||
P003 +
|
|
||||||
P004 +
|
|
||||||
P005 +
|
|
||||||
P006 +
|
|
||||||
P008 +
|
|
||||||
P026 +
|
|
||||||
P027 +
|
|
||||||
P028 +
|
|
||||||
P064 +
|
|
||||||
P065 +
|
|
||||||
P066 +
|
|
||||||
P067 +
|
|
||||||
P070 +
|
|
||||||
P069 +
|
|
||||||
P009 -
|
|
||||||
P010 +
|
|
||||||
P015 +
|
|
||||||
P068 -
|
|
||||||
P016 -
|
|
||||||
A001 +
|
|
||||||
A002 +
|
|
||||||
A003 +
|
|
||||||
A004 +
|
|
||||||
A006 +
|
|
||||||
A005 +
|
|
||||||
P007 +
|
|
||||||
P036 +
|
|
||||||
P025 +
|
|
||||||
P033 +
|
|
||||||
P023 +
|
|
||||||
P056 +
|
|
||||||
P057 -
|
|
||||||
P012 -
|
|
||||||
P034 -
|
|
||||||
P013 -
|
|
||||||
P035 -
|
|
||||||
P062 -
|
|
||||||
P063 -
|
|
||||||
P081 -
|
|
||||||
P047 -
|
|
||||||
P019 -
|
|
||||||
P048 -
|
|
||||||
P049 -
|
|
||||||
P020 -
|
|
||||||
P037 -
|
|
||||||
P011 -
|
|
||||||
P038 -
|
|
||||||
P050 -
|
|
||||||
P051 -
|
|
||||||
P018 -
|
|
||||||
P039 -
|
|
||||||
P021 -
|
|
||||||
P040 -
|
|
||||||
P022 -
|
|
||||||
P041 -
|
|
||||||
P014 -
|
|
||||||
P042 -
|
|
||||||
P052 -
|
|
||||||
P053 -
|
|
||||||
P054 -
|
|
||||||
P055 -
|
|
||||||
P029 -
|
|
||||||
P043 -
|
|
||||||
P030 -
|
|
||||||
P044 -
|
|
||||||
P031 -
|
|
||||||
P045 -
|
|
||||||
P032 -
|
|
||||||
P046 -
|
|
||||||
P058 -
|
|
||||||
P059 -
|
|
||||||
P060 -
|
|
||||||
P061 -
|
|
||||||
P071 -
|
|
||||||
P072 -
|
|
||||||
P073 -
|
|
||||||
P074 -
|
|
||||||
P075 -
|
|
||||||
P076 -
|
|
||||||
P077 -
|
|
||||||
P078 -
|
|
||||||
P079 -
|
|
||||||
P080 -
|
|
||||||
P024 +
|
|
||||||
S001 +
|
|
||||||
S002 +
|
|
||||||
S003 +
|
|
||||||
S008 -
|
|
||||||
E101 +
|
|
||||||
E201 +
|
|
||||||
E115 +
|
|
||||||
E215 +
|
|
||||||
E118 +
|
|
||||||
E218 +
|
|
||||||
E107 +
|
|
||||||
E207 +
|
|
||||||
E111 +
|
|
||||||
E211 +
|
|
||||||
E112 +
|
|
||||||
E212 +
|
|
||||||
E109 +
|
|
||||||
E209 +
|
|
||||||
E121 +
|
|
||||||
E221 +
|
|
||||||
E103 +
|
|
||||||
E203 +
|
|
||||||
E123 +
|
|
||||||
E223 +
|
|
||||||
E124 +
|
|
||||||
E224 +
|
|
||||||
E128 +
|
|
||||||
E228 +
|
|
||||||
E119 -
|
|
||||||
E219 -
|
|
||||||
E120 -
|
|
||||||
E220 -
|
|
||||||
E122 -
|
|
||||||
E222 -
|
|
||||||
E125 -
|
|
||||||
E225 -
|
|
||||||
E126 -
|
|
||||||
E226 -
|
|
||||||
E106 -
|
|
||||||
E206 -
|
|
||||||
E127 -
|
|
||||||
E227 -
|
|
||||||
E001 +
|
|
||||||
E002 +
|
|
||||||
E003 +
|
|
||||||
E008 +
|
|
||||||
E007 +
|
|
||||||
E010 +
|
|
||||||
E011 +
|
|
||||||
E012 +
|
|
||||||
E009 -
|
|
||||||
E004 -
|
|
||||||
E005 -
|
|
||||||
E013 -
|
|
||||||
E014 -
|
|
||||||
E006 -
|
|
||||||
Y001 +
|
|
||||||
Y002 +
|
|
||||||
Y003 +
|
|
||||||
Y004 +
|
|
||||||
Y005 +
|
|
||||||
Y006 +
|
|
||||||
Y007 +
|
|
||||||
C012 +
|
|
||||||
C002 +
|
|
||||||
C013 +
|
|
||||||
C007 +
|
|
||||||
C008 +
|
|
||||||
C009 +
|
|
||||||
C010 +
|
|
||||||
C011 +
|
|
||||||
C014 +
|
|
||||||
C015 +
|
|
||||||
C101 +
|
|
||||||
C201 +
|
|
||||||
C102 +
|
|
||||||
C103 +
|
|
||||||
C203 +
|
|
||||||
L001 +
|
|
||||||
L003 +
|
|
||||||
L004 -
|
|
||||||
L005 -
|
|
||||||
U001 +
|
|
||||||
U004 +
|
|
||||||
U005 +
|
|
||||||
U006 +
|
|
||||||
U007 +
|
|
||||||
W001 +
|
|
||||||
W011 +
|
|
||||||
W004 -
|
|
||||||
W005 -
|
|
||||||
W010 -
|
|
||||||
W009 -
|
|
||||||
P017 +
|
|
||||||
W006 -
|
|
||||||
W008 -
|
|
||||||
M006 +
|
|
||||||
M011 -
|
|
||||||
M010 +
|
|
||||||
O003 -
|
|
||||||
O001 -
|
|
||||||
S012 -
|
|
||||||
S013 -
|
|
||||||
S014 -
|
|
||||||
K001 +
|
|
||||||
K002 +
|
|
||||||
K005 +
|
|
||||||
M003 +
|
|
||||||
M015 +
|
|
||||||
M016 +
|
|
||||||
M017 -
|
|
||||||
M018 +
|
|
||||||
M019 -
|
|
||||||
M020 +
|
|
||||||
M021 +
|
|
||||||
M022 +
|
|
||||||
M001 +
|
|
||||||
M004 +
|
|
||||||
M005 +
|
|
||||||
M024 +
|
|
||||||
M026 +
|
|
||||||
M027 +
|
|
||||||
M012 -
|
|
||||||
M013 -
|
|
||||||
M014 -
|
|
||||||
N001 -
|
|
@ -5,7 +5,6 @@
|
|||||||
"WPFTweaksHiber",
|
"WPFTweaksHiber",
|
||||||
"WPFTweaksHome",
|
"WPFTweaksHome",
|
||||||
"WPFTweaksLoc",
|
"WPFTweaksLoc",
|
||||||
"WPFTweaksOO",
|
|
||||||
"WPFTweaksServices",
|
"WPFTweaksServices",
|
||||||
"WPFTweaksStorage",
|
"WPFTweaksStorage",
|
||||||
"WPFTweaksTele",
|
"WPFTweaksTele",
|
||||||
@ -18,7 +17,6 @@
|
|||||||
],
|
],
|
||||||
"Minimal": [
|
"Minimal": [
|
||||||
"WPFTweaksHome",
|
"WPFTweaksHome",
|
||||||
"WPFTweaksOO",
|
|
||||||
"WPFTweaksServices",
|
"WPFTweaksServices",
|
||||||
"WPFTweaksTele"
|
"WPFTweaksTele"
|
||||||
]
|
]
|
||||||
|
@ -1223,11 +1223,6 @@
|
|||||||
"StartupType": "Automatic",
|
"StartupType": "Automatic",
|
||||||
"OriginalType": "Automatic"
|
"OriginalType": "Automatic"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Name": "WwanSvc",
|
|
||||||
"StartupType": "Manual",
|
|
||||||
"OriginalType": "Manual"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Name": "XblAuthManager",
|
"Name": "XblAuthManager",
|
||||||
"StartupType": "Manual",
|
"StartupType": "Manual",
|
||||||
@ -2313,20 +2308,6 @@
|
|||||||
"Invoke-WPFTweakPS7 -action \"PS5\""
|
"Invoke-WPFTweakPS7 -action \"PS5\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"WPFTweaksOO": {
|
|
||||||
"Content": "Run OO Shutup",
|
|
||||||
"Description": "Runs OO Shutup and applies the recommended Tweaks. https://www.oo-software.com/en/shutup10",
|
|
||||||
"category": "Essential Tweaks",
|
|
||||||
"panel": "1",
|
|
||||||
"Order": "a009_",
|
|
||||||
"ToolTip": "Runs OO Shutup and applies the recommended Tweaks https://www.oo-software.com/en/shutup10",
|
|
||||||
"InvokeScript": [
|
|
||||||
"Invoke-WPFOOSU -action \"recommended\""
|
|
||||||
],
|
|
||||||
"UndoScript": [
|
|
||||||
"Invoke-WPFOOSU -action \"undo\""
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"WPFTweaksStorage": {
|
"WPFTweaksStorage": {
|
||||||
"Content": "Disable Storage Sense",
|
"Content": "Disable Storage Sense",
|
||||||
"Description": "Storage Sense deletes temp files automatically.",
|
"Description": "Storage Sense deletes temp files automatically.",
|
||||||
@ -3085,7 +3066,7 @@
|
|||||||
"Type": "Toggle"
|
"Type": "Toggle"
|
||||||
},
|
},
|
||||||
"WPFOOSUbutton": {
|
"WPFOOSUbutton": {
|
||||||
"Content": "Customize OO Shutup Tweaks",
|
"Content": "Run OO Shutup 10",
|
||||||
"category": "z__Advanced Tweaks - CAUTION",
|
"category": "z__Advanced Tweaks - CAUTION",
|
||||||
"panel": "1",
|
"panel": "1",
|
||||||
"Order": "a039_",
|
"Order": "a039_",
|
||||||
|
@ -26,7 +26,7 @@ function Invoke-WPFButton {
|
|||||||
"WPFclear" {Invoke-WPFPresets -preset $null -imported $true}
|
"WPFclear" {Invoke-WPFPresets -preset $null -imported $true}
|
||||||
"WPFclearWinget" {Invoke-WPFPresets -preset $null -imported $true -CheckBox "WPFInstall"}
|
"WPFclearWinget" {Invoke-WPFPresets -preset $null -imported $true -CheckBox "WPFInstall"}
|
||||||
"WPFtweaksbutton" {Invoke-WPFtweaksbutton}
|
"WPFtweaksbutton" {Invoke-WPFtweaksbutton}
|
||||||
"WPFOOSUbutton" {Invoke-WPFOOSU -action "customize"}
|
"WPFOOSUbutton" {Invoke-WPFOOSU}
|
||||||
"WPFAddUltPerf" {Invoke-WPFUltimatePerformance -State "Enabled"}
|
"WPFAddUltPerf" {Invoke-WPFUltimatePerformance -State "Enabled"}
|
||||||
"WPFRemoveUltPerf" {Invoke-WPFUltimatePerformance -State "Disabled"}
|
"WPFRemoveUltPerf" {Invoke-WPFUltimatePerformance -State "Disabled"}
|
||||||
"WPFundoall" {Invoke-WPFundoall}
|
"WPFundoall" {Invoke-WPFundoall}
|
||||||
|
@ -1,43 +1,20 @@
|
|||||||
function Invoke-WPFOOSU {
|
function Invoke-WPFOOSU {
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Downloads and runs OO Shutup 10 with or without config files
|
Downloads and runs OO Shutup 10
|
||||||
.PARAMETER action
|
|
||||||
Specifies how OOSU should be started
|
|
||||||
customize: Opens the OOSU GUI
|
|
||||||
recommended: Loads and applies the recommended OOSU policies silently
|
|
||||||
undo: Resets all policies to factory silently
|
|
||||||
#>
|
#>
|
||||||
|
try {
|
||||||
param (
|
$OOSU_filepath = "$ENV:temp\OOSU10.exe"
|
||||||
[ValidateSet("customize", "recommended", "undo")]
|
$Initial_ProgressPreference = $ProgressPreference
|
||||||
[string]$action
|
$ProgressPreference = "SilentlyContinue" # Disables the Progress Bar to drasticly speed up Invoke-WebRequest
|
||||||
)
|
Invoke-WebRequest -Uri "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -OutFile $OOSU_filepath
|
||||||
|
Write-Host "Starting OO Shutup 10 ..."
|
||||||
$OOSU_filepath = "$ENV:temp\OOSU10.exe"
|
Start-Process $OOSU_filepath
|
||||||
|
|
||||||
$Initial_ProgressPreference = $ProgressPreference
|
|
||||||
$ProgressPreference = "SilentlyContinue" # Disables the Progress Bar to drasticly speed up Invoke-WebRequest
|
|
||||||
Invoke-WebRequest -Uri "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -OutFile $OOSU_filepath
|
|
||||||
|
|
||||||
switch ($action)
|
|
||||||
{
|
|
||||||
"customize"{
|
|
||||||
Write-Host "Starting OO Shutup 10 ..."
|
|
||||||
Start-Process $OOSU_filepath
|
|
||||||
}
|
|
||||||
"recommended"{
|
|
||||||
$oosu_config = "$ENV:temp\ooshutup10_recommended.cfg"
|
|
||||||
$sync.configs.ooshutup10_recommended | Out-File -FilePath $oosu_config -Force
|
|
||||||
Write-Host "Applying recommended OO Shutup 10 Policies"
|
|
||||||
Start-Process $OOSU_filepath -ArgumentList "$oosu_config /quiet" -Wait
|
|
||||||
}
|
|
||||||
"undo"{
|
|
||||||
$oosu_config = "$ENV:temp\ooshutup10_factory.cfg"
|
|
||||||
$sync.configs.ooshutup10_factory | Out-File -FilePath $oosu_config -Force
|
|
||||||
Write-Host "Resetting all OO Shutup 10 Policies"
|
|
||||||
Start-Process $OOSU_filepath -ArgumentList "$oosu_config /quiet" -Wait
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
$ProgressPreference = $Initial_ProgressPreference
|
catch {
|
||||||
}
|
Write-Host "Error Downloading and Running OO Shutup 10" -ForegroundColor Red
|
||||||
|
}
|
||||||
|
finally {
|
||||||
|
$ProgressPreference = $Initial_ProgressPreference
|
||||||
|
}
|
||||||
|
}
|
@ -133,9 +133,17 @@ $sync.keys | ForEach-Object {
|
|||||||
|
|
||||||
# Load computer information in the background
|
# Load computer information in the background
|
||||||
Invoke-WPFRunspace -ScriptBlock {
|
Invoke-WPFRunspace -ScriptBlock {
|
||||||
$sync.ConfigLoaded = $False
|
try{
|
||||||
$sync.ComputerInfo = Get-ComputerInfo
|
$oldProgressPreference = $ProgressPreference
|
||||||
$sync.ConfigLoaded = $True
|
$ProgressPreference = "SilentlyContinue"
|
||||||
|
$sync.ConfigLoaded = $False
|
||||||
|
$sync.ComputerInfo = Get-ComputerInfo
|
||||||
|
$sync.ConfigLoaded = $True
|
||||||
|
}
|
||||||
|
finally{
|
||||||
|
$ProgressPreference = "Continue"
|
||||||
|
}
|
||||||
|
|
||||||
} | Out-Null
|
} | Out-Null
|
||||||
|
|
||||||
#===========================================================================
|
#===========================================================================
|
||||||
@ -145,9 +153,6 @@ Invoke-WPFRunspace -ScriptBlock {
|
|||||||
# Print the logo
|
# Print the logo
|
||||||
Invoke-WPFFormVariables
|
Invoke-WPFFormVariables
|
||||||
|
|
||||||
# Install Winget if not already present
|
|
||||||
Install-WinUtilWinget
|
|
||||||
|
|
||||||
# Set the titlebar
|
# Set the titlebar
|
||||||
$sync["Form"].title = $sync["Form"].title + " " + $sync.version
|
$sync["Form"].title = $sync["Form"].title + " " + $sync.version
|
||||||
# Set the commands that will run when the form is closed
|
# Set the commands that will run when the form is closed
|
||||||
|
60
winutil.ps1
60
winutil.ps1
@ -6365,14 +6365,6 @@ $sync.configs.applications = '{
|
|||||||
"link": "https://www.oracle.com/java/",
|
"link": "https://www.oracle.com/java/",
|
||||||
"winget": "EclipseAdoptium.Temurin.18.JRE"
|
"winget": "EclipseAdoptium.Temurin.18.JRE"
|
||||||
},
|
},
|
||||||
"WPFInstalljava20": {
|
|
||||||
"category": "Development",
|
|
||||||
"choco": "na",
|
|
||||||
"content": "Azul Zulu JDK 20",
|
|
||||||
"description": "Azul Zulu JDK 20 is a distribution of the OpenJDK with long-term support, performance enhancements, and security updates.",
|
|
||||||
"link": "https://www.azul.com/downloads/zulu-community/",
|
|
||||||
"winget": "Azul.Zulu.20.JDK"
|
|
||||||
},
|
|
||||||
"WPFInstalljava21": {
|
"WPFInstalljava21": {
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"choco": "na",
|
"choco": "na",
|
||||||
@ -7053,6 +7045,14 @@ $sync.configs.applications = '{
|
|||||||
"link": "https://www.plex.tv/your-media/",
|
"link": "https://www.plex.tv/your-media/",
|
||||||
"winget": "Plex.PlexMediaServer"
|
"winget": "Plex.PlexMediaServer"
|
||||||
},
|
},
|
||||||
|
"WPFInstallplexdesktop": {
|
||||||
|
"category": "Multimedia Tools",
|
||||||
|
"choco": "plex",
|
||||||
|
"content": "Plex Desktop",
|
||||||
|
"description": "Plex Desktop for Windows is the front end for Plex Media Server.",
|
||||||
|
"link": "https://www.plex.tv",
|
||||||
|
"winget": "Plex.Plex"
|
||||||
|
},
|
||||||
"WPFInstallPortmaster": {
|
"WPFInstallPortmaster": {
|
||||||
"category": "Pro Tools",
|
"category": "Pro Tools",
|
||||||
"choco": "portmaster",
|
"choco": "portmaster",
|
||||||
@ -8208,7 +8208,7 @@ $sync.configs.applications = '{
|
|||||||
"WPFInstallForceAutoHDR": {
|
"WPFInstallForceAutoHDR": {
|
||||||
"category": "Utilities",
|
"category": "Utilities",
|
||||||
"choco": "na",
|
"choco": "na",
|
||||||
"content": "GUI That Forces Auto HDR In Unsupported Games",
|
"content": "ForceAutoHDR",
|
||||||
"description": "ForceAutoHDR simplifies the process of adding games to the AutoHDR list in the Windows Registry",
|
"description": "ForceAutoHDR simplifies the process of adding games to the AutoHDR list in the Windows Registry",
|
||||||
"link": "https://github.com/7gxycn08/ForceAutoHDR",
|
"link": "https://github.com/7gxycn08/ForceAutoHDR",
|
||||||
"winget": "ForceAutoHDR.7gxycn08"
|
"winget": "ForceAutoHDR.7gxycn08"
|
||||||
@ -9869,11 +9869,6 @@ $sync.configs.tweaks = '{
|
|||||||
"StartupType": "Automatic",
|
"StartupType": "Automatic",
|
||||||
"OriginalType": "Automatic"
|
"OriginalType": "Automatic"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Name": "WwanSvc",
|
|
||||||
"StartupType": "Manual",
|
|
||||||
"OriginalType": "Manual"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Name": "XblAuthManager",
|
"Name": "XblAuthManager",
|
||||||
"StartupType": "Manual",
|
"StartupType": "Manual",
|
||||||
@ -13605,9 +13600,6 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
<CheckBox Name="WPFInstalljava19runtime" Content="Eclipse Temurin JRE 19" ToolTip="Eclipse Temurin JRE is the open source Java SE build based upon OpenJRE." Margin="0,0,2,0"/><TextBlock Name="WPFInstalljava19runtimeLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://adoptium.net/" />
|
<CheckBox Name="WPFInstalljava19runtime" Content="Eclipse Temurin JRE 19" ToolTip="Eclipse Temurin JRE is the open source Java SE build based upon OpenJRE." Margin="0,0,2,0"/><TextBlock Name="WPFInstalljava19runtimeLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://adoptium.net/" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Name="WPFInstalljava20" Content="Azul Zulu JDK 20" ToolTip="Azul Zulu JDK 20 is a distribution of the OpenJDK with long-term support, performance enhancements, and security updates." Margin="0,0,2,0"/><TextBlock Name="WPFInstalljava20Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.azul.com/downloads/zulu-community/" />
|
|
||||||
</StackPanel>
|
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<CheckBox Name="WPFInstalljava21" Content="Azul Zulu JDK 21" ToolTip="Azul Zulu JDK 21 is a distribution of the OpenJDK with long-term support, performance enhancements, and security updates." Margin="0,0,2,0"/><TextBlock Name="WPFInstalljava21Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.azul.com/downloads/zulu-community/" />
|
<CheckBox Name="WPFInstalljava21" Content="Azul Zulu JDK 21" ToolTip="Azul Zulu JDK 21 is a distribution of the OpenJDK with long-term support, performance enhancements, and security updates." Margin="0,0,2,0"/><TextBlock Name="WPFInstalljava21Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.azul.com/downloads/zulu-community/" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
@ -13637,15 +13629,15 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Name="WPFInstallpixi" Content="Pixi" ToolTip="Pixi is a fast software package manager built on top of the existing conda ecosystem. Spins up development environments quickly on Windows, macOS and Linux. Pixi supports Python, R, C/C++, Rust, Ruby, and many other languages." Margin="0,0,2,0"/><TextBlock Name="WPFInstallpixiLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://pixi.sh" />
|
<CheckBox Name="WPFInstallpixi" Content="Pixi" ToolTip="Pixi is a fast software package manager built on top of the existing conda ecosystem. Spins up development environments quickly on Windows, macOS and Linux. Pixi supports Python, R, C/C++, Rust, Ruby, and many other languages." Margin="0,0,2,0"/><TextBlock Name="WPFInstallpixiLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://pixi.sh" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<CheckBox Name="WPFInstallposh" Content="Oh My Posh (Prompt)" ToolTip="Oh My Posh is a cross-platform prompt theme engine for any shell." Margin="0,0,2,0"/><TextBlock Name="WPFInstallposhLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://ohmyposh.dev/" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Border>
|
</Border>
|
||||||
<Border Grid.Row="1" Grid.Column="1">
|
<Border Grid.Row="1" Grid.Column="1">
|
||||||
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True">
|
<StackPanel Background="{MainBackgroundColor}" SnapsToDevicePixels="True">
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Name="WPFInstallposh" Content="Oh My Posh (Prompt)" ToolTip="Oh My Posh is a cross-platform prompt theme engine for any shell." Margin="0,0,2,0"/><TextBlock Name="WPFInstallposhLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://ohmyposh.dev/" />
|
|
||||||
</StackPanel>
|
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<CheckBox Name="WPFInstallpostman" Content="Postman" ToolTip="Postman is a collaboration platform for API development that simplifies the process of developing APIs." Margin="0,0,2,0"/><TextBlock Name="WPFInstallpostmanLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.postman.com/" />
|
<CheckBox Name="WPFInstallpostman" Content="Postman" ToolTip="Postman is a collaboration platform for API development that simplifies the process of developing APIs." Margin="0,0,2,0"/><TextBlock Name="WPFInstallpostmanLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.postman.com/" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
@ -13852,15 +13844,15 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Name="WPFInstalldotnet3" Content=".NET Desktop Runtime 3.1" ToolTip=".NET Desktop Runtime 3.1 is a runtime environment required for running applications developed with .NET Core 3.1." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldotnet3Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dotnet.microsoft.com/download/dotnet/3.1" />
|
<CheckBox Name="WPFInstalldotnet3" Content=".NET Desktop Runtime 3.1" ToolTip=".NET Desktop Runtime 3.1 is a runtime environment required for running applications developed with .NET Core 3.1." Margin="0,0,2,0"/><TextBlock Name="WPFInstalldotnet3Link" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://dotnet.microsoft.com/download/dotnet/3.1" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
<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" />
|
||||||
|
</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="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 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" />
|
<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 Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
@ -14033,6 +14025,9 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
<CheckBox Name="WPFInstallplex" Content="Plex Media Server" ToolTip="Plex Media Server is a media server software that allows you to organize and stream your media library. It supports various media formats and offers a wide range of features." Margin="0,0,2,0"/><TextBlock Name="WPFInstallplexLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.plex.tv/your-media/" />
|
<CheckBox Name="WPFInstallplex" Content="Plex Media Server" ToolTip="Plex Media Server is a media server software that allows you to organize and stream your media library. It supports various media formats and offers a wide range of features." Margin="0,0,2,0"/><TextBlock Name="WPFInstallplexLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.plex.tv/your-media/" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<CheckBox Name="WPFInstallplexdesktop" Content="Plex Desktop" ToolTip="Plex Desktop for Windows is the front end for Plex Media Server." Margin="0,0,2,0"/><TextBlock Name="WPFInstallplexdesktopLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://www.plex.tv" />
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Name="WPFInstallqgis" Content="QGIS" ToolTip="QGIS (Quantum GIS) is an open-source Geographic Information System (GIS) software that enables users to create, edit, visualize, analyze, and publish geospatial information on Windows, Mac, and Linux platforms." Margin="0,0,2,0"/><TextBlock Name="WPFInstallqgisLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://qgis.org/en/site/" />
|
<CheckBox Name="WPFInstallqgis" Content="QGIS" ToolTip="QGIS (Quantum GIS) is an open-source Geographic Information System (GIS) software that enables users to create, edit, visualize, analyze, and publish geospatial information on Windows, Mac, and Linux platforms." Margin="0,0,2,0"/><TextBlock Name="WPFInstallqgisLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://qgis.org/en/site/" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
@ -14244,7 +14239,7 @@ $inputXML = '<Window x:Class="WinUtility.MainWindow"
|
|||||||
<CheckBox Name="WPFInstallflux" Content="F.lux" ToolTip="f.lux adjusts the color temperature of your screen to reduce eye strain during nighttime use." Margin="0,0,2,0"/><TextBlock Name="WPFInstallfluxLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://justgetflux.com/" />
|
<CheckBox Name="WPFInstallflux" Content="F.lux" ToolTip="f.lux adjusts the color temperature of your screen to reduce eye strain during nighttime use." Margin="0,0,2,0"/><TextBlock Name="WPFInstallfluxLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://justgetflux.com/" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Name="WPFInstallForceAutoHDR" Content="GUI That Forces Auto HDR In Unsupported Games" ToolTip="ForceAutoHDR simplifies the process of adding games to the AutoHDR list in the Windows Registry" Margin="0,0,2,0"/><TextBlock Name="WPFInstallForceAutoHDRLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://github.com/7gxycn08/ForceAutoHDR" />
|
<CheckBox Name="WPFInstallForceAutoHDR" Content="ForceAutoHDR" ToolTip="ForceAutoHDR simplifies the process of adding games to the AutoHDR list in the Windows Registry" Margin="0,0,2,0"/><TextBlock Name="WPFInstallForceAutoHDRLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://github.com/7gxycn08/ForceAutoHDR" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<CheckBox Name="WPFInstallFreeFileSync" Content="FreeFileSync" ToolTip="Synchronize Files and Folders" Margin="0,0,2,0"/><TextBlock Name="WPFInstallFreeFileSyncLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://freefilesync.org" />
|
<CheckBox Name="WPFInstallFreeFileSync" Content="FreeFileSync" ToolTip="Synchronize Files and Folders" Margin="0,0,2,0"/><TextBlock Name="WPFInstallFreeFileSyncLink" Style="{StaticResource HoverTextBlockStyle}" Text="(?)" ToolTip="https://freefilesync.org" />
|
||||||
@ -15062,9 +15057,17 @@ $sync.keys | ForEach-Object {
|
|||||||
|
|
||||||
# Load computer information in the background
|
# Load computer information in the background
|
||||||
Invoke-WPFRunspace -ScriptBlock {
|
Invoke-WPFRunspace -ScriptBlock {
|
||||||
$sync.ConfigLoaded = $False
|
try{
|
||||||
$sync.ComputerInfo = Get-ComputerInfo
|
$oldProgressPreference = $ProgressPreference
|
||||||
$sync.ConfigLoaded = $True
|
$ProgressPreference = "SilentlyContinue"
|
||||||
|
$sync.ConfigLoaded = $False
|
||||||
|
$sync.ComputerInfo = Get-ComputerInfo
|
||||||
|
$sync.ConfigLoaded = $True
|
||||||
|
}
|
||||||
|
finally{
|
||||||
|
$ProgressPreference = "Continue"
|
||||||
|
}
|
||||||
|
|
||||||
} | Out-Null
|
} | Out-Null
|
||||||
|
|
||||||
#===========================================================================
|
#===========================================================================
|
||||||
@ -15074,9 +15077,6 @@ Invoke-WPFRunspace -ScriptBlock {
|
|||||||
# Print the logo
|
# Print the logo
|
||||||
Invoke-WPFFormVariables
|
Invoke-WPFFormVariables
|
||||||
|
|
||||||
# Install Winget if not already present
|
|
||||||
Install-WinUtilWinget
|
|
||||||
|
|
||||||
# Set the titlebar
|
# Set the titlebar
|
||||||
$sync["Form"].title = $sync["Form"].title + " " + $sync.version
|
$sync["Form"].title = $sync["Form"].title + " " + $sync.version
|
||||||
# Set the commands that will run when the form is closed
|
# Set the commands that will run when the form is closed
|
||||||
|
Reference in New Issue
Block a user