diff --git a/MainWindow.xaml b/MainWindow.xaml
index 2361970e..067408a4 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -58,12 +58,12 @@
+
-
@@ -107,7 +107,7 @@
-
+
@@ -122,6 +122,7 @@
+
diff --git a/applications.json b/applications.json
index e3a2d1e0..02752368 100644
--- a/applications.json
+++ b/applications.json
@@ -6,6 +6,9 @@
"Installadvancedip": {
"winget": "Famatech.AdvancedIPScanner"
},
+ "Installalacritty": {
+ "winget": "Alacritty.Alacritty"
+ },
"Installanydesk": {
"winget": "AnyDeskSoftwareGmbH.AnyDesk"
},
@@ -153,6 +156,9 @@
"Installrufus": {
"winget": "Rufus.Rufus"
},
+ "Installrustlang": {
+ "winget": "Rustlang.Rust.MSVC"
+ },
"Installsevenzip": {
"winget": "7zip.7zip"
},
diff --git a/winutil-test.ps1 b/winutil-test.ps1
index a8f5209c..63c64483 100644
--- a/winutil-test.ps1
+++ b/winutil-test.ps1
@@ -5,6 +5,11 @@
Version 0.0.1
#>
+if ($IsLinux){ # PowerShell on Linux has that read-only bool variable set to $true
+ Write-Host "This utility is exclusively designed for Windows"
+ return
+}
+
#region Variables
$global:sync = [Hashtable]::Synchronized(@{})
@@ -1321,4 +1326,4 @@ If($env:args){
}
# Create Form
-$global:sync["Form"].ShowDialog() | out-null
\ No newline at end of file
+$global:sync["Form"].ShowDialog() | out-null
diff --git a/winutil.ps1 b/winutil.ps1
index 20a65372..1684a58f 100644
--- a/winutil.ps1
+++ b/winutil.ps1
@@ -208,6 +208,10 @@ $WPFinstall.Add_Click({
$wingetinstall.Add("Python.Python.3")
$WPFInstallpython3.IsChecked = $false
}
+ If ( $WPFInstallrustlang.IsChecked -eq $true ) {
+ $wingetinstall.Add("Rustlang.Rust.MSVC")
+ $WPFInstallrustlang.IsChecked = $false
+ }
If ( $WPFInstallsevenzip.IsChecked -eq $true ) {
$wingetinstall.Add("7zip.7zip")
$WPFInstallsevenzip.IsChecked = $false
@@ -228,6 +232,10 @@ $WPFinstall.Add_Click({
$wingetinstall.Add("Microsoft.WindowsTerminal")
$WPFInstallterminal.IsChecked = $false
}
+ If ( $WPFInstallalacritty.IsChecked -eq $true ) {
+ $wingetinstall.Add("Alacritty.Alacritty")
+ $WPFInstallalacritty.IsChecked = $false
+ }
If ( $WPFInstallttaskbar.IsChecked -eq $true ) {
$wingetinstall.Add("9PF4KZ2VN4W9")
$WPFInstallttaskbar.IsChecked = $false
@@ -543,6 +551,7 @@ $WPFdesktop.Add_Click({
$WPFMiscTweaksNum.IsChecked = $true
$WPFMiscTweaksLapPower.IsChecked = $false
$WPFMiscTweaksLapNum.IsChecked = $false
+ $WPFMiscTweaksDisableUAC.IsChecked = $true
})
$WPFlaptop.Add_Click({
@@ -563,6 +572,7 @@ $WPFlaptop.Add_Click({
$WPFMiscTweaksLapNum.IsChecked = $true
$WPFMiscTweaksPower.IsChecked = $false
$WPFMiscTweaksNum.IsChecked = $false
+ $WPFMiscTweaksDisableUAC.IsChecked = $true
})
$WPFminimal.Add_Click({
@@ -583,6 +593,7 @@ $WPFminimal.Add_Click({
$WPFMiscTweaksNum.IsChecked = $false
$WPFMiscTweaksLapPower.IsChecked = $false
$WPFMiscTweaksLapNum.IsChecked = $false
+ $WPFMiscTweaksDisableUAC.IsChecked = $true
})
$WPFtweaksbutton.Add_Click({
@@ -636,6 +647,17 @@ $WPFtweaksbutton.Add_Click({
./OOSU10.exe ooshutup10.cfg /quiet
$WPFEssTweaksOO.IsChecked = $false
}
+ If ( $WPFMiscTweaksDisableUAC.IsChecked -eq $true) {
+ Write-Host "Disabling UAC..."
+ # This below is the pussy mode which can break some apps. Please. Leave this on 1.
+ # below i will show a way to do it without breaking some Apps that check UAC. U need to be admin tho.
+ # Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Type DWord -Value 0
+ Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Type DWord -Value 0 # Default is 5
+ # This will set the GPO Entry in Security so that Admin users elevate without any prompt while normal users still elevate and u can even leave it ennabled.
+ # It will just not bother u anymore
+
+ $WPFMiscTweaksDisableUAC.IsChecked = $false
+ }
If ( $WPFEssTweaksRP.IsChecked -eq $true ) {
Write-Host "Creating Restore Point in case something bad happens"
Enable-ComputerRestore -Drive "$env:SystemDrive"
@@ -961,7 +983,7 @@ $WPFtweaksbutton.Add_Click({
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" -Name "VisualFXSetting" -Type DWord -Value 3
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\DWM" -Name "EnableAeroPeek" -Type DWord -Value 0
Write-Host "Adjusted visual effects for performance"
- $WPFMiscTweaksDisplay.IsChecked = false
+ $WPFMiscTweaksDisplay.IsChecked = $false
}
If ( $WPFEssTweaksDeBloat.IsChecked -eq $true ) {