mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-22 09:47:47 +00:00
chore(chrome-qwen-bridge): connect
This commit is contained in:
11
packages/chrome-qwen-bridge/native-host/host-wrapper.sh
Executable file
11
packages/chrome-qwen-bridge/native-host/host-wrapper.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 添加必要的 PATH
|
||||
export PATH="/usr/local/bin:/Users/yiliang/.npm-global/bin:$PATH"
|
||||
|
||||
LOG="/var/folders/sy/9mwf8c3n2b57__q35fyxwdhh0000gp/T/qwen-wrapper.log"
|
||||
echo "$(date): Wrapper started" >> "$LOG"
|
||||
echo "$(date): PATH=$PATH" >> "$LOG"
|
||||
|
||||
# 使用完整路径运行 node
|
||||
exec /usr/local/bin/node "$(dirname "$0")/host.js" 2>> "$LOG"
|
||||
Reference in New Issue
Block a user