Browse Source

Revert "convert dark-theme utility to Powershell script"

This reverts commit 15d73847b7.
pull/24/head
Alex Hirsch 9 years ago
parent
commit
c3703c26c9
  1. 14
      scripts/enable-dark-theme.ps1
  2. 7
      utils/dark-theme.reg

14
scripts/enable-dark-theme.ps1

@ -1,14 +0,0 @@
# Description
# This script will set registry keys so Applications using the Appx framework
# will use the dark theme instead of the default light one.
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1
echo "Enabling dark theme"
Import-Registry(@"
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
"@)

7
utils/dark-theme.reg

@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
Loading…
Cancel
Save