From 04ae3acbda7179209376df815da379796e6becc8 Mon Sep 17 00:00:00 2001 From: probonopd Date: Wed, 26 Jan 2022 20:37:27 +0100 Subject: [PATCH] Set $APPDIR (#1788) --- app/packaging/linux/AppRun | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/packaging/linux/AppRun b/app/packaging/linux/AppRun index 42d2cbce1..6c2e0f4af 100755 --- a/app/packaging/linux/AppRun +++ b/app/packaging/linux/AppRun @@ -1,4 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash + +APPDIR=$(readlink -f $(dirname "$0")) # Custom AppRun that ensures the AppImage doesn't dismount before olive-crashhandler exits