mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 23:38:49 +00:00
Merge pull request #653 from PR0M3TH3AN/codex/update-install.sh-for-os-specific-packages
Install Toga backend via OS detection
This commit is contained in:
@@ -120,6 +120,14 @@ main() {
|
|||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -r src/requirements.txt
|
pip install -r src/requirements.txt
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
print_info "Installing platform-specific Toga backend..."
|
||||||
|
if [ "$OS_NAME" = "Linux" ]; then
|
||||||
|
print_info "Installing toga-gtk for Linux..."
|
||||||
|
pip install toga-gtk
|
||||||
|
elif [ "$OS_NAME" = "Darwin" ]; then
|
||||||
|
print_info "Installing toga-cocoa for macOS..."
|
||||||
|
pip install toga-cocoa
|
||||||
|
fi
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
# 7. Create launcher script
|
# 7. Create launcher script
|
||||||
|
Reference in New Issue
Block a user