This commit is contained in:
LoveSy 2021-12-12 07:21:46 +08:00
parent 50a8e3b4e9
commit 24fb346d0b

View File

@ -431,7 +431,7 @@ jobs:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1" reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
\$Installed = \$null \$Installed = \$null
\$Installed = Get-AppxPackage Name 'MicrosoftCorporationII.WindowsSubsystemForAndroid' \$Installed = Get-AppxPackage -Name 'MicrosoftCorporationII.WindowsSubsystemForAndroid'
If (\$null -ne \$Installed) { If (\$null -ne \$Installed) {
If (-not (\$Installed.IsDevelopmentMode)) { If (-not (\$Installed.IsDevelopmentMode)) {