24 lines
561 B
Bash
24 lines
561 B
Bash
#!/bin/bash
|
|
# Setup script for GTK Wrapper dependencies
|
|
|
|
echo "Installing GTK wrapper dependencies..."
|
|
|
|
# Update package list
|
|
sudo apt-get update
|
|
|
|
# Install GTK3 and WebKit2 development libraries
|
|
echo "Installing GTK3 and WebKit2 libraries..."
|
|
sudo apt-get install -y \
|
|
python3-gi \
|
|
gir1.2-gtk-3.0 \
|
|
gir1.2-webkit2-4.0 \
|
|
libgtk-3-0 \
|
|
libwebkit2gtk-4.0-37
|
|
|
|
# Install pip packages if needed
|
|
echo "Checking Python dependencies..."
|
|
pip3 install flask
|
|
|
|
echo "Setup complete! You can now run the GTK wrapper with:"
|
|
echo " python3 gtk_wrapper.py"
|