Initial mail exporter version

This commit is contained in:
2026-04-21 16:02:47 +02:00
commit 0bfd55b560
3 changed files with 1194 additions and 0 deletions

40
build_exe.bat Normal file
View File

@@ -0,0 +1,40 @@
@echo off
setlocal
cd /d "%~dp0"
echo.
echo === MailExporter build ===
echo Working directory: %CD%
echo.
python -m PyInstaller --version >nul 2>&1
if errorlevel 1 (
echo PyInstaller non risulta installato nell'ambiente Python corrente.
echo.
echo Installa le dipendenze con:
echo python -m pip install pyinstaller customtkinter pywin32
echo.
exit /b 1
)
echo Pulizia build precedente...
if exist build rmdir /s /q build
if exist dist\MailExporter rmdir /s /q dist\MailExporter
echo.
echo Avvio PyInstaller...
python -m PyInstaller --clean --noconfirm mailexporter.spec
if errorlevel 1 (
echo.
echo Build fallita.
exit /b 1
)
echo.
echo Build completata.
echo Eseguibile:
echo %CD%\dist\MailExporter\MailExporter.exe
echo.
endlocal