Fix setup background

This commit is contained in:
mkuba50 2019-04-20 16:04:17 +02:00
parent 2c9eeaa109
commit 847e1b1083

View File

@ -1,5 +1,5 @@
#!/bin/bash
scriptName="UUP Converter v0.4.0"
scriptName="UUP Converter v0.4.1"
editions='analogonecore
andromeda
@ -394,6 +394,9 @@ y' | chntpw -e "$tempDir/SOFTWARE" >/dev/null
wimlib-imagex update ISODIR/sources/boot.wim 1 \
--command "add $tempDir/SOFTWARE /Windows/System32/config/SOFTWARE" >/dev/null
wimlib-imagex update ISODIR/sources/boot.wim 1 \
--command "add ISODIR/sources/background_cli.bmp /Windows/system32/winre.jpg" >/dev/null
wimlib-imagex update ISODIR/sources/boot.wim 1 \
--command "delete /Windows/System32/winpeshl.ini" >/dev/null
@ -423,6 +426,7 @@ list=
echo "delete /Windows/System32/winpeshl.ini" >"$tempDir/update.txt"
echo "add ISODIR/setup.exe /setup.exe" >>"$tempDir/update.txt"
echo "add ISODIR/sources/background_cli.bmp /sources/background.bmp" >>"$tempDir/update.txt"
echo "add ISODIR/sources/background_cli.bmp /Windows/system32/winre.jpg" >>"$tempDir/update.txt"
for i in $files; do
echo "add ISODIR/$i /$i" >>"$tempDir/update.txt"
done