summarylogtreecommitdiffstats
path: root/activityplayer.sh
diff options
context:
space:
mode:
authorMalstrond2020-08-04 14:11:15 +0200
committerMalstrond2020-08-04 14:11:15 +0200
commitb42060c9e8f288fcd785a6377709fa7e83920b44 (patch)
tree68ef495e9bb1df4c9aad74ffbe1f87b4a4f516e0 /activityplayer.sh
parent5917bc8ecd4fa0d8f2c2677234dd72238efbe307 (diff)
downloadaur-b42060c9e8f288fcd785a6377709fa7e83920b44.tar.gz
Updated, adjusted to upstream changes in architecture, package directory layout and libraries
Diffstat (limited to 'activityplayer.sh')
-rw-r--r--activityplayer.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/activityplayer.sh b/activityplayer.sh
index ae552d3702c7..d705a59af1aa 100644
--- a/activityplayer.sh
+++ b/activityplayer.sh
@@ -2,15 +2,13 @@
# This script launches ActivPlayer. It is partially based on the upstream launch script, with obsolete and Ubuntu-specific stuff fixed or removed.
-cd /opt/activsoftware/workbench
+cd /opt/activsoftware
# Promethean software has a bug that often causes it to hang when attempting to close it using the GUI. So we need to kill those instances before launching a new one.
killall -q activplayer
-# Promethean ships ActivInspire with a bunch of libraries. We can't recompile it and there are less problems when using this library versions.
-export LD_LIBRARY_PATH="/opt/activsoftware:/opt/activsoftware/workbench:/opt/activsoftware/workbench/lib:/opt/activsoftware/32bit_libs_for_64bit_OS:$LD_LIBRARY_PATH"
-export GST_PLUGIN_PATH="/opt/activsoftware/32bit_libs_for_64bit_OS:$GST_PLUGIN_PATH"
-export QTWEBKIT_PLUGIN_PATH="/opt/activsoftware/32bit_libs_for_64bit_OS:$QTWEBKIT_PLUGIN_PATH"
+# Promethean ships ActivInspire with a bunch of libraries. We can't recompile it and there are less problems when using these library versions.
+export LD_LIBRARY_PATH="/opt/activsoftware:$LD_LIBRARY_PATH"
# Launch and open the file if one was given as an argument.
-./activplayer "$@" \ No newline at end of file
+./activplayer "$@"