1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-08 07:29:03 +00:00

Make sure that all locations are added, not just the last one

This commit is contained in:
nnposter
2025-10-19 02:29:36 +00:00
parent a36c660bf2
commit 77f3edfc8a

View File

@@ -23,7 +23,7 @@ set PATH=%NMAPDIR%\zenmap\bin;%PATH%
for /D %%P in ("%ProgramFiles%\Python 3.*",
"%ProgramFiles(x86)%\Python 3.*",
"%LocalAppData%\Programs\Python\Python3*"
) do set PATH=%PATH%;%%~P
) do set PATH=!PATH!;%%~P
for %%P in ( py.exe, python.exe) do (
set PYTHON=%%~f$PATH:P