Tags: lian-yang/ltools
Tags
fix: 修复搜索窗口打开时 URL 协议导航无响应问题 问题:当搜索窗口处于前台时,通过 ltools://settings?tab=about 等 URL 调用无法正确切换页面,因为主窗口没有获得焦点。 解决方案: 1. 在 SearchWindowService 添加 IsVisible() 方法 2. 修改 main.go 中的 URL 事件处理,在发送事件前先: - 检查搜索窗口是否可见,如可见则隐藏 - 显示并聚焦主窗口 3. 将 URL 事件监听移至 SearchWindowService 创建之后, 以便使用其方法 修复文件: - internal/plugins/search_window_service.go: 添加 IsVisible 方法 - main.go: 重构 URL 事件处理逻辑,添加窗口焦点管理 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Release v0.1.3 Features: - Event-driven navigation system for smooth SPA routing - About menu integration without page reload - URL parameter-based settings tab management Improvements: - Enhanced sync service logging and startup configuration - Fixed missing syncService.ServiceStartup call - Better debugging output for auto-sync functionality Bug Fixes: - Resolved page flashing when navigating from system tray menu
fix: fetch app version from backend in AboutSettings Problem: - AboutSettings.tsx had hardcoded version '0.1.0' - Version displayed in UI didn't match actual build version - Users saw outdated version even after updates Solution: - Use useEffect to fetch version from UpdateService.GetCurrentVersion() - Display '加载中...' while loading, '未知' on error - Version now matches the ldflags-injected version Benefits: - ✅ Version always accurate in UI - ✅ Reflects actual compiled version - ✅ No manual updates needed Testing: - npm run build: successful - TypeScript compilation: passed Related: #S387, commits f961845, 95a7ab7, 401636a
- 图床插件支持同步子目录中的图片(使用 Git Tree API 递归获取所有文件) - 音乐播放器服务打包优化 - 使用 esbuild 打包,体积从 15MB 降至 1.8MB - 启动速度更快,文件数量更少 - FRP 插件查找逻辑优化 - 支持双击启动时正确查找 frpc - 扩展常见安装路径列表(~/bin, Homebrew, /usr/local/bin 等) - 不依赖 shell 环境,更可靠 - 修复双击启动 .app 时找不到 frpc 的问题 - 修复双击启动 .app 时找不到 Node.js 的问题(macOS) - 修复图床同步只同步根目录图片的问题 - 修复剪贴板插件日志路径错误(使用 UserConfigDir 而非相对路径)
- 内置音源服务(自动提取到用户目录) - 支持多音源切换 - 歌词同步显示 - 播放列表管理 - 下载功能支持 - 启动 10 秒后自动检查更新 - 发现新版本显示通知 - 支持手动检查(设置 → 关于) - Windows 静默安装支持 - 日期时间、计算器、剪贴板管理 - 系统信息、JSON 编辑器、进程管理 - 截图工具、密码生成器、书签搜索 - Hosts 管理、隧道管理、密码库 - IP 信息、贴图工具、AI翻译 - Markdown、二维码、图床、看板 - 应用启动器 - 全局搜索:Cmd/Ctrl+5 - 截图:Cmd/Ctrl+Shift+S - 自定义快捷键配置 - 基于 Wails v3 alpha - Go 1.25+ 后端 - React 18.2 前端 - 插件化架构 - 跨平台支持(macOS、Windows、Linux) - 发布流程文档 - macOS 安全性指南 - 插件开发指南