From 8e2677b1f9b05aa3fe6bba3d900e1c2dfd852584 Mon Sep 17 00:00:00 2001 From: WindowsAddict Date: Fri, 17 Jan 2025 04:34:03 +0530 Subject: [PATCH] Check license files instead of folder in change edition --- MAS/All-In-One-Version-KL/MAS_AIO.cmd | 2 +- MAS/Separate-Files-Version/Change_Windows_Edition.cmd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MAS/All-In-One-Version-KL/MAS_AIO.cmd b/MAS/All-In-One-Version-KL/MAS_AIO.cmd index 368a657..7c1fd34 100644 --- a/MAS/All-In-One-Version-KL/MAS_AIO.cmd +++ b/MAS/All-In-One-Version-KL/MAS_AIO.cmd @@ -8853,7 +8853,7 @@ set _dismapi=0 :: Check if DISM API or slmgr.vbs is required for edition upgrade -if not exist "%SysPath%\spp\tokens\skus\%targetedition%\" ( +if not exist "%SysPath%\spp\tokens\skus\%targetedition%\%targetedition%*.xrm-ms" ( echo %_wtarget% | find /i " %targetedition% " || ( set _dismapi=1 ) diff --git a/MAS/Separate-Files-Version/Change_Windows_Edition.cmd b/MAS/Separate-Files-Version/Change_Windows_Edition.cmd index 6a7aada..868666d 100644 --- a/MAS/Separate-Files-Version/Change_Windows_Edition.cmd +++ b/MAS/Separate-Files-Version/Change_Windows_Edition.cmd @@ -506,7 +506,7 @@ set _dismapi=0 :: Check if DISM API or slmgr.vbs is required for edition upgrade -if not exist "%SysPath%\spp\tokens\skus\%targetedition%\" ( +if not exist "%SysPath%\spp\tokens\skus\%targetedition%\%targetedition%*.xrm-ms" ( echo %_wtarget% | find /i " %targetedition% " || ( set _dismapi=1 )