From 956326b1ff28cb04fee894eb7dabee1a1db14fbe Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:33:43 +0100 Subject: [PATCH] refactor: make tab 4 spaces on all user reg scripts --- src/playbook/Executables/FILEASSOC.cmd | 2 +- src/playbook/Executables/ONED.cmd | 2 +- src/playbook/Executables/PFP.cmd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/playbook/Executables/FILEASSOC.cmd b/src/playbook/Executables/FILEASSOC.cmd index 6c7fce7407..20e1bdfc1a 100644 --- a/src/playbook/Executables/FILEASSOC.cmd +++ b/src/playbook/Executables/FILEASSOC.cmd @@ -45,5 +45,5 @@ for /f "usebackq tokens=2 delims=\" %%a in (`reg query HKU ^| findstr /r /x /c:" reg query "HKU\AME_UserHive_Default" | findstr /c:"Volatile Environment" /c:"AME_UserHive_" > nul && ( echo Setting associations for "%%a"... powershell -NoP -EP Unrestricted -File assoc.ps1 "Placeholder" "%%a" %associations% - ) + ) ) \ No newline at end of file diff --git a/src/playbook/Executables/ONED.cmd b/src/playbook/Executables/ONED.cmd index f041a78519..b3ac7ab942 100644 --- a/src/playbook/Executables/ONED.cmd +++ b/src/playbook/Executables/ONED.cmd @@ -13,7 +13,7 @@ for /f "usebackq tokens=2 delims=\" %%a in (`reg query HKU ^| findstr /r /x /c:" reg query "HKU\AME_UserHive_Default" | findstr /c:"Volatile Environment" /c:"AME_UserHive_" > nul && ( echo Making changes for "%%a"... call :USERREG "%%a" - ) + ) ) rmdir /q /s "C:\ProgramData\Microsoft OneDrive" > nul 2>&1 diff --git a/src/playbook/Executables/PFP.cmd b/src/playbook/Executables/PFP.cmd index 2c9a1f3880..216eef9902 100644 --- a/src/playbook/Executables/PFP.cmd +++ b/src/playbook/Executables/PFP.cmd @@ -6,7 +6,7 @@ for /f "usebackq tokens=2 delims=\" %%a in (`reg query HKU ^| findstr /r /x /c:" reg query "HKU\AME_UserHive_Default" | findstr /c:"Volatile Environment" /c:"AME_UserHive_" > nul && ( echo Setting profile picture for "%%a"... call :SETPFP "%%a" - ) + ) ) exit /b