在树莓派上不使用sqlcipher

This commit is contained in:
2021-11-07 16:30:39 +08:00
parent d964439624
commit 9760528ed0
5 changed files with 1412 additions and 495 deletions
+12
View File
@@ -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