mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 07:52:03 +00:00
Add GUI extras for platform backends
This commit is contained in:
1 parent
cfb861b60a
commit
428efd02b4
3 files changed
+39
-26
No files matched your search
+7
-6
@@ -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