Registry api win7 compat
Compare changes
+ 3
− 3
@@ -67,7 +67,7 @@ function Add-EnvPath {
@@ -78,8 +78,8 @@ function Add-EnvPath {
As described in the comment about add compatibility for windows 7 powershell default version (2.0) some methods used in the script are not available in windows 7. It seems powershell in windows 10 uses .NET version of the api (https://docs.microsoft.com/es-es/dotnet/api/microsoft.win32.registrykey?view=net-5.0) and windows 7 the netframework one (https://docs.microsoft.com/es-es/dotnet/api/microsoft.win32.registrykey?view=netframework-4.8)