mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-22 17:57:46 +00:00
chore(chrome-qwen-bridge): wip use chat ui
This commit is contained in:
@@ -14,4 +14,13 @@ if [ ! -f "$NODE_PATH" ]; then
|
||||
fi
|
||||
|
||||
# 执行 Native Host
|
||||
exec "$NODE_PATH" "$DIR/host.js"
|
||||
|
||||
# Prefer local CLI build if available and QWEN_CLI_PATH is not set
|
||||
if [ -z "$QWEN_CLI_PATH" ]; then
|
||||
LOCAL_CLI="$DIR/../../cli/dist/index.js"
|
||||
if [ -f "$LOCAL_CLI" ]; then
|
||||
export QWEN_CLI_PATH="$LOCAL_CLI"
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$NODE_PATH" "$DIR/host.js"
|
||||
|
||||
Reference in New Issue
Block a user