From cfc22198a1b3215d7c39ca34dd17d2409b5048e8 Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Sun, 13 Oct 2019 03:41:51 +0200 Subject: [PATCH] Associate exam with web button --- scripts/exam.sh | 2 ++ 1 file changed, 2 insertions(+) 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