Skip to content

Commit

Permalink
Fixed wrong POSIX sh script operator in github.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnfunke authored Apr 14, 2020
1 parent a7ed775 commit c22e809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/static/win32/github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ if grep -q Microsoft /proc/version; then
"$ELECTRON" "$@"
exit $?
fi
elif [ "$(expr substr $(uname -s) 1 9)" == "CYGWIN_NT" ]; then
elif [ "$(expr substr $(uname -s) 1 9)" = "CYGWIN_NT" ]; then
CLI=$(cygpath -m "$CONTENTS/resources/app/cli.js")
else
CLI="$CONTENTS/resources/app/cli.js"
fi

ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"

exit $?
exit $?

0 comments on commit c22e809

Please sign in to comment.