Copy some missing things into the AppImage.
authorCarl Hetherington <cth@carlh.net>
Tue, 2 Mar 2021 11:37:17 +0000 (12:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 2 Mar 2021 11:37:17 +0000 (12:37 +0100)
cscript

diff --git a/cscript b/cscript
index 2bf20ed74a90a534ef939a57bb043df298b62fac..ccefeaf572a550ad2b941626c2ad64769c446f10 100644 (file)
--- 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)