feat: add safe native Mentor PDF exporter and tested portable UI

This commit is contained in:
Codex committed 2026-10-09 21:32:31 +08:00
1 parent 10a87d2cee
commit d4928af5b6
33 files changed
+2267 -13

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
@echo off
setlocal
cd /d "%~dp0"
if exist "%~dp0release\MentorPDFExporter\MentorPDFExporter.exe" (
start "" "%~dp0release\MentorPDFExporter\MentorPDFExporter.exe"
exit /b 0
)
if exist "%~dp0.venv\Scripts\pythonw.exe" (
set "PYTHONPATH=%~dp0src"
start "" "%~dp0.venv\Scripts\pythonw.exe" -m mentor_pdf_export
exit /b 0
)
echo Portable executable or development environment not found.
pause
exit /b 1