Skip to content

Commit

Permalink
FIx installer
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 27, 2025
1 parent aa77a21 commit c0abc74
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/nanosaur/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,12 @@ def install(platform, params: Params, args):
if answers['confirm'] is False:
print(TerminalFormatter.color_text("Installation cancelled", color='red'))
return False

# Get the selected install type
print(TerminalFormatter.color_text(f"Installing {install_type} workspace...", bold=True))
if not NANOSAUR_INSTALL_OPTIONS_RULES[install_type]['function'](platform, params, args):
return False
# Set params in maintainer mode
current_mode = params.get('mode')
current_mode = params.get('mode', 'simple')
if (
install_type not in NANOSAUR_INSTALL_OPTIONS_RULES[current_mode]['rule']
):
Expand Down

0 comments on commit c0abc74

Please sign in to comment.