png2
This commit is contained in:
parent
4f8039cc49
commit
5a88c0045d
11
convert.sh
11
convert.sh
@ -498,6 +498,11 @@ elif [ -e ./ISODIR/sources/background_svr.png ]; then
|
|||||||
bckimg=background_svr.png
|
bckimg=background_svr.png
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${bckimg: -3}" == "png" ]; then
|
||||||
|
wimlib-imagex update ISODIR/sources/boot.wim 1 \
|
||||||
|
--command "add ISODIR/sources/$bckimg /Windows/system32/winre.png" >/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
wimlib-imagex update ISODIR/sources/boot.wim 1 \
|
wimlib-imagex update ISODIR/sources/boot.wim 1 \
|
||||||
--command "add ISODIR/sources/$bckimg /Windows/system32/winre.jpg" >/dev/null
|
--command "add ISODIR/sources/$bckimg /Windows/system32/winre.jpg" >/dev/null
|
||||||
|
|
||||||
@ -527,9 +532,9 @@ echo "delete /Windows/System32/winpeshl.ini" >"$tempDir/update.txt"
|
|||||||
echo "add ISODIR/setup.exe /setup.exe" >>"$tempDir/update.txt"
|
echo "add ISODIR/setup.exe /setup.exe" >>"$tempDir/update.txt"
|
||||||
echo "add ISODIR/sources/inf/setup.cfg /sources/inf/setup.cfg" >>"$tempDir/update.txt"
|
echo "add ISODIR/sources/inf/setup.cfg /sources/inf/setup.cfg" >>"$tempDir/update.txt"
|
||||||
echo "add ISODIR/sources/$bckimg /Windows/system32/winre.jpg" >>"$tempDir/update.txt"
|
echo "add ISODIR/sources/$bckimg /Windows/system32/winre.jpg" >>"$tempDir/update.txt"
|
||||||
if [ "${bckimg: -3}" == "bmp" ]; then
|
echo "add ISODIR/sources/$bckimg /sources/background.bmp" >>"$tempDir/update.txt"
|
||||||
echo "add ISODIR/sources/$bckimg /sources/background.bmp" >>"$tempDir/update.txt"
|
if [ "${bckimg: -3}" == "png" ]; then
|
||||||
else
|
echo "add ISODIR/sources/$bckimg /Windows/system32/winre.png" >>"$tempDir/update.txt"
|
||||||
echo "add ISODIR/sources/$bckimg /sources/background.png" >>"$tempDir/update.txt"
|
echo "add ISODIR/sources/$bckimg /sources/background.png" >>"$tempDir/update.txt"
|
||||||
fi
|
fi
|
||||||
for i in $files; do
|
for i in $files; do
|
||||||
|
Loading…
Reference in New Issue
Block a user