11 lines
213 B
Bash
Executable file
11 lines
213 B
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
wrapper='dos'
|
|
if [[ "$1" == "-e" ]]; then
|
|
wrapper='elevate -w'
|
|
fi
|
|
|
|
cd '/mnt/c/Program Files/WindowsApps/'
|
|
target=`find Microsoft.WindowsTerminal* -name 'WindowsTerminal.exe'`
|
|
$wrapper "$target"
|
|
|