Skip to content

Commit 48c459c

Browse files
author
Dimitar Kerezov
committed
WIP
1 parent 2edebcb commit 48c459c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup/native-script.rb

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
exit
2727
end
2828

29-
puts "You need to accept the Xcode license agreement to be able to use the Xcode command-line tools. (You might need to provide your password.)"
29+
puts "You need to accept the Xcode license agreement to be able to use the Xcode command-line tools."
3030
system('xcodebuild -license')
3131

3232
# Help with installing other dependencies
@@ -65,6 +65,7 @@ def install(program_name, message, script, run_as_root = false, show_all_option
6565

6666
if $answer == "n"
6767
puts "You have chosen not to install " + program_name + ". Some features of NativeScript may not work correctly if you haven't already installed it"
68+
return
6869
end
6970
end
7071

@@ -80,7 +81,7 @@ def install(program_name, message, script, run_as_root = false, show_all_option
8081
exit
8182
end
8283

83-
install("Java SE Development Kit", "Installing the Java SE Development Kit... This might take some time, please, be patient. (You will be prompted for your password)", 'brew cask install java', false, false)
84+
install("Java SE Development Kit", "Installing the Java SE Development Kit... This might take some time, please, be patient. (You will be prompted for your password)", 'brew cask install java --verbose', true, false)
8485
execute('echo "export JAVA_HOME=$(/usr/libexec/java_home)" >> ~/.profile', "Unable to set JAVA_HOME")
8586

8687
install("Android SDK", "Installing Android SDK", 'brew install android-sdk')

0 commit comments

Comments
 (0)