apt-get install libgdiplus -y
mkdir /tmp/saveeinstall
wget -c https://repo.nikatron.com/install/savee/saveeapp/v0.108.0/savee-v0.1084.0-data.tar -P /tar/saveeinstall
tar -xvf /tar/saveeinstall/savee-v0.108.0-data.tar -C /tmp/saveeinstall
mkdir -p /srv/savee/app
cp -r /tmp/saveeinstall/Savee/. /srv/savee/app
mkdir -p /srv/savee/app/wwwroot/data/plans
chmod 777 /srv/savee/app/Savee
cp /tmp/saveeinstall/savee.service /etc/systemd/system/
cp /tmp/saveeinstall/saveeupdate.service /etc/systemd/system/
timedatectl set-timezone Europe/Prague
systemctl daemon-reload
systemctl enable savee
rm -rf /tar
rm -r /tmp/saveeinstall