From 4555833c3c402e1a9f125a96deaf299770ae5f21 Mon Sep 17 00:00:00 2001 From: Valerie Wolfe Date: Mon, 19 Aug 2024 09:14:06 -0400 Subject: [PATCH] scripts: 'terminal.sh' elevate flag now consistently works --- scripts/terminal.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/terminal.sh b/scripts/terminal.sh index f0c7e63..3b46d63 100755 --- a/scripts/terminal.sh +++ b/scripts/terminal.sh @@ -1,11 +1,10 @@ #!/usr/bin/bash -wrapper='dos' if [[ "$1" == "-e" ]]; then - wrapper='elevate -w' + elevate -l terminal fi cd '/mnt/c/Program Files/WindowsApps/' target=`find Microsoft.WindowsTerminal* -name 'WindowsTerminal.exe'` -$wrapper "$target" +dos "$target"