From 5d3554408d24e21bad54559582768eff54163990 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 21 Apr 2020 00:29:21 +0200 Subject: [PATCH] Include web-surface data in linux and mac bundles --- tools/linux_packaging/build | 5 +++++ tools/osx_packaging/osx_build | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 55a7b9c1c7..4f2826032b 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -193,6 +193,7 @@ Locale=$Shared/locale MidiMaps=$Shared/midi_maps PatchFiles=$Shared/patchfiles LuaScripts=$Shared/scripts +WebSurfaces=$Shared/web_surfaces MackieControl=$Shared/mcp OSC=$Shared/osc @@ -381,6 +382,10 @@ for x in $BUILD_ROOT/../share/scripts/*.lua ; do cp "$x" $LuaScripts done +# recusively copy web-surface html/js +cp -a $BUILD_ROOT/../share/scripts/web_surfaces $WebSurfaces +rm $WebSurfaces/wscript + # MackieControl data # got to be careful with names here for x in $BUILD_ROOT/../share/mcp/*.device $BUILD_ROOT/../share/mcp/*.profile ; do diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 1559735a6c..8df78a2bef 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -145,6 +145,7 @@ ExportFormats=$Shared/export Templates=$Shared/templates PatchFiles=$Shared/patchfiles LuaScripts=$Shared/scripts +WebSurfaces=$Shared/web_surfaces MackieControl=$Shared/mcp OSC=$Shared/osc Themes=$Shared/themes @@ -377,6 +378,10 @@ for x in $BUILD_ROOT/../share/scripts/*.lua ; do cp "$x" $LuaScripts done +# recusively copy web-surface html/js +cp -a $BUILD_ROOT/../share/scripts/web_surfaces $WebSurfaces +rm $WebSurfaces/wscript + # MackieControl data # got to be careful with names here for x in $BUILD_ROOT/../share/mcp/*.device $BUILD_ROOT/../share/mcp/*.profile ; do