27 dic 2025

sasp scripts

update
#!/bin/bash

#pypi
#pip uninstall setiastrosuitepro
#pip install setiastrosuitepro

#main
cd /home/steve/sasp-main
printf "\n ___\nbranch main\n"
git pull
. venv/bin/activate
pip install -e .
deactivate

#dev
cd /home/steve/sasp-dev
printf "___\nbranch dev\n"
git pull
. venv/bin/activate
pip install -e .
deactivate
printf "\ndone\n"
/bin/bash

select

#!/bin/bash
PS3='Please enter your choice: '
options=("pypi" "main" "dev" "QUIT")
select opt in "${options[@]}"
do
    case $opt in
        "pypi")
            echo "sasp-pypi"
            /home/steve/runsasp
            ;;
        "main")
            echo "sasp-main"
            /home/steve/runsasp-main
            ;;
        "dev")
            echo "sasp-dev"
            /home/steve/runsasp-dev
            ;;
        "QUIT")
            break
            ;;
        *) echo "invalid option $REPLY";;
    esac
done

plasma launcher

[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/home/steve/select-sasp.sh
GenericName[en_US]=
GenericName=
Icon=system-run
MimeType=
Name[en_US]=select-sasp
Name=select-sasp
Path=
StartupNotify=true
Terminal=true
TerminalOptions=\s--noclose
Type=Application
X-KDE-SubstituteUID=false

X-KDE-Username=

No hay comentarios:

Publicar un comentario