From ba91acb8835e1c85a06e9b4c8cc82db1d12edbb0 Mon Sep 17 00:00:00 2001 From: Michał Dudziński Date: Mon, 3 May 2021 12:15:46 +0200 Subject: iOS wizard: minor tweaks --- dragon/ios_wizard.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dragon/ios_wizard.rb b/dragon/ios_wizard.rb index 81bd88e..c1c032d 100644 --- a/dragon/ios_wizard.rb +++ b/dragon/ios_wizard.rb @@ -84,8 +84,8 @@ class IOSWizard sprite_path end - def start opts = nil - @opts = opts || {} + def start opts = {} + @opts = opts unless $gtk.args.fn.eq_any? @opts[:env], :dev, :prod raise WizardException.new( @@ -104,7 +104,11 @@ class IOSWizard @steps = steps_production_build if @production_build @certificate_name = nil init_wizard_status - log_info "Starting iOS Wizard so we can deploy to your device." + if @production_build + log_info "Starting iOS Wizard so we can create a production build." + else + log_info "Starting iOS Wizard so we can deploy to your device." + end @start_at = Kernel.global_tick_count steps.each do |m| log_info "Running step ~:#{m}~." -- cgit v1.2.3