-
Notifications
You must be signed in to change notification settings - Fork 1
/
AppRun
44 lines (43 loc) · 1.19 KB
/
AppRun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
export GIO_MODULE_DIR=$APPDIR/usr/lib/x86_64-linux-gnu/gio/modules
export PATH=$APPDIR/usr/bin/:$APPDIR/usr/sbin/:$APPDIR/bin/:$APPDIR/sbin/:$PATH
export LD_LIBRARY_PATH=$APPDIR/opt/plasticscm5/client:$APPDIR/usr/lib/:$APPDIR/usr/lib/i386-linux-gnu/:$APPDIR/usr/lib/x86_64-linux-gnu/:$APPDIR/usr/lib32/:$APPDIR/usr/lib64/:$APPDIR/lib/:$APPDIR/lib/i386-linux-gnu/:$APPDIR/lib/x86_64-linux-gnu/:$APPDIR/lib32/:$APPDIR/lib64/:$LD_LIBRARY_PATH
APPNAME=$(basename $ARGV0)
case "$APPNAME" in
cm)
$APPDIR/usr/bin/cm $@
exit $?
;;
gluon)
$APPDIR/usr/bin/gluon $@
exit $?
;;
gtkmergetool)
$APPDIR/usr/bin/gtkmergetool $@
exit $?
;;
gtkplastic)
$APPDIR/usr/bin/gtkplastic $@
exit $?
;;
legacygluon)
$APPDIR/usr/bin/legacygluon $@
exit $?
;;
legacyplasticgui)
$APPDIR/usr/bin/legacyplasticgui $@
exit $?
;;
plasticgui)
$APPDIR/usr/bin/plasticgui $@
exit $?
;;
linplasticx)
$APPDIR/usr/bin/linplasticx $@
exit $?
;;
*)
$APPDIR/usr/bin/linplasticx $@
exit $?
;;
esac