# HG changeset patch # User Alain Mazy # Date 1744728971 -7200 # Node ID 74603a3f3ec5917d0b1acb1830371d35a292d3a0 # Parent fdf64d58009668af67966225306c2331d364a78a fix diff -r fdf64d580096 -r 74603a3f3ec5 Resources/CreateOHIFDist/build.sh --- a/Resources/CreateOHIFDist/build.sh Tue Apr 15 15:32:44 2025 +0200 +++ b/Resources/CreateOHIFDist/build.sh Tue Apr 15 16:56:11 2025 +0200 @@ -37,7 +37,8 @@ APP_CONFIG=config/default.js QUICK_BUILD=true PUBLIC_URL=./ bun run build # patch files where the PUBLIC_URL was not taken into account -sed -i 's|/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|./dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|g' app.bundle.*.js -sed -i 's|/assets/android-chrome-|./assets/android-chrome-|g' manifest.json +# Note that, for the microscopy, this is currently not working: https://github.com/OHIF/Viewers/issues/4906 +sed -i 's|/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|./dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|g' /tmp/$1/platform/app/dist/app.bundle.*.js +sed -i 's|/assets/android-chrome-|./assets/android-chrome-|g' /tmp/$1/platform/app/dist/manifest.json cp -r /tmp/$1/platform/app/dist/* /target