|
|
|
@ -217,32 +217,6 @@ done
|
|
|
|
|
|
|
|
|
|
apt-get -y install libreoffice |
|
|
|
|
|
|
|
|
|
# Install Exam app |
|
|
|
|
|
|
|
|
|
wget https://01.alem.school/assets/files/exam.AppImage -O /usr/local/bin/exam.AppImage |
|
|
|
|
chmod +x /usr/local/bin/exam.AppImage |
|
|
|
|
|
|
|
|
|
cat <<EOF> /home/student/.local/share/applications/appimagekit-exam.desktop |
|
|
|
|
[Desktop Entry] |
|
|
|
|
Name=exam |
|
|
|
|
Comment=the exam client |
|
|
|
|
Exec="/usr/local/bin/exam.AppImage" %U |
|
|
|
|
Terminal=false |
|
|
|
|
Type=Application |
|
|
|
|
Icon=appimagekit-exam |
|
|
|
|
StartupWMClass=exam |
|
|
|
|
X-AppImage-Version=1.0.0 |
|
|
|
|
MimeType=x-scheme-handler/exam; |
|
|
|
|
Categories=Utility; |
|
|
|
|
X-AppImage-BuildId=1RHp8aPhkSgD1PXGL1NW5QDsbFF |
|
|
|
|
X-Desktop-File-Install-Version=0.23 |
|
|
|
|
X-AppImage-Comment=Generated by /tmp/.mount_exam.1PqfsDP/AppRun |
|
|
|
|
TryExec=/usr/local/bin/exam.AppImage |
|
|
|
|
EOF |
|
|
|
|
chown student:student /home/student/.local/share/applications/appimagekit-exam.desktop |
|
|
|
|
|
|
|
|
|
sudo -iu student xdg-mime default appimagekit-exam.desktop x-scheme-handler/exam |
|
|
|
|
|
|
|
|
|
# Install Go library |
|
|
|
|
|
|
|
|
|
sudo -iu student go get github.com/01-edu/z01 |
|
|
|
|