diff --git a/dingBoot-linux.sh b/dingBoot-linux.sh old mode 100755 new mode 100644 index 16c4e7f..c84f95f --- a/dingBoot-linux.sh +++ b/dingBoot-linux.sh @@ -32,13 +32,13 @@ extract_jar() { start_pierced() { cd ../ - if [ ! -d "pierced/" ];then - git clone https://github.com/open-dingtalk/pierced.git - cd pierced/linux + if [ ! -d "dingtalk-pierced-client/" ];then + git clone https://github.com/open-dingtalk/dingtalk-pierced-client.git + cd dingtalk-pierced-client/linux chmod 777 ./ding ./ding -config=./ding.cfg -subdomain=${appKey} $port else - cd pierced/linux + cd dingtalk-pierced-client/linux chmod 777 ./ding ./ding -config=./ding.cfg -subdomain=${appKey} $port fi diff --git a/dingBoot-mac.sh b/dingBoot-mac.sh old mode 100755 new mode 100644 index 6c399a8..87c456f --- a/dingBoot-mac.sh +++ b/dingBoot-mac.sh @@ -32,13 +32,13 @@ extract_jar() { start_pierced() { cd ../ - if [ ! -d "pierced/" ];then - git clone https://github.com/open-dingtalk/pierced.git - cd pierced/mac_64 + if [ ! -d "dingtalk-pierced-client/" ];then + git clone https://github.com/open-dingtalk/dingtalk-pierced-client.git + cd dingtalk-pierced-client/mac chmod 777 ./ding ./ding -config=./ding.cfg -subdomain=${appKey} $port else - cd pierced/mac_64 + cd dingtalk-pierced-client/mac chmod 777 ./ding ./ding -config=./ding.cfg -subdomain=${appKey} $port fi diff --git a/dingBoot-windows.bat b/dingBoot-windows.bat old mode 100755 new mode 100644 index f189f3c..08d7d48 --- a/dingBoot-windows.bat +++ b/dingBoot-windows.bat @@ -6,9 +6,9 @@ set appSecret=%4 set agentId=%5 set corpId=%6 -if not exist ../pierced ( - git clone https://github.com/open-dingtalk/pierced.git ../pierced +if not exist ../dingtalk-pierced-client ( + git clone https://github.com/open-dingtalk/dingtalk-pierced-client.git ../dingtalk-pierced-client ) start cmd /k "mvn clean package && move backend\target\*.jar %appName%.jar && java -jar %appName%.jar --port=%port% --appKey=%appKey% --appSecret=%appSecret% --agentId=%agentId% --corpId=%corpId%" -start cmd /k "cd ../pierced/windows_64 && ding -config=ding.cfg -subdomain=%appKey% %port%" +start cmd /k "cd ../dingtalk-pierced-client/windows_64 && ding -config=ding.cfg -subdomain=%appKey% %port%"