mirror of
https://gitee.com/yiming_chang/vue-pure-admin.git
synced 2024-12-05 20:58:12 +08:00
10 lines
179 B
Bash
10 lines
179 B
Bash
#!/bin/sh
|
|
command_exists () {
|
|
command -v "$1" >/dev/null 2>&1
|
|
}
|
|
|
|
# Workaround for Windows 10, Git Bash and Pnpm
|
|
if command_exists winpty && test -t 1; then
|
|
exec < /dev/tty
|
|
fi
|