From 2a90118f956768cd906239ddfb14dd1f887f4ba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Wed, 21 Aug 2024 16:21:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=BA=94=E7=94=A8=20?= =?UTF-8?q?=E7=8B=AC=E8=A7=92=E6=95=B0=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- apps/dujiaoka/2.0.7/data.yml | 21 +++++++++++++++++++++ apps/dujiaoka/2.0.7/scripts/init.sh | 4 ++++ 2 files changed, 25 insertions(+) diff --git a/apps/dujiaoka/2.0.7/data.yml b/apps/dujiaoka/2.0.7/data.yml index 3ae759f0..27b5123a 100644 --- a/apps/dujiaoka/2.0.7/data.yml +++ b/apps/dujiaoka/2.0.7/data.yml @@ -56,6 +56,27 @@ additionalProperties: required: true rule: paramPort type: number + - default: "独角数卡" + edit: true + envKey: APP_NAME + labelZh: 网站名称 + labelEn: Website name + required: true + type: text + - default: "base64:hDVkYhfkUjaePiaI1tcBT7G8bh2A8RQxwWIGkq7BO18=" + edit: true + envKey: APP_KEY + labelZh: 应用密钥 + labelEn: Application key + required: true + type: text + - default: "http://127.0.0.1:8080" + edit: true + envKey: APP_URL + labelZh: 网站域名 + labelEn: Website domain + required: true + type: text - default: "/admin" edit: true envKey: ADMIN_ROUTE_PREFIX diff --git a/apps/dujiaoka/2.0.7/scripts/init.sh b/apps/dujiaoka/2.0.7/scripts/init.sh index 77b84912..d3ba0246 100644 --- a/apps/dujiaoka/2.0.7/scripts/init.sh +++ b/apps/dujiaoka/2.0.7/scripts/init.sh @@ -8,6 +8,10 @@ if [ -f .env ]; then sed -i '/^ENV_FILE=/d' .env echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + if [ ! -f $DUJIAOKA_ROOT_PATH/install.lock ]; then + touch $DUJIAOKA_ROOT_PATH/install.lock + fi + echo "Check Finish." else