-
Notifications
You must be signed in to change notification settings - Fork 10
/
start.sh
33 lines (28 loc) · 947 Bytes
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
# Make sure /var/run/usbmuxd exists
if [ ! -S /var/run/usbmuxd ];
then
echo "The /var/run/usbmuxd socket does not exist. Make sure usbmuxd is running on your host, and you mounted"
echo "/var/run/usbmuxd in your Docker container."
exit 1
fi
if [ ! -f /etc/quamotion/quamotion.developerprofile ];
then
echo "You did not provide a developer profile. Please mount your developer profile"
echo "to /etc/quamotion/quamotion.developerprofile, and try again."
exit 1
fi
if [ -z "${DEVELOPER_PROFILE_PASSWORD}" ];
then
echo "You did not specify a password for use with your developer profile."
echo "Please set the DEVELOPER_PROFILE_PASSWORD environment variable, and try"
echo "again."
exit 1
fi
if [ ! -f /etc/quamotion/.license ];
then
echo "You have not specified a license file. Please mount your license file"
echo "into /etc/quamotion/.license, and try again"
exit 1
fi
exec appium