From 17ebc015973994ea0abc138afc2056df444a7e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 13 May 2024 18:39:59 +0800 Subject: [PATCH] fix: linux script env --- script/napcat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/napcat.sh b/script/napcat.sh index a8058e66..16ff7e2f 100644 --- a/script/napcat.sh +++ b/script/napcat.sh @@ -11,7 +11,7 @@ get_script_dir() { SCRIPT_DIR=$(get_script_dir) -ELECTRON_RUN_AS_NODE=1 +export ELECTRON_RUN_AS_NODE=1 if ! [ -x /opt/QQ/qq ]; then echo "Error: /opt/QQ/qq is not executable or does not exist." >&2