mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Add $INSTDIR\python\Scripts to %PATH% on Windows as well
This commit is contained in:
parent
11403d7826
commit
7b7a7874d8
@ -245,10 +245,14 @@ Section -post
|
||||
# Add the "bin" directory to the PATH.
|
||||
Push "$INSTDIR\python"
|
||||
Call RemoveFromPath
|
||||
Push "$INSTDIR\python\Scripts"
|
||||
Call RemoveFromPath
|
||||
Push "$INSTDIR\bin"
|
||||
Call RemoveFromPath
|
||||
Push "$INSTDIR\python"
|
||||
Call AddToPath
|
||||
Push "$INSTDIR\python\Scripts"
|
||||
Call AddToPath
|
||||
Push "$INSTDIR\bin"
|
||||
Call AddToPath
|
||||
|
||||
@ -281,9 +285,7 @@ Section Uninstall
|
||||
!ifndef PPGAME
|
||||
Push "$INSTDIR\python"
|
||||
Call un.RemoveFromPath
|
||||
Push "$INSTDIR\python"
|
||||
Call un.RemoveFromPath
|
||||
Push "$INSTDIR\bin"
|
||||
Push "$INSTDIR\python\Scripts"
|
||||
Call un.RemoveFromPath
|
||||
Push "$INSTDIR\bin"
|
||||
Call un.RemoveFromPath
|
||||
|
Loading…
x
Reference in New Issue
Block a user