diff --git a/scripts/disable-searchui.ps1 b/scripts/disable-searchui.ps1 index 1273dbc..8f545f7 100644 --- a/scripts/disable-searchui.ps1 +++ b/scripts/disable-searchui.ps1 @@ -6,11 +6,11 @@ taskkill.exe /F /IM "SearchUI.exe" # try to rename folder while SearchUI is restarting foreach ($_ in (0..15)) { - if (Test-Path "$env:windir\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy") { - mv "$env:windir\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" ` - "$env:windir\SystemApps\_Microsoft.Windows.Cortana_cw5n1h2txyewy" ` - -ErrorAction SilentlyContinue - } else { - break - } + if (Test-Path "$env:windir\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy") { + mv "$env:windir\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" ` + "$env:windir\SystemApps\_Microsoft.Windows.Cortana_cw5n1h2txyewy" ` + -ErrorAction SilentlyContinue + } else { + break + } } diff --git a/scripts/optimize-input.ps1 b/scripts/optimize-input.ps1 index 357c511..a209a18 100644 --- a/scripts/optimize-input.ps1 +++ b/scripts/optimize-input.ps1 @@ -9,17 +9,17 @@ Import-Registry(@" [HKEY_CURRENT_USER\Control Panel\Mouse] "MouseSensitivity"="10" "SmoothMouseXCurve"=hex:\ - 00,00,00,00,00,00,00,00,\ - C0,CC,0C,00,00,00,00,00,\ - 80,99,19,00,00,00,00,00,\ - 40,66,26,00,00,00,00,00,\ - 00,33,33,00,00,00,00,00 + 00,00,00,00,00,00,00,00,\ + C0,CC,0C,00,00,00,00,00,\ + 80,99,19,00,00,00,00,00,\ + 40,66,26,00,00,00,00,00,\ + 00,33,33,00,00,00,00,00 "SmoothMouseYCurve"=hex:\ - 00,00,00,00,00,00,00,00,\ - 00,00,38,00,00,00,00,00,\ - 00,00,70,00,00,00,00,00,\ - 00,00,A8,00,00,00,00,00,\ - 00,00,E0,00,00,00,00,00 + 00,00,00,00,00,00,00,00,\ + 00,00,38,00,00,00,00,00,\ + 00,00,70,00,00,00,00,00,\ + 00,00,A8,00,00,00,00,00,\ + 00,00,E0,00,00,00,00,00 [HKEY_USERS\.DEFAULT\Control Panel\Mouse] "MouseSpeed"="0"