#!/bin/bash
if [[ -f '/etc/astra_version' ]]; then

    if [[ ! -f $HOME'/.youtube-dl-gui/' ]];then
        cp -r /opt/open-vd/youtube-dl-gui/ $HOME'/.youtube-dl-gui/'
        cd /opt/open-vd/
        ./open-vd.appimage
    else
        cd /opt/open-vd/
        ./open-vd.appimage
    fi

else
    zenity --error --title="Ошибка!" --text="Необходима ОС Astra Linux SE!" --width=200
fi
exit 0
