Add platform-specific Toga installation

This commit is contained in:
thePR0M3TH3AN
2025-07-19 13:00:35 -04:00
parent 78c398ba4b
commit ad3f1bc80c

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