Browse Source

Fix typo on Wrapper config

pull/217/head
iamteerawut 4 years ago
parent
commit
60169e763d
  1. 4
      Sophia/PowerShell 5.1/Module/Sophia.psm1
  2. 4
      Sophia/PowerShell 7/Module/Sophia.psm1
  3. 4
      Wrapper/Config/config.json

4
Sophia/PowerShell 5.1/Module/Sophia.psm1

@ -2402,11 +2402,11 @@ function WindowsSecurity {
switch ($PSCmdlet.ParameterSetName) {
"Hide" {
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray' -Name HideSystray -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray" -Name HideSystray -PropertyType DWord -Value 1 -Force
}
"Show" {
Remove-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray' -Name HideSystray -Force -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray" -Name HideSystray -Force -ErrorAction Ignore
}
}
}

4
Sophia/PowerShell 7/Module/Sophia.psm1

@ -2405,11 +2405,11 @@ function WindowsSecurity {
switch ($PSCmdlet.ParameterSetName) {
"Hide" {
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray' -Name HideSystray -PropertyType DWord -Value 1 -Force
New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray" -Name HideSystray -PropertyType DWord -Value 1 -Force
}
"Show" {
Remove-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray' -Name HideSystray -Force -ErrorAction Ignore
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Systray" -Name HideSystray -Force -ErrorAction Ignore
}
}
}

4
Wrapper/Config/config.json

@ -2313,14 +2313,14 @@
"Function": "WSL",
"Arg": {
"Zero": {
"Tag": "Enable",
"Tag": "Install",
"ToolTip": {
"EN": "Install the Windows Subsystem for Linux (WSL)",
"RU": "Установить подсистему Windows для Linux (WSL)"
}
},
"One": {
"Tag": "Disable",
"Tag": "Uninstall",
"ToolTip": {
"EN": "Uninstall the Windows Subsystem for Linux (WSL)",
"RU": "Удалить подсистему Windows для Linux (WSL)"

Loading…
Cancel
Save