1
0
mirror of https://github.com/desktop/desktop synced 2024-07-05 00:58:57 +00:00

Use TERM=dumb instead of setting COLOR env vars

This commit is contained in:
Sergio Padrino 2022-03-01 14:04:21 +01:00
parent ad9159211e
commit f70294584c

View File

@ -5,8 +5,8 @@ function realpath() {
/usr/bin/perl -e "use Cwd;print Cwd::abs_path(@ARGV[0])" "$0";
}
CONTENTS="$(command dirname "$(command dirname "$(command dirname "$(command dirname "$(command realpath "$0")")")")")"
BINARY_NAME="$(LSCOLORS= CLICOLOR= command ls "$CONTENTS/MacOS/")"
CONTENTS="$(command dirname "$(command dirname "$(command dirname "$(command dirname "$(realpath "$0")")")")")"
BINARY_NAME="$(TERM=dumb command ls "$CONTENTS/MacOS/")"
ELECTRON="$CONTENTS/MacOS/$BINARY_NAME"
CLI="$CONTENTS/Resources/app/cli.js"