#!/bin/bash

# Check if GUI is already started
if ! pgrep -f 'python3 '.*iso_constructor &>/dev/null; then
    pkexec env DISPLAY=$DISPLAY python3 '/usr/lib/iso_constructor/main.py' $@
fi
exit 0
