Add warning when updates are detected

This commit is contained in:
luzeagithub 2021-03-11 08:47:34 +01:00
parent 1b8b845285
commit 233ae6d69a
2 changed files with 12 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
scriptName="UUP Converter v0.6.2"
scriptName="UUP Converter v0.6.3"
UUP_CONVERTER_SCRIPT=1
if [ -f `dirname $0`/convert_ve_plugin ]; then
@ -391,6 +391,15 @@ extractDir="$tempDir/extract"
echo -e "\033[1m$scriptName\033[0m"
updatesDetected=false
for file in `find "$uupDir" -type f -iname "windows10.0-kb*.cab"`; do
updatesDetected=true
done
if [ $updatesDetected == true ]; then
echo -e "\033[33mNote: This script does now allow the integration of updates.\nUse the Windows version of the converter to integrate updates."
fi
if [ $runVirtualEditions -eq 1 ] && [ "$VIRTUAL_EDITIONS_PLUGIN_LOADED" != "1" ]; then
echo "Virtual editions will be not created, because plugin isn't loaded."
runVirtualEditions=0

View File

@ -6,8 +6,8 @@ A basic UUP converter aimed at Linux and macOS users who don't have access to an
Windows machine, but want or need to create an ISO image for latest Windows
Insider version downloaded from UUP dump.
For obvious reasons this script will never support integration of Cumulative
Updates to created images.
**For obvious reasons this script will never support integration of Cumulative
Updates to created images.**
### Usage
```