mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-25 02:41:45 +00:00
bugfix: replace system HKEY with user
This commit is contained in:
parent
adc469b4f9
commit
0042e03908
@ -168,7 +168,7 @@ function InstallFont
|
||||
# Prerequisites / Constants
|
||||
Add-Type -AssemblyName PresentationCore
|
||||
$destination = "$env:LOCALAPPDATA\Microsoft\Windows\Fonts\"
|
||||
$regKey = "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Fonts"
|
||||
$regKey = "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Fonts"
|
||||
|
||||
# Create destination directory
|
||||
if (-not (Test-Path $destination))
|
||||
|
Loading…
Reference in New Issue
Block a user