diff --git a/buildscript.sh b/buildscript.sh index 81307c4..3aa5b0f 100755 --- a/buildscript.sh +++ b/buildscript.sh @@ -1,5 +1,7 @@ #!/bin/bash cd ../jellyfin-web -npm install +#npm install +npx update-browserslist-db@latest +npm ci #npm start npm run build:production diff --git a/script.sh b/script.sh index 734c265..506fc3d 100755 --- a/script.sh +++ b/script.sh @@ -21,8 +21,11 @@ git clone --branch "$LATEST_TAG" --depth 1 https://github.com/jellyfin/jellyfin- echo "jellyfin-web ($LATEST_TAG) geklont" cd webbranding #Dateien runterladen (frischer Stand und so) -wget -q https://raw.githubusercontent.com/jellyfin/jellyfin-web/master/src/scripts/libraryMenu.js -O scripts/libraryMenu.js -wget -q https://raw.githubusercontent.com/jellyfin/jellyfin-web/master/src/index.html -O index.html +#wget -q https://raw.githubusercontent.com/jellyfin/jellyfin-web/master/src/scripts/libraryMenu.js -O scripts/libraryMenu.js +#wget -q https://raw.githubusercontent.com/jellyfin/jellyfin-web/master/src/index.html -O index.html + +cp ../jellyfin-web/src/scripts/libraryMenu.js scripts/libraryMenu.js +cp ../jellyfin-web/src/index.html index.html #Custom Links einfügen sed -i '/class="customMenuOptions"/d' scripts/libraryMenu.js @@ -41,7 +44,6 @@ sed -i '/