更新自动下载脚本

This commit is contained in:
dgflash
2024-10-19 15:51:24 +08:00
parent 894c39fa93
commit 6b7fe8ba36
7 changed files with 5 additions and 54 deletions

Submodule extensions/oops-plugin-framework-tools deleted from d7ee14a487

View File

@@ -1,15 +0,0 @@
md extensions
cd extensions
IF EXIST oops-plugin-bundle (
goto update
) ELSE (
goto clone
)
:clone
git clone -b master https://gitee.com/dgflash/oops-plugin-bundle.git
:update
cd oops-plugin-bundle
git pull

View File

@@ -1,11 +0,0 @@
if [ ! -d "extensions" ]; then
mkdir extensions
fi
cd extensions
if [ ! -d "oops-plugin-bundle" ]; then
git clone -b master https://gitee.com/dgflash/oops-plugin-bundle.git
else
cd oops-plugin-bundle
git pull
fi

View File

@@ -1,15 +0,0 @@
md extensions
cd extensions
IF EXIST oops-plugin-framework-tools (
goto update
) ELSE (
goto clone
)
:clone
git clone -b master https://gitee.com/dgflash/oops-plugin-framework-tools.git
:update
cd oops-plugin-framework-tools
git pull

View File

@@ -1,11 +0,0 @@
if [ ! -d "extensions" ]; then
mkdir extensions
fi
cd extensions
if [ ! -d "oops-plugin-framework-tools" ]; then
git clone -b master https://gitee.com/dgflash/oops-plugin-framework-tools.git
else
cd oops-plugin-framework-tools
git pull
fi

View File

@@ -12,4 +12,6 @@ git clone -b master https://gitee.com/dgflash/oops-plugin-framework.git
:update
cd oops-plugin-framework
git pull
git pull
npm install

View File

@@ -9,3 +9,5 @@ else
cd oops-plugin-framework
git pull
fi
npm install