Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24705] Windows: info detection should list whether user has developer mode enabled

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionWon't Do
Resolution Date2021-02-11T12:13:05.000+0000
Affected Version/sRelease 6.1.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterEwan Harris
AssigneeUnknown
Created2017-05-18T11:29:46.000+0000
Updated2021-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 in appc 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

Comments

  1. Kota Iguchi 2017-07-07

    Microsoft shows another way to enable developer mode from CLI, but it looks like so evil:
       PS C:\WINDOWS\system32> reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
       
    https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development
  2. Kota Iguchi 2017-07-12

    As far as I can see, executing show-windowsdeveloperlicenseregistration as well as querying registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock requires administrator privileges. Is there any way to detect it _without_ asking admin permission?
  3. Chris Barber 2020-01-30

    I take it we're not going to fix this.

JSON Source