Skip to content

Commit

Permalink
#399: detect idea executable with fallbacks like idea64.exe (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille authored Jun 5, 2020
1 parent 992f982 commit fabf13d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/src/main/resources/scripts/command/intellij
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ function doStartIntellij() {
doConfigureIntellij "-u"
echo "launching IntelliJ..."
local IDEA="${IDEA_HOME}/bin/idea"
if [ -f "${IDEA}" ]
if [ ! -f "${IDEA}" ]
then
IDEA="${IDEA_HOME}/bin/idea64.exe"
fi
if [ ! -f "${IDEA}" ]
then
IDEA="${IDEA_HOME}/idea"
fi
Expand Down

0 comments on commit fabf13d

Please sign in to comment.