プロジェクト

全般

プロフィール

バグ #1364 » 1364-1-export-APPDIR.patch

Yuto Tokunaga, 2019-08-16 13:01

差分を表示:

deployment/appimage/AppRun
1 1
#!/bin/sh
2 2

  
3 3
if [ -z $APPDIR ]; then APPDIR=$(readlink -f $(dirname "$0")); fi
4
export APPDIR
4 5

  
5 6
# env vars for GTK
6 7
if [ -z $GTK_IM_MODULE_FILE ]; then
......
12 13
export GI_TYPELIB_PATH="$APPDIR"/usr/lib/girepository-1.0
13 14

  
14 15
export LD_LIBRARY_PATH="$APPDIR"/usr/lib
15
export LD_PRELOAD="$APPDIR"/usr/optional/exec.so:"$LD_PRELOAD"
16
export LD_PRELOAD="$APPDIR"/usr/optional/exec.so
17

  
18
# enable debug output of exec.so
19
# export APPIMAGE_CHECKRT_DEBUG=1
16 20

  
17 21
# env vars for Ruby Gems
18 22
export DISABLE_BUNDLER_SETUP=1
......
45 49
#   export GEM_PATH="$GEM_PATH:$d/vendor/bundler/ruby/2.3.0"
46 50
# done
47 51

  
48
exec "$APPDIR"/usr/bin/ruby "$APPDIR"/usr/share/mikutter/mikutter.rb "$@"
52
exec "$APPDIR"/usr/bin/ruby -x "$APPDIR"/usr/share/mikutter/mikutter.rb "$@"
(1-1/2)