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 authored and GitHub committed 2025-07-19 13:05:03 -04:00
commit 856ef3dc32
1 file changed
+8
+8
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