Education applications/RoboProCoding
Установка
1. Для установки создайте файл roboprocoding-install.sh с содержимым указанным ниже:
roboprocoding-install.sh |
---|
rm -r -f /tmp/roboprocoding-install
rm -r -f /opt/roboprocoding
rm -f /usr/share/applications/roboprocoding.desktop
mkdir /tmp/roboprocoding-install
cd /tmp/roboprocoding-install
wget https://update.fischertechnik-cloud.com/repository/ft-roboprocoding-public/ft-roboprocoding-linux-STABLE.zip
unzip ft-roboprocoding-linux-STABLE.zip
chmod +x ROBOProCoding*.AppImage
./ROBOProCoding*.AppImage --appimage-extract
rm ROBOProCoding*.AppImage
cd squashfs-root
mkdir /opt/roboprocoding
cp -r * /opt/roboprocoding/
chmod ugo+rx -R /opt/roboprocoding/
chmod 4755 '/opt/roboprocoding/chrome-sandbox'
touch /usr/share/applications/roboprocoding.desktop
echo "[Desktop Entry]" >> /usr/share/applications/roboprocoding.desktop
echo " " >> /usr/share/applications/roboprocoding.desktop
echo "Type=Application" >> /usr/share/applications/roboprocoding.desktop
echo " " >> /usr/share/applications/roboprocoding.desktop
echo "Version=1.0" >> /usr/share/applications/roboprocoding.desktop
echo " " >> /usr/share/applications/roboprocoding.desktop
echo "Name=ROBO Pro Coding" >> /usr/share/applications/roboprocoding.desktop
echo " " >> /usr/share/applications/roboprocoding.desktop
echo "Comment=Cреда разработки для программирования контроллера TXT 4.0" >> /usr/share/applications/roboprocoding.desktop
echo " " >> /usr/share/applications/roboprocoding.desktop
echo "Path=/opt/roboprocoding/" >> /usr/share/applications/roboprocoding.desktop
echo " " >> /usr/share/applications/roboprocoding.desktop
echo "Exec=/opt/roboprocoding/AppRun" >> /usr/share/applications/roboprocoding.desktop
echo " " >> /usr/share/applications/roboprocoding.desktop
echo "Icon=/opt/roboprocoding/eu.beemo.roboprocoding.png" >> /usr/share/applications/roboprocoding.desktop
echo " " >> /usr/share/applications/roboprocoding.desktop
echo "Terminal=false" >> /usr/share/applications/roboprocoding.desktop
echo " " >> /usr/share/applications/roboprocoding.desktop
echo "Categories=Development;" >> /usr/share/applications/roboprocoding.desktop
cd
rm -r -f /tmp/roboprocoding-install
|
2. повысьте права
su -
3.сделайте скрипт исполняемым
chmod +x ./roboprocoding-install.sh
4.выполните скрипт
./roboprocoding-install.sh
Удаление
1. Для удаления создайте файл roboprocoding-remove.sh с содержимым указанным ниже:
roboprocoding-remove.sh |
---|
rm -r -f /tmp/roboprocoding-install
rm -r -f /opt/roboprocoding
rm -f /usr/share/applications/roboprocoding.desktop
|
2. повысьте права
su -
3.сделайте скрипт исполняемым
chmod +x ./roboprocoding-remove.sh
4.выполните скрипт
./roboprocoding-remove.sh