mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
add termux support
This commit is contained in:
parent
594b7f5f82
commit
27c5debcb0
@ -49,7 +49,7 @@ function download_file() {
|
||||
|
||||
# 安装下载内建PHP
|
||||
function install_native_php() {
|
||||
ZM_PHP_VERSION="8.1"
|
||||
ZM_PHP_VERSION="8.0"
|
||||
if [ "$ZM_DOWN_PHP_VERSION" != "" ]; then
|
||||
ZM_PHP_VERSION="$ZM_DOWN_PHP_VERSION"
|
||||
fi
|
||||
@ -245,6 +245,9 @@ function install_framework() {
|
||||
}
|
||||
|
||||
# 环境变量设置
|
||||
if [ "$TMPDIR" != "" ]; then
|
||||
ZM_TEMP_DIR="$TMPDIR"
|
||||
fi
|
||||
test "$ZM_TEMP_DIR" = "" && ZM_TEMP_DIR="/tmp/.zm-runtime"
|
||||
test "$ZM_CUSTOM_DIR" = "" && ZM_CUSTOM_DIR="zhamao-app"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user