aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/launch.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/launch.sh b/scripts/launch.sh
index dcf6e7af..bdae56d4 100644
--- a/scripts/launch.sh
+++ b/scripts/launch.sh
@@ -1,5 +1,10 @@
-#!/bin/sh
+#!/bin/bash
+# Required to launch correctly
-# Required in CI to launch correctly
+# Move to AO's directory
+SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
+cd "${SCRIPT_DIR}"
+
+# Run with correct linker path
chmod +x Attorney_Online
LD_LIBRARY_PATH=. ./Attorney_Online