blob: d705a59af1aa8db9e269a6ad1d3dde57cfba02f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
# 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
# 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 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 "$@"
|