Dateien nicht mehr unnötig kopieren

This commit is contained in:
2026-06-12 22:51:05 +02:00
parent 520ed39a5b
commit f897dc0a03
+13 -13
View File
@@ -24,30 +24,30 @@ cd webbranding
#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/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/index.html -O index.html
cp ../jellyfin-web/src/scripts/libraryMenu.js scripts/libraryMenu.js #cp ../jellyfin-web/src/scripts/libraryMenu.js scripts/libraryMenu.js
cp ../jellyfin-web/src/index.html index.html #cp ../jellyfin-web/src/index.html index.html
#Custom Links einfügen #Custom Links einfügen
sed -i '/class="customMenuOptions"/d' scripts/libraryMenu.js sed -i '/class="customMenuOptions"/d' ../jellyfin-web/src/scripts/libraryMenu.js
sed -i '/placeholder for custom menu links/r vorlagen/custom_links_insert' scripts/libraryMenu.js sed -i '/placeholder for custom menu links/r vorlagen/custom_links_insert' ../jellyfin-web/src/scripts/libraryMenu.js
#custom Titel #custom Titel
sed -i "s/document\.title = 'Jellyfin'/document\.title = 'Chicanoflix'/g" scripts/libraryMenu.js sed -i "s/document\.title = 'Jellyfin'/document\.title = 'Chicanoflix'/g" ../jellyfin-web/src/scripts/libraryMenu.js
sed -i "s/document\.title = title || 'Jellyfin'/document\.title = title || 'Chicanoflix'/g" scripts/libraryMenu.js sed -i "s/document\.title = title || 'Jellyfin'/document\.title = title || 'Chicanoflix'/g" ../jellyfin-web/src/scripts/libraryMenu.js
#index.html anpassen #index.html anpassen
sed -i "s|content=\"https://jellyfin.org\"|content=\"https://fc-chicanos.de\"|g" index.html sed -i "s|content=\"https://jellyfin.org\"|content=\"https://fc-chicanos.de\"|g" ../jellyfin-web/src/index.html
sed -i "s/content=\"Jellyfin\"/content=\"Chicanoflix\"/g" index.html sed -i "s/content=\"Jellyfin\"/content=\"Chicanoflix\"/g" ../jellyfin-web/src/index.html
sed -i "s|content=\"The Free Software Media System\"|content=\"Chicanoflix und Chill\"|g" index.html sed -i "s|content=\"The Free Software Media System\"|content=\"Chicanoflix und Chill\"|g" ../jellyfin-web/src/index.html
sed -i "s|<title>Jellyfin</title>|<title>Chicanoflix</title>|g" index.html sed -i "s|<title>Jellyfin</title>|<title>Chicanoflix</title>|g" ../jellyfin-web/src/index.html
sed -i '/<div class="mainDrawerHandle">/r vorlagen/index.manuell' index.html sed -i '/<div class="mainDrawerHandle">/r vorlagen/index.manuell' ../jellyfin-web/src/index.html
#Bilder in Projekt-Ordner kopieren #Bilder in Projekt-Ordner kopieren
cp assets/img/* ../jellyfin-web/src/assets/img/ cp assets/img/* ../jellyfin-web/src/assets/img/
#customLinks-Datei und index.html kopieren #customLinks-Datei und index.html kopieren
cp scripts/libraryMenu.js ../jellyfin-web/src/scripts/ #cp scripts/libraryMenu.js ../jellyfin-web/src/scripts/
cp index.html ../jellyfin-web/src/ #cp index.html ../jellyfin-web/src/
#tv-Oberfläche #tv-Oberfläche
cp components/CustomCss.tsx ../jellyfin-web/src/components/ cp components/CustomCss.tsx ../jellyfin-web/src/components/