summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--coin/provisioning/common/windows/win10-enable-devmode.ps15
-rw-r--r--coin/provisioning/qtci-windows-10-x86/30-enable-devmode.ps11
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/30-enable-devmode.ps11
3 files changed, 7 insertions, 0 deletions
diff --git a/coin/provisioning/common/windows/win10-enable-devmode.ps1 b/coin/provisioning/common/windows/win10-enable-devmode.ps1
new file mode 100644
index 00000000..022adc52
--- /dev/null
+++ b/coin/provisioning/common/windows/win10-enable-devmode.ps1
@@ -0,0 +1,5 @@
+# Turning on developer mode.
+#
+# In order to run auto tests for UWP, we have to enable developer mode on Windows 10 machines.
+# https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development
+REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /V AllowDevelopmentWithoutDevLicense /T REG_DWORD /D 1 /F
diff --git a/coin/provisioning/qtci-windows-10-x86/30-enable-devmode.ps1 b/coin/provisioning/qtci-windows-10-x86/30-enable-devmode.ps1
new file mode 100644
index 00000000..01e6f8b0
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86/30-enable-devmode.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\win10-enable-devmode.ps1"
diff --git a/coin/provisioning/qtci-windows-10-x86_64/30-enable-devmode.ps1 b/coin/provisioning/qtci-windows-10-x86_64/30-enable-devmode.ps1
new file mode 100644
index 00000000..01e6f8b0
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86_64/30-enable-devmode.ps1
@@ -0,0 +1 @@
+. "$PSScriptRoot\..\common\windows\win10-enable-devmode.ps1"