Skip to content

Commit

Permalink
Update H5P PHP library to 1.26 and H5P Editor library to 1.25. Packag…
Browse files Browse the repository at this point in the history
…e.json script sequence fixed
  • Loading branch information
mujtabachang committed Feb 21, 2024
1 parent 9e700f6 commit 4275612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"start": "node src/server",
"start:dev": "nodemon src/server",
"download": "yarn download:content-type-cache && yarn download:h5p",
"download": "yarn download:h5p && yarn download:content-type-cache",
"test": "jest",
"download:content-type-cache": "node scripts/update-real-content-type-cache.js",
"download:h5p": "sh scripts/install.sh"
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# If the editor and core files are missing, we download them from GitHub.
if [ ! -d "h5p/editor" ] || [ ! -d "h5p/core" ]
then
sh scripts/download-core.sh affaa83b51828be13e175c8ba1a7085ba9692d1d 7bc192798f8f6e1dee34891b56f3bf60ab320f3d
sh scripts/download-core.sh 1.26 1.25
else
echo "Not downloading H5P Core and Editor files as they are already present!"
fi

0 comments on commit 4275612

Please sign in to comment.