Fix crash on startup on macOS.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 2bf20ed74a90a534ef939a57bb043df298b62fac..6e9f4da5f53805c66e560ba143d66d59f3ba749b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -380,7 +380,7 @@ def dependencies(target, options):
     # the appropriate place later
     deps.append(('openssl', '7f29dd5'))
     if can_build_disk(target):
-        deps.append(('lwext4', '3601ea5'))
+        deps.append(('lwext4', '9d20ec5'))
     deps.append(('ffcmp', 'a915540'))
 
     return deps
@@ -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)