diff --git a/sync.bat b/assets/scripts/sync.bat similarity index 100% rename from sync.bat rename to assets/scripts/sync.bat diff --git a/sync.sh b/assets/scripts/sync.sh old mode 100755 new mode 100644 similarity index 98% rename from sync.sh rename to assets/scripts/sync.sh index 6a886c6..f792283 --- a/sync.sh +++ b/assets/scripts/sync.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # 请更改成你自己电脑上aliyunpan执行文件所在的目录 #cd /path/to/aliyunpan/folder diff --git a/webdav.bat b/assets/scripts/webdav.bat similarity index 100% rename from webdav.bat rename to assets/scripts/webdav.bat diff --git a/webdav.sh b/assets/scripts/webdav.sh old mode 100755 new mode 100644 similarity index 98% rename from webdav.sh rename to assets/scripts/webdav.sh index 2e4db53..725b577 --- a/webdav.sh +++ b/assets/scripts/webdav.sh @@ -1,3 +1,5 @@ +#!/bin/sh + # 请更改成你自己电脑上aliyunpan执行文件所在的目录 #cd /path/to/aliyunpan/folder diff --git a/build.sh b/build.sh index aa6fadf..7b73b59 100755 --- a/build.sh +++ b/build.sh @@ -75,10 +75,7 @@ Pack() { fi cp README.md "$output/$1" - cp webdav.sh "$output/$1" - cp webdav.bat "$output/$1" - cp sync.sh "$output/$1" - cp sync.bat "$output/$1" + cp -rf assets/scripts/* "$output/$1" cp -rf assets/plugin "$output/$1" cp -rf assets/sync_drive "$output/$1" diff --git a/docker/sync/app.sh b/docker/sync/app.sh index d8c3af9..61e6bd9 100755 --- a/docker/sync/app.sh +++ b/docker/sync/app.sh @@ -1,3 +1,4 @@ +#!/bin/sh cd /home/app chmod +x ./aliyunpan diff --git a/docker/webdav/app.sh b/docker/webdav/app.sh index 588bbd5..6c08424 100755 --- a/docker/webdav/app.sh +++ b/docker/webdav/app.sh @@ -1,3 +1,4 @@ +#!/bin/sh cd /home/app chmod +x ./aliyunpan diff --git a/win_build.bat b/win_build.bat index 6ea9348..e88636f 100644 --- a/win_build.bat +++ b/win_build.bat @@ -49,5 +49,7 @@ xcopy /e assets\plugin %output%\%1\plugin mkdir %output%\%1\sync_drive xcopy /e assets\sync_drive %output%\%1\sync_drive + +xcopy /e assets\scripts %output%\%1 endlocal