[PATCH] wine.inf: add powershell location to the path (resend)

Louis Lenders xerox.xerox2000x at gmail.com
Fri Dec 13 02:21:16 CST 2019


(now with signed-off header)

On win7 the location of powershell is present in the path (could not check on other versions)

Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
 loader/wine.inf.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index d324461c6e..d62fd5065b 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -624,7 +624,7 @@ HKLM,%Control%\Session Manager,HeapDeCommitTotalFreeThreshold,0x00040002,0
 HKLM,%Control%\Session Manager,HeapSegmentCommit,0x00040002,0
 HKLM,%Control%\Session Manager,HeapSegmentReserve,0x00040002,0
 HKLM,%Control%\Session Manager\Environment,"ComSpec",0x00020000,"%11%\cmd.exe"
-HKLM,%Control%\Session Manager\Environment,"PATH",0x00020002,"%11%;%10%;%11%\wbem"
+HKLM,%Control%\Session Manager\Environment,"PATH",0x00020002,"%11%;%10%;%11%\wbem;%11%\WindowsPowershell\v1.0"
 HKLM,%Control%\Session Manager\Environment,"PATHEXT",,".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH"
 HKLM,%Control%\Session Manager\Environment,"SystemDrive",2,"c:"
 HKLM,%Control%\Session Manager\Environment,"SYSTEMROOT",,"%10%"
-- 
2.24.0




More information about the wine-devel mailing list