在树莓派上不使用sqlcipher
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "$(dirname "$0")" && cd ../packages/web || exit 1
|
||||
if ! npm run-script build; then
|
||||
exit 1
|
||||
fi
|
||||
if [[ $(ssh master@home.mattuy.top -e /data/share/www-root/vchat) ]]; then
|
||||
echo "远程目录已存在,跳过复制"
|
||||
exit
|
||||
fi
|
||||
echo 复制编译结果到远程目录...
|
||||
scp -r ./dist/fiora master@home.mattuy.top:/data/share/www-root/vchat
|
||||
Reference in New Issue
Block a user