diff --git a/NSudo/NSudo.cpp b/NSudo/NSudo.cpp index ad5aaf8..77b7c1e 100644 --- a/NSudo/NSudo.cpp +++ b/NSudo/NSudo.cpp @@ -136,7 +136,7 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, UNREFERENCED_PARAMETER(hInstance); UNREFERENCED_PARAMETER(hPrevInstance); - if (_tcsclen(lpCmdLine) == 0) return MessageBox(HWND_DESKTOP, TEXT("Thanks M2Team"), TEXT("NSudo"), MB_ICONASTERISK); + if (!(*lpCmdLine)) return MessageBox(HWND_DESKTOP, TEXT("Thanks M2Team"), TEXT("NSudo"), MB_ICONASTERISK); HRESULT hr = S_OK; HANDLE hToken = NULL, hTokenWinLogon = NULL, hTokenTrusted = NULL; diff --git a/Pack/RemoveList.10.0.17763.txt b/Pack/RemoveList.10.0.17763.txt index 123e380..2192ea9 100644 --- a/Pack/RemoveList.10.0.17763.txt +++ b/Pack/RemoveList.10.0.17763.txt @@ -12,9 +12,6 @@ Microsoft-Windows-Holographic-Desktop-Merged-WOW64-Package Microsoft-Windows-Non-LTSB-RegulatedPackages-Package ;Edgeä¯ÀÀÆ÷ Microsoft-Windows-Internet-Browser-Package -;Cortana -;Microsoft-Windows-Cortana-Package -;Microsoft-Windows-Cortana-PAL-Desktop-Package OpenSSH-Client-Package ;Hyper @@ -30,3 +27,9 @@ HyperV-VID-Package Microsoft-Windows-HyperV-HypervisorPlatform-Package Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Package Microsoft-Windows-OneCore-Containers-Opt-Package +HyperV-Feature-VirtualMachinePlatform-Package +Microsoft-OneCore-VirtualizationBasedSecurity-Package +HyperV-Networking-Package +HyperV-HvSocket-Package +Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Disabled-Package +Microsoft-Windows-HyperV-OptionalFeature-VirtualMachinePlatform-Disabled-Package \ No newline at end of file diff --git a/WimHelper.cmd b/WimHelper.cmd index 0f3e60a..bfca59d 100644 --- a/WimHelper.cmd +++ b/WimHelper.cmd @@ -76,7 +76,7 @@ for /f %%f in ('type "%~dp0Pack\CapabilityList.%ImageShortVersion%.txt" 2^>nul') for /f %%f in ('type "%~dp0Pack\RemoveList.%ImageVersion%.txt" 2^>nul') do call :RemoveComponent "%~1", "%%f" call :IntRollupFix "%~1" rem call :AddAppx "%~1", "DesktopAppInstaller", "VCLibs.14" -call :AddAppx "%~1", "Store", "VCLibs.14 Runtime.1.7 Framework.1.7" +call :AddAppx "%~1", "Store", "VCLibs.14 Runtime.1.7 Framework.1.7 VP9" call :AddAppx "%~1", "WindowsCalculator" call :AddAppx "%~1", "XboxGamingOverlay" call :ImportOptimize "%~1"