This commit is contained in:
dragonflylee 2019-01-18 12:25:45 +08:00
parent 9e8951e26d
commit 8b794088c7
3 changed files with 8 additions and 5 deletions

View File

@ -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;

View File

@ -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

View File

@ -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"