Merge pull request #2 from GTDev87/master

Default to iPhone 6
This commit is contained in:
Artūr Girenko 2015-12-07 20:17:17 +01:00
commit 8c9e51c0df
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ generateConfig = (name) ->
log 'Creating Re-Natal config' log 'Creating Re-Natal config'
config = config =
name: name name: name
device: getUuidForDevice 'iPhone 6s' device: getUuidForDevice 'iPhone 6'
writeConfig config writeConfig config
config config
@ -327,7 +327,7 @@ init = (projName) ->
launch = ({name, device}) -> launch = ({name, device}) ->
unless device in getDeviceUuids() unless device in getDeviceUuids()
log 'Device ID not available, defaulting to iPhone 6s simulator', 'yellow' log 'Device ID not available, defaulting to iPhone 6 simulator', 'yellow'
{device} = generateConfig name {device} = generateConfig name
try try