revert run-osx.sh

Former-commit-id: 9f5c3df150
This commit is contained in:
Roman Volosovskyi 2016-05-19 18:09:32 +03:00
parent f613dbd2dc
commit 2312cd7a14
1 changed files with 3 additions and 3 deletions

View File

@ -38,10 +38,10 @@ fi
if [ "$device_type" = "genymotion" ] if [ "$device_type" = "genymotion" ]
then then
# Find Device based on Android version 6.0.0 # Find Device based on Android version 6.0.0
device=$(genyshell -c "devices list" | grep "6.0.0") device=$(/Applications/Genymotion\ Shell.app/Contents/MacOS/genyshell -c "devices list" | grep "6.0.0")
#echo ${device##*| } #echo ${device##*| }
# Launch device in Genymotion # Launch device in Genymotion
open -a ~/Applications/Genymotion.app/Contents/MacOS/player.app --args --vm-name "${device##*| }" open -a /Applications/Genymotion.app/Contents/MacOS/player.app --args --vm-name "${device##*| }"
fi fi
# Install deps, prepare for genymotion and figwheel # Install deps, prepare for genymotion and figwheel
@ -56,6 +56,6 @@ tab "react-native start"
# echo "Press any key when emulator, figwheel and packager are ready" && read -n 1 # echo "Press any key when emulator, figwheel and packager are ready" && read -n 1
sleep 10s sleep 10s
adb reverse tcp:8081 tcp:8081 && adb reverse tcp:3449 tcp:3449 && adb forward tcp:8082 tcp:8082 adb reverse tcp:8081 tcp:8081 && adb reverse tcp:3449 tcp:3449
react-native run-android react-native run-android