summarylogtreecommitdiffstats
path: root/motrix
diff options
context:
space:
mode:
Diffstat (limited to 'motrix')
-rw-r--r--[-rwxr-xr-x]motrix9
1 files changed, 2 insertions, 7 deletions
diff --git a/motrix b/motrix
index 5e8f5f9e48b6..748ee76cbbd4 100755..100644
--- a/motrix
+++ b/motrix
@@ -1,8 +1,3 @@
#!/bin/bash
-SESSION="$HOME/.cache/aria2.session"
-if [[ ! -f $SESSION ]]
-then
- touch $SESSION;
- chmod 666 $SESSION;
-fi
-exec /opt/motrix/motrix
+export ELECTRON_IS_DEV=0
+exec /usr/bin/electron22 /usr/lib/motrix/app.asar "$@"