Revert "convert dark-theme utility to Powershell script"

This reverts commit 15d73847b7.
This commit is contained in:
Alex Hirsch 2015-08-20 22:59:43 +02:00
parent 4d8ea54ea4
commit c3703c26c9
2 changed files with 7 additions and 14 deletions

View File

@ -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 Normal file
View File

@ -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