mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 23:38:49 +00:00
Add GUI extras for platform backends
This commit is contained in:
@@ -197,14 +197,15 @@ main() {
|
||||
fi
|
||||
fi
|
||||
if [ "$GUI_READY" = true ]; then
|
||||
pip install -e .[gui]
|
||||
print_info "Installing platform-specific Toga backend..."
|
||||
if [ "$OS_NAME" = "Linux" ]; then
|
||||
print_info "Installing toga-gtk for Linux..."
|
||||
pip install toga-gtk
|
||||
print_info "Installing Linux GUI dependencies..."
|
||||
pip install -e ".[gui-gtk]"
|
||||
elif [ "$OS_NAME" = "Darwin" ]; then
|
||||
print_info "Installing toga-cocoa for macOS..."
|
||||
pip install toga-cocoa
|
||||
print_info "Installing macOS GUI dependencies..."
|
||||
pip install -e ".[gui-mac]"
|
||||
else
|
||||
print_warning "Unsupported OS for GUI installation. Installing core package only."
|
||||
pip install -e .
|
||||
fi
|
||||
else
|
||||
print_warning "Skipping GUI installation."
|
||||
|
Reference in New Issue
Block a user