JNC Windows
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
@echo off
|
||||
REM Build JNC-NetTools.exe con PyInstaller
|
||||
REM Requiere: pip install pyinstaller y dependencias (requirements-win.txt)
|
||||
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo Instalando dependencias Windows...
|
||||
pip install -r requirements-win.txt -q
|
||||
pip install pyinstaller -q
|
||||
|
||||
echo Construyendo ejecutable...
|
||||
pyinstaller --clean JNC-NetTools.spec
|
||||
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo Error en la construccion.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Listo. Ejecutable en: dist\JNC-NetTools.exe
|
||||
echo Para crear el instalador completo (Npcap + Nmap), ejecuta el script de Inno Setup (installer\installer.iss) despues de copiar Npcap y Nmap en installer\extras\
|
||||
exit /b 0
|
||||
Reference in New Issue
Block a user