Improve DOCX translation handling
This commit is contained in:
1 parent
20cf8f8188
commit
64c292db82
4 files changed
+708
-32
No files matched your search
@@ -18,7 +18,7 @@ REM 如果传了参数,就用参数;否则默认用当前目录
|
||||
if "%~1"=="" (
|
||||
python docutranslate/cli.py -i --host 0.0.0.0
|
||||
) else (
|
||||
python docutranslate/cli.py -i "%~1"
|
||||
python docutranslate/cli.py -i --host 0.0.0.0 %*
|
||||
)
|
||||
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
@@ -32,4 +32,4 @@ if not "%EXIT_CODE%"=="0" (
|
||||
pause
|
||||
)
|
||||
|
||||
exit /b %EXIT_CODE%
|
||||
exit /b %EXIT_CODE%
|
||||
Reference in new issue
Block a user