Add portable Mentor schematic batch exporter
This commit is contained in:
commit
40fbb1893a
26 files changed
+3622
No files matched your search
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
setlocal
|
||||
chcp 65001 >nul
|
||||
set "PYTHONHOME="
|
||||
set "PYTHONPATH="
|
||||
set "PYTHONNOUSERSITE=1"
|
||||
set "PYTHONDONTWRITEBYTECODE=1"
|
||||
if not exist "%~dp0runtime\python.exe" (
|
||||
echo 预置 Python 不完整,请重新解压整个 MentorExport 文件夹。
|
||||
if "%~1"=="" pause
|
||||
exit /b 2
|
||||
)
|
||||
"%~dp0runtime\python.exe" -I -B -X utf8 "%~dp0export.py" %*
|
||||
set "export_result=%errorlevel%"
|
||||
if %export_result% equ 2 if "%~1"=="" pause
|
||||
exit /b %export_result%
|
||||
Reference in new issue
Block a user