📌 📄 内容摘要:
Jsdfhasuh 在 opencode 好用插件推荐 对话结束后发出提示音 中发帖
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
? ...
────────── 链接信息 ────────── 🔗 论坛链接: linux.do 📎 访问地址: https://linux.do/t/topic/1961729/1 ─────────────────────────────
📢 来源:LINUX DO