Jsdfhasuhopencode 好用插件推荐 对话结束后发出提示音 中发帖

import path from "node:path"
import { appendFileSync, existsSync } from "node:fs"
import { spawnSync } from "node:child_process"

const userProfile = process.env.USERPROFILE
const logFile = userProfile
  ? path.join(userProfile, ".local", "share", "opencode", "log", "sound-notification.log")
  : null
// Change this to any local .wav or .ogg file you want to hear.
const soundFile = userProfile
  ? ...
 
 
Back to Top