diff --git a/scripts/exam.sh b/scripts/exam.sh index 79577853c..4d6999091 100755 --- a/scripts/exam.sh +++ b/scripts/exam.sh @@ -27,3 +27,5 @@ X-AppImage-Comment=Generated by /tmp/.mount_exam.1PqfsDP/AppRun TryExec=/usr/local/bin/exam.1.0.0.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