I hate linux sometimes

DID YOU KNOW, THAT " AND ' ARE NOT THE SAME? Variables get put through
with ther LITERAL NAME....
This commit is contained in:
Jesse James Isler 2022-06-01 21:11:28 +02:00
parent 51bd8dd07d
commit 156dbab820

View File

@ -1,5 +1,5 @@
# Add Music to the login screen
export videoid="ZjQZxqTipHM"
export Video='<section class="join-body flexrow"><div class="flexcol"><div class="app"><center><iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/$videoid?autoplay=1&amp;controls=0&amp;loop=1" title="Background Music" frameborder="0" allow="autoplay;"></iframe></center></div></div></section>'
sed -i -e '70i $Video' /home/foundry/resources/app/templates/setup/join-game.html
videoid="ZjQZxqTipHM"
Video="<section class='join-body flexrow'><div class='flexcol'><div class='app'><center><iframe width='560' height='315' src='https://www.youtube-nocookie.com/embed/$videoid?autoplay=1&amp;controls=0&amp;loop=1' title='Background Music' frameborder='0' allow='autoplay;'></iframe></center></div></div></section>"
sed -i -e "70i $Video" /home/foundry/resources/app/templates/setup/join-game.html
# Nice