-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_deps.sh
More file actions
26 lines (19 loc) · 836 Bytes
/
install_deps.sh
File metadata and controls
26 lines (19 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# WebApp Manager Wails Port - Dependency Installer
# For Ubuntu 24.04 (Noble Numbat)
echo "Checking for required dependencies..."
# Update package list
sudo apt-get update
# Install build essentials and Go (assuming Go is already installed by user or other means, but build-essential is good to have)
sudo apt-get install -y build-essential pkg-config
# Install GTK3 development headers
sudo apt-get install -y libgtk-3-dev
# Install WebKit2GTK development headers
# Note: Ubuntu 24.04 uses libwebkit2gtk-4.1-dev
if apt-cache show libwebkit2gtk-4.0-dev >/dev/null 2>&1; then
sudo apt-get install -y libwebkit2gtk-4.0-dev
else
echo "libwebkit2gtk-4.0-dev not found, trying 4.1..."
sudo apt-get install -y libwebkit2gtk-4.1-dev
fi
echo "Dependencies installed. You should be able to run 'wails build' now."