代码拉取完成,页面将自动刷新
同步操作将从 LibQQt应用程序开发组织/Multi-environ Technology(PyMake) 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
@echo off
:: pyexport.bat 在当前目录,导出某个环境。
if "%1" == "" (
echo usage:
echo " pyexport <env-name> [ <script-name> ]"
echo ------
echo please appoint a env name. & exit /b 0
)
set PYENVNAME=%1
if ""%1"" == """" (
set PYENVNAME=current
)
if /i "%1" == """" (
set PYENVNAME=current
)
set PYSCRIPTNAME=%2
if ""%2"" == """" (
set PYSCRIPTNAME=env
)
if /i "%2" == """" (
set PYSCRIPTNAME=env
)
set PYPROGRAMPATH=%~dp0
set PYPROGRAMNAME=pymake.bat
set PYPROGRAMPATHNAME=%PYPROGRAMPATH%%PYPROGRAMNAME%
rem echo starting cmd ...
rem for /F %%i in ('echo %random%') do ( set "PYEXECINDEX=%%i" )
rem echo cmd index: [%PYEXECINDEX%]
rem for /F %%i in ('"%PYPROGRAMPATHNAME%" source root') do ( set "PYMMSOURCEROOT=%%i" )
rem echo location : [%PYMMSOURCEROOT%]
rem for /F %%i in ('"%PYPROGRAMPATHNAME%" source config') do ( set "PYMMSOURCECONFIG=%%i" )
rem echo configure: [%PYMMSOURCECONFIG%] [1]
rem for /F %%i in ('"%PYPROGRAMPATHNAME%" get current env') do ( set "PYMMDEFAULTENVNAME=%%i" )
rem echo environme: [%PYMMDEFAULTENVNAME%] [default]
rem if not "%2" == "" (
rem set PYENVNAME=%2
rem ) else (
rem set PYENVNAME=%PYMMDEFAULTENVNAME%
rem )
rem for /F %%i in ('"%PYPROGRAMPATHNAME%" have env %PYENVNAME%') do ( set "PYEXECFLAG=%%i" )
rem if "%PYEXECFLAG%" == "False" (
rem echo environme: [%PYENVNAME%] is not existed.
rem exit /b 0
rem )
rem echo environme: [%PYENVNAME%] [%PYEXECFLAG%] [USED]
rem for /F %%i in ('"%PYPROGRAMPATHNAME%" have cmd %PYEXECNAME%') do ( set "PYEXECFLAG=%%i" )
rem if "%PYEXECFLAG%" == "False" (
rem echo command : [%PYEXECNAME%] is system wild command.
rem ) else (
rem echo command : [%PYEXECNAME%] [%PYEXECFLAG%] [EXISTED]
rem )
rem for /F %%i in ('"%PYPROGRAMPATHNAME%" get default exec root') do ( set "PYMMSHELLROOT=%%i" )
rem echo exec root: [%PYMMSHELLROOT%] [default]
rem echo exec root: [%CD%] [here]
rem echo %PYENVNAME%
rem echo %PYSCRIPTNAME%
call "%PYPROGRAMPATHNAME%" export2 here %PYENVNAME% to %PYSCRIPTNAME% --local --custom
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。