mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 20:25:49 +00:00
Update install.sh
This commit is contained in:
parent
7f47f7bce8
commit
af8aee7408
1 changed files with 17 additions and 3 deletions
|
|
@ -207,11 +207,26 @@ getESD() {
|
||||||
|
|
||||||
local dir="$1"
|
local dir="$1"
|
||||||
local version="$2"
|
local version="$2"
|
||||||
|
local editionName
|
||||||
local winCatalog size
|
local winCatalog size
|
||||||
|
|
||||||
case "${version,,}" in
|
case "${version,,}" in
|
||||||
"win11${PLATFORM,,}" ) winCatalog="https://go.microsoft.com/fwlink?linkid=2156292" ;;
|
"win11${PLATFORM,,}" )
|
||||||
"win10${PLATFORM,,}" ) winCatalog="https://go.microsoft.com/fwlink/?LinkId=841361" ;;
|
editionName="Professional"
|
||||||
|
winCatalog="https://go.microsoft.com/fwlink?linkid=2156292"
|
||||||
|
;;
|
||||||
|
"win10${PLATFORM,,}" )
|
||||||
|
editionName="Professional"
|
||||||
|
winCatalog="https://go.microsoft.com/fwlink/?LinkId=841361"
|
||||||
|
;;
|
||||||
|
"win11${PLATFORM,,}-enterprise" )
|
||||||
|
editionName="Enterprise"
|
||||||
|
winCatalog="https://go.microsoft.com/fwlink?linkid=2156292"
|
||||||
|
;;
|
||||||
|
"win10${PLATFORM,,}-enterprise" )
|
||||||
|
editionName="Enterprise"
|
||||||
|
winCatalog="https://go.microsoft.com/fwlink/?LinkId=841361"
|
||||||
|
;;
|
||||||
*) error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1 ;;
|
*) error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
@ -243,7 +258,6 @@ getESD() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local esdLang="en-us"
|
local esdLang="en-us"
|
||||||
local editionName="Professional"
|
|
||||||
local edQuery='//File[Architecture="'${PLATFORM}'"][Edition="'${editionName}'"]'
|
local edQuery='//File[Architecture="'${PLATFORM}'"][Edition="'${editionName}'"]'
|
||||||
|
|
||||||
echo -e '<Catalog>' > "$dir/$fFile"
|
echo -e '<Catalog>' > "$dir/$fFile"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue