mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
allow writing to user cache directory on macos (fixes use of lyria mcp server [to generate songs] under seatbelt) (#600)
This commit is contained in:
@@ -236,6 +236,8 @@ export async function start_sandbox(sandbox: string) {
|
||||
`TMP_DIR=${fs.realpathSync(os.tmpdir())}`,
|
||||
'-D',
|
||||
`HOME_DIR=${fs.realpathSync(os.homedir())}`,
|
||||
'-D',
|
||||
`CACHE_DIR=${fs.realpathSync(execSync(`getconf DARWIN_USER_CACHE_DIR`).toString().trim())}`,
|
||||
'-f',
|
||||
profileFile,
|
||||
'bash',
|
||||
|
||||
Reference in New Issue
Block a user