fix: linux script env

This commit is contained in:
手瓜一十雪 2024-05-13 18:39:59 +08:00 committed by GitHub
parent 827fb698e1
commit 17ebc01597
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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