Class: Yast::InstComplexWelcomeClient
- Inherits:
-
Client
- Object
- Client
- Yast::InstComplexWelcomeClient
- Extended by:
- I18n
- Includes:
- Logger
- Defined in:
- src/lib/installation/clients/inst_complex_welcome.rb
Constant Summary collapse
- BETA_FILE =
"/README.BETA".freeze
Instance Method Summary collapse
-
#initialize ⇒ InstComplexWelcomeClient
constructor
A new instance of InstComplexWelcomeClient.
-
#main ⇒ Object
Main client method.
Constructor Details
#initialize ⇒ InstComplexWelcomeClient
Returns a new instance of InstComplexWelcomeClient.
55 56 57 58 |
# File 'src/lib/installation/clients/inst_complex_welcome.rb', line 55 def initialize super textdomain "installation" end |
Instance Method Details
#main ⇒ Object
Main client method
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'src/lib/installation/clients/inst_complex_welcome.rb', line 61 def main if FileUtils.Exists(BETA_FILE) && !GetInstArgs.going_back InstShowInfo.show_info_txt(BETA_FILE) end # bnc#206706 return :auto if Mode.auto Yast::Wizard.EnableAbortButton preselect_product_if_needed loop do dialog_result = ::Installation::Dialogs::ComplexWelcome.run( products, disable_buttons: ) result = handle_dialog_result(dialog_result) return result if result end end |