📌 📄 内容摘要:
@naiba5 在 在 WSL 下为 Codex 配置通知【升级】 中发帖
根据佬的帖子,稍微改了下,增加了telegram通知,这样每次开启任务就可以做其他事(哒飞机)
config.toml修改为:
notify = [
"powershell.exe",
"-File",
"D:\\你的路径\\notification.ps1"
]
notification.ps1 脚本:
[CmdletBinding()]
param(
[string]$Title = "Hi!",
[string]$Message,
[string]$ImagePath,
[string]$AppId
)
# Telegram 連線參數,直接寫入用戶提供的 Bot Token 與 Chat ID
$TelegramBotToken = ""
$TelegramChatId = ""
$TelegramApiUrl = "http...
────────── 链接信息 ────────── 🔗 论坛链接: linux.do 📎 访问地址: https://linux.do/t/topic/1063111/1 ─────────────────────────────
📢 来源:LINUX DO