From 636d3a59a858b29292919d3807bd9fb6a9adebc3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 16 Aug 2024 16:10:09 +0200 Subject: [PATCH] Fix typos --- scripts/Windows/OS/Setup.ps1 | 2 +- scripts/Windows/Scripts/PowerManagement.ps1 | 2 +- winiso/deploy.fish | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Windows/OS/Setup.ps1 b/scripts/Windows/OS/Setup.ps1 index a2d2f3a2..7b264d68 100644 --- a/scripts/Windows/OS/Setup.ps1 +++ b/scripts/Windows/OS/Setup.ps1 @@ -230,7 +230,7 @@ function Start-Setup { Add-StartupCommand ` -Script ( "powershell -Command " + - ($env:DEBUG ? "`$env:DEBUG = $([int]$env:DEBUG)" : "") + + ($env:DEBUG ? "`$env:DEBUG = $([int]$env:DEBUG);" : "") + "`$env:PWSH_PATH = $(Get-PathInjection $env:PWSH_PATH);" + "`$env:INSTALLER_SCRIPT = $(Get-ScriptPathInjection $env:SETUP_SCRIPT_NAME);" + "`$env:CONFIG_MODULE = $(Get-ScriptPathInjection $env:CONFIG_MODULE);" + diff --git a/scripts/Windows/Scripts/PowerManagement.ps1 b/scripts/Windows/Scripts/PowerManagement.ps1 index ef48c1f1..3c9b332a 100644 --- a/scripts/Windows/Scripts/PowerManagement.ps1 +++ b/scripts/Windows/Scripts/PowerManagement.ps1 @@ -53,7 +53,7 @@ $null = New-Module { function Get-StartupArguments { "-Command " + ($env:PWSH_PATH ? "`$env:PWSH_PATH = $(ConvertTo-Injection $env:PWSH_PATH);" : "") + - ($env:DEBUG ? "`$env:DEBUG = $([int]$env:DEBUG)" : "") + + ($env:DEBUG ? "`$env:DEBUG = $([int]$env:DEBUG);" : "") + "`$env:INSTALLER_SCRIPT = $(ConvertTo-Injection (Resolve-Path $env:INSTALLER_SCRIPT));" + "`$env:CONFIG_MODULE = $(ConvertTo-Injection (Resolve-Path $env:CONFIG_MODULE));" + "& `$env:INSTALLER_SCRIPT;"; diff --git a/winiso/deploy.fish b/winiso/deploy.fish index d80e5425..c3ceab6f 100755 --- a/winiso/deploy.fish +++ b/winiso/deploy.fish @@ -136,7 +136,7 @@ begin "set SETUP_LABEL=$setupLabel" \ ( begin - if [ -n "$_flag_debug"] + if [ -n "$_flag_debug" ] echo "set DEBUG=1" end end