Browse Source

Update exam version

pull/357/head
Xavier Petit 5 years ago
parent
commit
c5f80948cd
No known key found for this signature in database
GPG Key ID: CA3F2B17E25ABD26
  1. 10
      scripts/exam.sh

10
scripts/exam.sh

@ -6,25 +6,25 @@ script_dir="$(cd -P "$(dirname "$BASH_SOURCE")" && pwd)"
cd $script_dir cd $script_dir
. set.sh . set.sh
wget https://01.alem.school/assets/files/exam.1.0.1.AppImage -O /usr/local/bin/exam.1.0.1.AppImage wget https://01.alem.school/assets/files/exam.AppImage -O /usr/local/bin/exam.AppImage
chmod +x /usr/local/bin/exam.1.0.1.AppImage chmod +x /usr/local/bin/exam.AppImage
cat <<EOF> /home/student/.local/share/applications/appimagekit-exam.desktop cat <<EOF> /home/student/.local/share/applications/appimagekit-exam.desktop
[Desktop Entry] [Desktop Entry]
Name=exam Name=exam
Comment=the exam client Comment=the exam client
Exec="/usr/local/bin/exam.1.0.1.AppImage" %U Exec="/usr/local/bin/exam.AppImage" %U
Terminal=false Terminal=false
Type=Application Type=Application
Icon=appimagekit-exam Icon=appimagekit-exam
StartupWMClass=exam StartupWMClass=exam
X-AppImage-Version=1.0.1 X-AppImage-Version=1.0.0
MimeType=x-scheme-handler/exam; MimeType=x-scheme-handler/exam;
Categories=Utility; Categories=Utility;
X-AppImage-BuildId=1RHp8aPhkSgD1PXGL1NW5QDsbFF X-AppImage-BuildId=1RHp8aPhkSgD1PXGL1NW5QDsbFF
X-Desktop-File-Install-Version=0.23 X-Desktop-File-Install-Version=0.23
X-AppImage-Comment=Generated by /tmp/.mount_exam.1PqfsDP/AppRun X-AppImage-Comment=Generated by /tmp/.mount_exam.1PqfsDP/AppRun
TryExec=/usr/local/bin/exam.1.0.1.AppImage TryExec=/usr/local/bin/exam.AppImage
EOF EOF
chown student:student /home/student/.local/share/applications/appimagekit-exam.desktop chown student:student /home/student/.local/share/applications/appimagekit-exam.desktop

Loading…
Cancel
Save