Skip to content

v0.2.0

Latest

Choose a tag to compare

@Leimeng52mc Leimeng52mc released this 10 Aug 00:39
· 3 commits to main since this release
  • 修复竞态条件: isRunning/currentConfig 改用 RWMutex 保护
  • 修复资源泄漏: cmd.Start() 失败时关闭 logWriter
  • 修复进程管理: 用 Kill() 替代 Signal(Interrupt),用 channel 替代 Sleep
  • 新增 auto_restart 配置项,崩溃后 5 秒自动重启
  • 新增 max_log_size_mb 配置项,超限自动轮转
  • 删除未使用的 configPath() 函数
  • 通过 SetThreadExecutionState API 阻止系统进入睡眠
  • 托盘菜单新增「阻止睡眠」开关,状态持久化到 config.json
  • 启动/重载配置时自动应用,退出时恢复正常睡眠