summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-06-14 01:45:18 +0200
committerCarl Hetherington <cth@carlh.net>2024-06-23 19:51:28 +0200
commit117f6bd199479fdaeff665acbea109e967500308 (patch)
treeb3da204320e58c55cdde2538921e1cc51eb4ba38 /platform
parentd04355507baefd5fa42629341ed422f7402772f4 (diff)
Add minimal player HTTP server (#2830).
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/make_dmg.sh1
-rw-r--r--platform/windows/wscript2
2 files changed, 3 insertions, 0 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index dd42ebe32..da7c38812 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -272,6 +272,7 @@ function copy_resources {
cp $source/graphics/link*.png "$dest"
cp $source/graphics/add*.png "$dest"
cp $source/graphics/pause*.png "$dest"
+ cp -r $source/web "$dest"
cp -r $prefix/share/libdcp/xsd "$dest"
cp -r $prefix/share/libdcp/tags "$dest"
cp -r $prefix/share/libdcp/ratings "$dest"
diff --git a/platform/windows/wscript b/platform/windows/wscript
index 2c53a1422..f64923b2c 100644
--- a/platform/windows/wscript
+++ b/platform/windows/wscript
@@ -368,6 +368,8 @@ File "%graphics%/add_black.png"
File "%graphics%/add_white.png"
File "%graphics%/pause_black.png"
File "%graphics%/pause_white.png"
+SetOutPath "$INSTDIR\\web"
+File "%web%/index.html"
SetOutPath "$INSTDIR\\xsd"
File "%cdist_deps%/share/libdcp/xsd/DCDMSubtitle-2010.xsd"
File "%cdist_deps%/share/libdcp/xsd/DCDMSubtitle-2014.xsd"