X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=cscript;h=eb7a817eb88683aa8e385793d444ad6ef8b0cfac;hp=1845cc7d0154cd12cb79c70e175e818e662ed1bd;hb=d5214345699aad86c397864549a0594a2c1ba103;hpb=d386392e79d59f0c5647b0d778348b72d7cd7069 diff --git a/cscript b/cscript index 1845cc7d0..eb7a817eb 100644 --- a/cscript +++ b/cscript @@ -604,6 +604,8 @@ def make_appimage(target, nice_name, internal_name, version): os.makedirs('build/%s.AppDir/usr/bin' % nice_filename) target.command('cp %s/bin/%s build/%s.AppDir/usr/bin' % (target.directory, internal_name, nice_filename)) target.command('cp %s/src/openssl/apps/openssl build/%s.AppDir/usr/bin/dcpomatic2_openssl' % (target.directory, nice_filename)) + target.command('mkdir -p build/%s.AppDir/usr/share/libdcp' % nice_filename) + 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)