summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-03-02 12:37:17 +0100
committerCarl Hetherington <cth@carlh.net>2021-03-02 12:37:17 +0100
commit43261a371951678e0f603976e47add380c40a536 (patch)
treeb233137813c1158390b136cf968bfea687e215b7 /cscript
parentddbd830b576dead5e453e985eae6fcbb9b414f0e (diff)
Copy some missing things into the AppImage.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 2bf20ed74..ccefeaf57 100644
--- a/cscript
+++ b/cscript
@@ -631,7 +631,9 @@ def make_appimage(target, nice_name, internal_name, version):
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/dcpomatic2 build/%s.AppDir/usr/share/' % (target.directory, nice_filename))
target.command('cp -r %s/share/libdcp/xsd build/%s.AppDir/usr/share/libdcp/' % (target.directory, nice_filename))
+ target.command('cp -r %s/share/libdcp/tags 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 PATH=$APPDIR/usr/bin:$PATH', file=f)