lokale Dateien nutzen

This commit is contained in:
2026-06-12 22:48:49 +02:00
parent 58d9383c77
commit 520ed39a5b
2 changed files with 8 additions and 4 deletions
+3 -1
View File
@@ -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
+5 -3
View File
@@ -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 '/<div class="mainDrawerHandle">/r vorlagen/index.manuell' index.html
#Bilder in Projekt-Ordner kopieren
cp assets/img/* ../jellyfin-web/src/assets/img/
cp assets/splash/* ../jellyfin-web/src/assets/splash/
#customLinks-Datei und index.html kopieren
cp scripts/libraryMenu.js ../jellyfin-web/src/scripts/