[TIMOB-24705] Windows: info detection should list whether user has developer mode enabled
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Won't Do |
Resolution Date | 2021-02-11T12:13:05.000+0000 |
Affected Version/s | Release 6.1.0 |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Unknown |
Created | 2017-05-18T11:29:46.000+0000 |
Updated | 2021-02-11T12:13:05.000+0000 |
Description
Description
ws-local builds require 'Developer mode' to be enabled in Windows 10. Therefore this should be listed inappc ti info
. There are 3 possible settings:
* Windows Store apps
* Sideload apps
* Developer mode
This could then lead into other enhancements such as erroring out or prompting a user to enable this when building for ws-local
References
explorer.exe ms-settings:developers
opens the settings screen (We shouldn't open this unless a user asks, may only be useful from Studios perspective)
http://www.thewindowsclub.com/how-to-enable-developer-mode-in-windows-10
http://stackoverflow.com/questions/41231586/how-to-detect-if-developer-mode-is-active-on-windows-10
Microsoft shows another way to enable developer mode from CLI, but it looks like so evil:
https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development
As far as I can see, executing
show-windowsdeveloperlicenseregistration
as well as querying registryHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock
requires administrator privileges. Is there any way to detect it _without_ asking admin permission?I take it we're not going to fix this.