]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7746 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Sep 2025 11:00:01 +0000 (13:00 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Sep 2025 11:00:01 +0000 (13:00 +0200)
app/Console/Commands/UpdatePDFJSLibrary.php
app/Fluidbook/Compiler/Compiler.php

index e48ec6dd716b4a1e85a90410711e6b6e1f7b0326..1a0ac0384a6dd1537203a8c2832fbd9dfa9869d3 100644 (file)
@@ -11,7 +11,7 @@ class UpdatePDFJSLibrary extends ToolboxCommand
     /** @see https://mozilla.github.io/pdf.js/getting_started/#download */
 
     protected $signature = 'updatepdfjs';
-    protected const VERSION = '5.4.54';
+    protected const VERSION = '5.4.149';
     //protected const VERSION = '3.11.174';
     protected const JQUERY_VERSION = '3.7.1';
 
index 7386bcdd9160cc810ce2c1d10b348a4eb42039f3..de45244ae3408abaf23e227a5d11bdb066e2ec57 100644 (file)
@@ -1567,7 +1567,7 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError
 
     public function addPDFJSPageRenderer()
     {
-        $this->vdir->copyDirectory(resource_path('pdfjs/dist-min'), 'pdfjs');
+        $this->vdir->copyDirectory(resource_path('pdfjs/legacy-min'), 'pdfjs');
         $this->customJs[] = ['src' => 'pdfjs/build/pdf.js', 'type' => 'module'];
     }