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:
thePR0M3TH3AN
2025-07-19 13:05:03 -04:00
committed by GitHub

View File

@@ -120,6 +120,14 @@ main() {
pip install --upgrade pip
pip install -r src/requirements.txt
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
# 7. Create launcher script