diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-02 02:26:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-02 11:30:01 +0100 |
commit | 0696a49613d65833a4d3ff278ca81a4588b5178b (patch) | |
tree | b248f20ad3b4d6443c94b485596f2409c8f4ee6a /sisyphus-gui | |
parent | e327ad76cfd12c8d70b8f9bee5f2b86c975ed073 (diff) |
port to PyQt6, adjust launcher, minor UI tweaks
Diffstat (limited to 'sisyphus-gui')
-rwxr-xr-x | sisyphus-gui | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sisyphus-gui b/sisyphus-gui index 887152e..73e57f6 100755 --- a/sisyphus-gui +++ b/sisyphus-gui @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Sisyphus-GUI is a simple frontend for libsisyphus +# Sisyphus-GUI is a PyQt frontend for Sisyphus # Main Author : Ghiunhan Mamut @ Redcore Linux Project if [[ -f /lib/gentoo/functions.sh ]] ; then @@ -21,7 +21,13 @@ checkifroot() { main() { if checkifroot; then pushd /usr/share/sisyphus > /dev/null 2>&1 - tmux new-session -d -s sisyphus 'python3 sisyphus-gui.py' + if [ -e sisyphus-qt6.py ]; then + tmux new-session -d -s sisyphus 'python3 sisyphus-qt6.py' + elif [ -e sisyphus-qt5.py ]; then + tmux new-session -d -s sisyphus 'python3 sisyphus-qt5.py' + else + eerror "Cannot find a PyQt application to execute!" + fi popd > /dev/null 2>&1 fi } |