diff options
| -rw-r--r-- | install.bat | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/install.bat b/install.bat index 472328c..22001b8 100644 --- a/install.bat +++ b/install.bat @@ -1,8 +1,13 @@ -REM ██████╗ ██████╗ ████████╗███████╗██╗██╗ ███████╗███████╗ -REM ██╔══██╗██╔═══██╗╚══██╔══╝██╔════╝██║██║ ██╔════╝██╔════╝ -REM ██║ ██║██║ ██║ ██║ █████╗ ██║██║ █████╗ ███████╗ -REM ██║ ██║██║ ██║ ██║ ██╔══╝ ██║██║ ██╔══╝ ╚════██║ -REM ██████╔╝╚██████╔╝ ██║ ██║ ██║███████╗███████╗███████║ -REM ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ +::: ██████╗ ██████╗ ████████╗███████╗██╗██╗ ███████╗███████╗ +::: ██╔══██╗██╔═══██╗╚══██╔══╝██╔════╝██║██║ ██╔════╝██╔════╝ +::: ██║ ██║██║ ██║ ██║ █████╗ ██║██║ █████╗ ███████╗ +::: ██║ ██║██║ ██║ ██║ ██╔══╝ ██║██║ ██╔══╝ ╚════██║ +::: ██████╔╝╚██████╔╝ ██║ ██║ ██║███████╗███████╗███████║ +::: ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ +::: +for /f "delims=: tokens=*" %%A in ('findstr /b ::: "%~f0"') do @echo(%%A + +powershell . $HOME\.config\powershell\Microsoft.PowerShell_profile.ps1 +powershell Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force +powershell . $HOME\.config\powershell\bootstrap.ps1 -powershell -NoProfile -ExecutionPolicy Bypass -Command ".config/powershell/bootstrap.ps1" |
