From ae23c913748a91bdcb0cedc4e3ed261c11c72394 Mon Sep 17 00:00:00 2001 From: camoy Date: Sat, 28 Dec 2024 19:46:17 -0800 Subject: [PATCH] Linter recommendations --- scripts/ps/sweetcade.ps1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/ps/sweetcade.ps1 b/scripts/ps/sweetcade.ps1 index da2ff5e..2590e9f 100644 --- a/scripts/ps/sweetcade.ps1 +++ b/scripts/ps/sweetcade.ps1 @@ -48,19 +48,19 @@ Get-Content -Path .\license.txt | Out-Host -Paging Write-Host "---Start Network Check---" Get-Content "C:\sc\sweetcade\scripts\ps\netcheck.ps1" | Invoke-Expression Write-Host "---Start System Check---" - Invoke-Expression (start powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\syscheck.ps1")) + Invoke-Expression (Start-Process powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\syscheck.ps1")) Write-Host "---Create Restore Point---" - Invoke-Expression (start powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\makerespt.ps1")) + Invoke-Expression (Start-Process powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\makerespt.ps1")) Write-Host "---Create Extra Directories---" - Invoke-Expression (start powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\makedirs.ps1")) + Invoke-Expression (Start-Process powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\makedirs.ps1")) Write-Host "---Download Supporting Tools---" - Invoke-Expression (start powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\download.ps1")) + Invoke-Expression (Start-Process powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\download.ps1")) Write-Host "---Install GPU Graphics Driver---" - Invoke-Expression (start powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\gpudriver.ps1")) + Invoke-Expression (Start-Process powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\gpudriver.ps1")) Write-Host "---Configure Display Resolution---" - Invoke-Expression (start powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\display.ps1")) + Invoke-Expression (Start-Process powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\display.ps1")) Write-Host "---Configure Input Control Board---" - Invoke-Expression (start powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\controls.ps1")) + Invoke-Expression (Start-Process powershell ((Split-Path $MyInvocation.InvocationName) + "C:\sc\scripts\ps\controls.ps1")) } } \ No newline at end of file