Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit f54f252

Browse files
authored
Turn on developer mode
It automatically activates developer mode.
1 parent dde0df5 commit f54f252

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/EasierWsaInstaller/install.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ if ($Arch -eq 'Arm64' -or $Arch -eq 'amd64') {
3636
Set-Location "C:\easierwsainstaller-project"
3737
Add-AppxPackage Microsoft*WindowsSubsystemForAndroid*.msixbundle
3838
} else {
39+
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
3940
Add-AppxPackage -Register .\AppxManifest.xml
4041
}
4142
$PSVersionTable
@@ -44,4 +45,4 @@ Write-Host "No-Stop"
4445
} else {
4546
pause
4647
}
47-
}
48+
}

0 commit comments

Comments
 (0)