From 90d50dff03c6d69e155c78931e4fcc727930790c Mon Sep 17 00:00:00 2001 From: xatanu <124156556+xatanu@users.noreply.github.com> Date: Wed, 27 Sep 2023 13:27:14 +0200 Subject: [PATCH] Replace absolute paths with environment variables The variables were there before but in a recent commit they were replaced by absolute paths --- src/playbook/Configuration/tweaks/qol/config-powershell.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/playbook/Configuration/tweaks/qol/config-powershell.yml b/src/playbook/Configuration/tweaks/qol/config-powershell.yml index a7a9e42cbe..bea615a5ba 100644 --- a/src/playbook/Configuration/tweaks/qol/config-powershell.yml +++ b/src/playbook/Configuration/tweaks/qol/config-powershell.yml @@ -11,12 +11,12 @@ actions: - !registryValue: path: 'HKCR\Applications\powershell.exe\shell\open\command' value: '' - data: '"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -EP Unrestricted -File "%1" %*' + data: '"%windir%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -EP Unrestricted -File "%1" %*' type: REG_SZ - !registryValue: path: 'HKCR\ps1_auto_file\shell\open\command' value: '' - data: '"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -EP Unrestricted -File "%1" %*' + data: '"%windir%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -EP Unrestricted -File "%1" %*' type: REG_SZ - !registryValue: path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1\OpenWithList'