diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-03-02 12:37:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-03-02 12:37:07 +0100 |
| commit | ddbd830b576dead5e453e985eae6fcbb9b414f0e (patch) | |
| tree | e023f4835f7e86cbb8a465a498cbfb483636521a | |
| parent | cee8e46df464201d8be1502e4c1b03061dbfc980 (diff) | |
Remove unnecessary APPDIR variable; AppImage does this for us.
| -rw-r--r-- | cscript | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -634,7 +634,6 @@ def make_appimage(target, nice_name, internal_name, version): target.command('cp -r %s/share/libdcp/xsd build/%s.AppDir/usr/share/libdcp/' % (target.directory, nice_filename)) with open('build/%s.AppDir/AppRun' % nice_filename, 'w') as f: print('#!/bin/bash', file=f) - print('export APPDIR="$(dirname "$(readlink -f "$0")")"', file=f) print('export PATH=$APPDIR/usr/bin:$PATH', file=f) print('export XDG_DATA_DIRS="$APPDIR/usr/share/:/usr/share/:$XDG_DATA_DIRS"', file=f) print('"$APPDIR"/usr/bin/%s $@' % internal_name, file=f) |
