From 847e1b1083aa677005d0b9a94176a1d5c23cb897 Mon Sep 17 00:00:00 2001 From: mkuba50 Date: Sat, 20 Apr 2019 16:04:17 +0200 Subject: [PATCH] Fix setup background --- convert.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/convert.sh b/convert.sh index 88ca0c8..1ccf9ec 100644 --- a/convert.sh +++ b/convert.sh @@ -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