change scripts location

This commit is contained in:
xiaoyaofenfen 2022-06-20 14:22:05 +08:00
parent 6b0c815597
commit 3d1aa1c8bb
8 changed files with 9 additions and 4 deletions

2
sync.sh → assets/scripts/sync.sh Executable file → Normal file
View File

@ -1,3 +1,5 @@
#!/bin/sh
# 请更改成你自己电脑上aliyunpan执行文件所在的目录
#cd /path/to/aliyunpan/folder

2
webdav.sh → assets/scripts/webdav.sh Executable file → Normal file
View File

@ -1,3 +1,5 @@
#!/bin/sh
# 请更改成你自己电脑上aliyunpan执行文件所在的目录
#cd /path/to/aliyunpan/folder

View File

@ -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"

View File

@ -1,3 +1,4 @@
#!/bin/sh
cd /home/app
chmod +x ./aliyunpan

View File

@ -1,3 +1,4 @@
#!/bin/sh
cd /home/app
chmod +x ./aliyunpan

View File

@ -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