From ed94e55ded460b85e48cfc73c0ba6ee623d081eb Mon Sep 17 00:00:00 2001 From: doyle Date: Wed, 29 Sep 2021 10:28:15 +1000 Subject: [PATCH] Make terminal window go away on start --- win32_install.bat | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/win32_install.bat b/win32_install.bat index 8d808e0..b0a871a 100644 --- a/win32_install.bat +++ b/win32_install.bat @@ -617,7 +617,10 @@ echo set PATH=%%~dp0!zip7_dir!;%%PATH%%>> "!terminal_script!" echo if exist "%%~dp0!msvc_script!" call "%%~dp0!msvc_script!">> "!terminal_script!" echo if exist "%%~dp0win32_terminal_user_config.bat" call "%%~dp0win32_terminal_user_config.bat">> "!terminal_script!" -if !install_alacritty! == 1 ( echo cmd /c "%%~dp0!alacritty_exe!" %%*>> "!terminal_script!" ) +if !install_alacritty! == 1 ( + echo start "%%~dp0!alacritty_exe!" powershell %%*>> "!terminal_script!" + echo exit>> "!terminal_script!" +) REM ---------------------------------------------------------------------------- REM Background Application Scripts