diff --git a/backend/package.json b/backend/package.json index cbf0b1f..3292be6 100644 --- a/backend/package.json +++ b/backend/package.json @@ -18,7 +18,7 @@ "archiver": "^7.0.1", "basic-ftp": "^5.0.4", "bcryptjs": "^3.0.3", - "better-sqlite3": "^12.4.1", + "better-sqlite3": "^11.8.1", "cookie-parser": "^1.4.7", "cors": "^2.8.5", "dotenv": "^16.3.1", diff --git a/install.sh b/install.sh index 7709c4f..e9a8492 100644 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ ################################################################################ # 玩玩云 (WanWanYun) - 一键部署脚本 # 项目地址: https://gitee.com/yu-yon/vue-driven-cloud-storage -# 版本: v1.1.1 +# 版本: v1.1.2 ################################################################################ set -e @@ -377,22 +377,22 @@ install_dependencies() { case $PKG_MANAGER in apt) apt-get update - apt-get install -y curl wget git unzip lsb-release + apt-get install -y curl wget git unzip lsb-release build-essential python3 install_nodejs_apt install_nginx_apt ;; yum) - yum install -y curl wget git unzip redhat-lsb-core + yum install -y curl wget git unzip redhat-lsb-core gcc-c++ make python3 install_nodejs_yum install_nginx_yum ;; dnf) - dnf install -y curl wget git unzip redhat-lsb-core + dnf install -y curl wget git unzip redhat-lsb-core gcc-c++ make python3 install_nodejs_dnf install_nginx_dnf ;; zypper) - zypper install -y curl wget git unzip lsb-release + zypper install -y curl wget git unzip lsb-release gcc-c++ make python3 install_nodejs_zypper install_nginx_zypper ;;