diff --git a/docs/content/dev/features/Fixes/Autologin.md b/docs/content/dev/features/Fixes/Autologin.md index 6462acd2..36cbb016 100644 --- a/docs/content/dev/features/Fixes/Autologin.md +++ b/docs/content/dev/features/Fixes/Autologin.md @@ -5,7 +5,7 @@ description: "" ```powershell {filename="functions/public/Invoke-WPFPanelAutologin.ps1",linenos=inline,linenostart=1} function Invoke-WPFPanelAutologin { - Invoke-WebRequest -Uri https://live.sysinternals.com/Autologon.exe -OutFile "$Env:Temp\autologin.exe" - Start-Process -FilePath "$Env:Temp\autologin.exe" -ArgumentList /accepteula + Invoke-WebRequest -Uri https://live.sysinternals.com/Autologon.exe -OutFile "$winutildir\autologin.exe" + Start-Process -FilePath "$winutildir\autologin.exe" -ArgumentList /accepteula } ``` diff --git a/docs/content/dev/tweaks/z--Advanced-Tweaks---CAUTION/OOSUbutton.md b/docs/content/dev/tweaks/z--Advanced-Tweaks---CAUTION/OOSUbutton.md index a610b4a5..80940129 100644 --- a/docs/content/dev/tweaks/z--Advanced-Tweaks---CAUTION/OOSUbutton.md +++ b/docs/content/dev/tweaks/z--Advanced-Tweaks---CAUTION/OOSUbutton.md @@ -8,8 +8,8 @@ function Invoke-WPFOOSU { try { $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe -OutFile "$Env:Temp\ooshutup10.exe" - Start-Process -FilePath "$Env:Temp\ooshutup10.exe" + Invoke-WebRequest -Uri https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe -OutFile "$winutildir\ooshutup10.exe" + Start-Process -FilePath "$winutildir\ooshutup10.exe" $ProgressPreference = 'Continue' } catch {