Add warning when updates are detected
This commit is contained in:
parent
1b8b845285
commit
233ae6d69a
11
convert.sh
11
convert.sh
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
scriptName="UUP Converter v0.6.2"
|
scriptName="UUP Converter v0.6.3"
|
||||||
UUP_CONVERTER_SCRIPT=1
|
UUP_CONVERTER_SCRIPT=1
|
||||||
|
|
||||||
if [ -f `dirname $0`/convert_ve_plugin ]; then
|
if [ -f `dirname $0`/convert_ve_plugin ]; then
|
||||||
@ -391,6 +391,15 @@ extractDir="$tempDir/extract"
|
|||||||
|
|
||||||
echo -e "\033[1m$scriptName\033[0m"
|
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
|
if [ $runVirtualEditions -eq 1 ] && [ "$VIRTUAL_EDITIONS_PLUGIN_LOADED" != "1" ]; then
|
||||||
echo "Virtual editions will be not created, because plugin isn't loaded."
|
echo "Virtual editions will be not created, because plugin isn't loaded."
|
||||||
runVirtualEditions=0
|
runVirtualEditions=0
|
||||||
|
@ -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
|
Windows machine, but want or need to create an ISO image for latest Windows
|
||||||
Insider version downloaded from UUP dump.
|
Insider version downloaded from UUP dump.
|
||||||
|
|
||||||
For obvious reasons this script will never support integration of Cumulative
|
**For obvious reasons this script will never support integration of Cumulative
|
||||||
Updates to created images.
|
Updates to created images.**
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user