From b451a80b5767bb4849208db659ddf506e8090e12 Mon Sep 17 00:00:00 2001 From: srdusr Date: Tue, 23 Sep 2025 21:09:05 +0200 Subject: Minor fixes --- windows/install.bat | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'windows/install.bat') diff --git a/windows/install.bat b/windows/install.bat index d5298f1..89b3ac6 100644 --- a/windows/install.bat +++ b/windows/install.bat @@ -1,6 +1,11 @@ -REM Installing Dotfiles +@echo off +REM === Installing Dotfiles === -powershell . $HOME\.config\powershell\Microsoft.PowerShell_profile.ps1 -powershell Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force -powershell . $HOME\.config\powershell\bootstrap.ps1 +REM Set execution policy for current user +powershell -NoProfile -Command "Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force" +REM Run PowerShell profile (dotfiles) +powershell -NoProfile -ExecutionPolicy Bypass -File "%USERPROFILE%\Documents\PowerShell\Microsoft.PowerShell_profile.ps1" + +REM Run bootstrap script +powershell -NoProfile -ExecutionPolicy Bypass -File "%USERPROFILE%\Documents\PowerShell\bootstrap.ps1" -- cgit v1.2.3