From 808e4fcfdc5f02006da1c129ae28f929725f9e43 Mon Sep 17 00:00:00 2001 From: Xyueta Date: Sat, 7 Oct 2023 21:17:09 +0200 Subject: [PATCH] feat: remove redundant scripts --- .../Start Menu/Install Open-Shell.cmd | 2 +- .../Appearance/Boot Messages.cmd | 2 +- .../Appearance/New Boot Menu.cmd | 2 +- .../Appearance/Spinning Animation.cmd | 2 +- .../Always goto Advanced Boot Options.cmd | 2 +- .../Behavior/Automatic Repair.cmd | 2 +- .../Editing Kernel Parameters on Startup.cmd | 2 +- .../Behavior/Highest Mode.cmd | 2 +- .../Event Log.cmd | 37 ------------------- .../Task Scheduler.cmd | 37 ------------------- 10 files changed, 8 insertions(+), 82 deletions(-) delete mode 100644 src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Event Log and Task Scheduler/Event Log.cmd delete mode 100644 src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Event Log and Task Scheduler/Task Scheduler.cmd diff --git a/src/playbook/Executables/AtlasDesktop/3. Configuration/Start Menu/Install Open-Shell.cmd b/src/playbook/Executables/AtlasDesktop/3. Configuration/Start Menu/Install Open-Shell.cmd index f38b36029b..a7d3b046bf 100644 --- a/src/playbook/Executables/AtlasDesktop/3. Configuration/Start Menu/Install Open-Shell.cmd +++ b/src/playbook/Executables/AtlasDesktop/3. Configuration/Start Menu/Install Open-Shell.cmd @@ -41,7 +41,7 @@ echo] :: Download and install Open-Shell winget install -e --id Open-Shell.Open-Shell-Menu -h --accept-source-agreements --accept-package-agreements --force > nul if !errorlevel! NEQ 0 ( - echo Error: Open-Shell installation failed. + echo eror: Open-Shell installation failed. pause exit /b 1 ) diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/Boot Messages.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/Boot Messages.cmd index 3f124163ae..6273832d66 100644 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/Boot Messages.cmd +++ b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/Boot Messages.cmd @@ -6,7 +6,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( exit /b ) -:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings/ +:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings echo This will disable boot messages during boot, such as "Please wait", "Updating registry - 10%" and so on. echo Generally not recommended as they only show when they need to tell you something. diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/New Boot Menu.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/New Boot Menu.cmd index e6d442c6a8..1a8742421e 100644 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/New Boot Menu.cmd +++ b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/New Boot Menu.cmd @@ -6,7 +6,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( exit /b ) -:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings/ +:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings echo This tweak allows you to disable/enable the new boot menu. echo However, it is slower and more annoying than the legacy Windows 7 boot menu. diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/Spinning Animation.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/Spinning Animation.cmd index dd9f48f29b..836bde51e7 100644 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/Spinning Animation.cmd +++ b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Appearance/Spinning Animation.cmd @@ -5,7 +5,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( call RunAsTI.cmd "%~f0" %* exit /b ) -:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings/ +:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings echo What would you like to do? echo [1] Disable the spinning animation diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Always goto Advanced Boot Options.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Always goto Advanced Boot Options.cmd index c4aaea9963..7396f5fe54 100644 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Always goto Advanced Boot Options.cmd +++ b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Always goto Advanced Boot Options.cmd @@ -6,7 +6,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( exit /b ) -:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings/ +:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings echo This tweak enables the advanced boot options to be shown on each boot. echo] diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Automatic Repair.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Automatic Repair.cmd index 290c3216c5..42d74c72da 100644 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Automatic Repair.cmd +++ b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Automatic Repair.cmd @@ -6,7 +6,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( exit /b ) -:: https://winaero.com/how-to-disable-automatic-repair-at-windows-10-boot/ +:: https://winaero.com/how-to-disable-automatic-repair-at-windows-10-boot echo Automatic repair mostly does not do anything to help, and could cause issues. echo] diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Editing Kernel Parameters on Startup.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Editing Kernel Parameters on Startup.cmd index 517322d1d8..42e3fc3ad8 100644 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Editing Kernel Parameters on Startup.cmd +++ b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Editing Kernel Parameters on Startup.cmd @@ -6,7 +6,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( exit /b ) -:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings/ +:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings echo You can specify additional boot options for the Windows kernel at boot time. echo] diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Highest Mode.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Highest Mode.cmd index 9837a0b15c..97e8c01861 100644 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Highest Mode.cmd +++ b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Boot Configuration/Behavior/Highest Mode.cmd @@ -6,7 +6,7 @@ whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( exit /b ) -:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings/ +:: https://winaero.com/how-to-disable-windows-8-boot-logo-spining-icon-and-some-other-hidden-settings echo Enables boot applications to use the highest graphical mode exposed by the firmware. echo Makes safe mode and booting use the highest resolution. diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Event Log and Task Scheduler/Event Log.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Event Log and Task Scheduler/Event Log.cmd deleted file mode 100644 index 7a3deb03f8..0000000000 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Event Log and Task Scheduler/Event Log.cmd +++ /dev/null @@ -1,37 +0,0 @@ -@echo off -setlocal EnableDelayedExpansion - -whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( - call RunAsTI.cmd "%~f0" %* - exit /b -) - -echo Disabling Event log will break some features: -echo - CapFrameX -echo - Network menu/icon -echo If you experience random issues, please enable Event Log again. -echo] -echo [1] Disable Event log -echo [2] Enable Event log (default) -echo] -choice /c 12 /n /m "Type 1 or 2: " -if !errorlevel! == 1 ( - goto disable -) else ( - goto enable -) - -:disable -echo] -call setSvc.cmd EventLog 4 -goto finish - -:enable -echo] -call setSvc.cmd EventLog 2 -goto finish - -:finish -echo Finished, please reboot your device for changes to apply. -pause -exit /b diff --git a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Event Log and Task Scheduler/Task Scheduler.cmd b/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Event Log and Task Scheduler/Task Scheduler.cmd deleted file mode 100644 index 63543dcc69..0000000000 --- a/src/playbook/Executables/AtlasDesktop/6. Advanced Configuration/Event Log and Task Scheduler/Task Scheduler.cmd +++ /dev/null @@ -1,37 +0,0 @@ -@echo off -setlocal EnableDelayedExpansion - -whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( - call RunAsTI.cmd "%~f0" %* - exit /b -) - -echo Disabling Task Scheduler will break some features: -echo - MSI Afterburner startup/updates -echo - UWP typing (e.g. Search bar) -echo If you experience random issues, please enable Task Scheduler again. -echo] -echo [1] Disable Task Scheduler -echo [2] Enable Task Scheduler (default) -echo] -choice /c 12 /n /m "Type 1 or 2: " -if !errorlevel! == 1 ( - goto disable -) else ( - goto enable -) - -:disable -echo] -call setSvc.cmd Schedule 4 -goto finish - -:enable -echo] -call setSvc.cmd Schedule 2 -goto finish - -:finish -echo Finished, please reboot your device for changes to apply. -pause -exit /b