Skip to content

Commit

Permalink
bug fixed for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
tmori committed Dec 28, 2023
1 parent 27ad8a2 commit f00c21d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion activate_app.bash
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ then
elif [ ${OS_TYPE} = "Mac" ]
then
cd ${APP_DIRPATH}
APP_NAME=`find ./Contents/MacOS -type f`
BASE_NAME=`basename ${APP_DIRPATH}`
APP_NAME=`find ./${BASE_NAME}.app/Contents/MacOS -type f`
./${APP_NAME}
else
echo "ERROR: not supported os type: ${OS_TYPE}"
Expand Down

0 comments on commit f00c21d

Please sign in to comment.