feat: add graphical user interface (#34)

This commit is contained in:
Stephan Lüscher 2024-05-10 16:03:05 +02:00 committed by GitHub
parent c3ed45a21b
commit 4f2130bcce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 2939 additions and 971 deletions

13
.devcontainer/prepare_mount.sh Executable file
View file

@ -0,0 +1,13 @@
# bin/bash
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
FORGE_POD_DATA_DIR="$(podman volume inspect ublue-os_forge-data | jq -r '.[0].Mountpoint')"
MOUNTPOINT_SYMLINK="$SCRIPT_DIR/mountpoint"
echo "Preparing mount"
if [ -L $MOUNTPOINT_SYMLINK ]; then
echo "Existing symlink found. Doing nothing"
else
echo "No existing symlink found. Creating new"
ln -s $FORGE_POD_DATA_DIR $MOUNTPOINT_SYMLINK
fi