From abcae8a0d0c6cc8e8bd34fbe8cafe5f86d5a49f5 Mon Sep 17 00:00:00 2001 From: OSPanel <93676052+OSPanel@users.noreply.github.com> Date: Wed, 17 Apr 2024 09:37:11 +0300 Subject: [PATCH] Update osp.bat --- system/templates/osp.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/templates/osp.bat b/system/templates/osp.bat index 8987adc0f..f536086d7 100644 --- a/system/templates/osp.bat +++ b/system/templates/osp.bat @@ -543,6 +543,8 @@ goto end if "%2"=="" goto eargument call :strfind "%2" "Node-" if defined OSP_TMPVAL call :nodeadd node add %2 %3 & goto end +call :strfind "%2" "Python-" +if defined OSP_TMPVAL call :pythonadd python add %2 %3 & goto end set "OSP_TMPVAL=" set "OSP_TMP_NAME=%2" if not "%OSP_ADDONS_LIST%"=="" for %%a in (%OSP_ADDONS_LIST%) do ( @@ -569,6 +571,8 @@ goto end if "%2"=="" goto eargument call :strfind "%2" "Node-" if defined OSP_TMPVAL call :nodeuse node use %2 %3 & goto end +call :strfind "%2" "Python-" +if defined OSP_TMPVAL call :pythonuse python use %2 %3 & goto end set "OSP_TMP_NAME=%2" if not "%OSP_ADDONS_LIST%"=="" for %%a in (%OSP_ADDONS_LIST%) do ( if /i "%%a"=="%2" set "OSP_TMP_NAME=%%a"