fix: linux script env

This commit is contained in:
手瓜一十雪 2024-05-13 18:39:59 +08:00 committed by GitHub
parent bb67ea2cf6
commit 3a5cca8f78

View File

@ -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