更新日志
- 智能图标获取:没有传入图标时自动获取网站高清图标,提供更好的视觉效果和用户体验
- CLI 功能大幅增强:新增 --proxy 代理设置、--incognito 无痕模式、--title 自定义标题、--hide-on-close 系统托盘隐藏、--inject 多文件注入等参数
- 图标显示修复:修复 Linux 和 Windows 下的图标显示问题,确保图标在不同系统下正常显示
- 桌面应用功能增强:支持窗口位置记忆、修复外部链接跳转、Windows 系统主题自动适配、单实例模式更新
- 全新的 GitHub Actions 工作流系统:重构质量测试工作流、新增 Contributors 更新工作流、完整的 Release 工作流支持
- 注入系统重构:增强 CSS 注入功能、完全重写事件处理逻辑、优化内置组件注入机制
- CLI 核心改进:支持包含空格和纯数字的应用名称、改进连字符命名支持、移除 is-url 依赖使用内置验证、替换 shelljs 为 execa 提升性能
- 开发工具链升级:Node.js 最低要求升级到 >=16.0.0、Rust 升级到最新稳定版、完整支持 pnpm、集成 Prettier 自动格式化
- 构建系统优化:Docker 升级 Rust 基础镜像到 1.82-slim、修复跨平台构建问题、优化多阶段构建流程
- 用户体验提升:优化 ChatGPT 等 AI 工具交互体验、改善图标显示问题、更规范的文件命名规则
- 测试系统完善:新增完整测试套件包含核心功能测试、GitHub Actions 集成测试、发布流程测试等
- 重要 Bug 修复:修复 Linux 包装文件问题、Windows ICO 图标复制问题、注入多文件 CLI 问题、窗口位置记忆等
- CLI 使用文档更新:详细的使用指南请参考 https://github.com/tw93/Pake/blob/dev/bin/README_CN.md
Changelog
- Smart icon retrieval: Automatically fetches high-quality website icons when no icon is provided, delivering better visual effects and user experience
- CLI functionality greatly enhanced: Added --proxy for proxy settings, --incognito for private mode, --title for custom titles, --hide-on-close for system tray hiding, --inject for multi-file injection and other parameters
- Icon display fixes: Fixed icon display issues on Linux and Windows, ensuring icons display properly across different systems
- Desktop application enhancements: Support for window position memory, fixed external link navigation, Windows system theme auto-adaptation, single instance mode updates
- Brand new GitHub Actions workflow system: Refactored quality and test workflows, added Contributors update workflow, complete Release workflow support
- Injection system refactoring: Enhanced CSS injection functionality, completely rewrote event handling logic, optimized built-in component injection mechanism
- CLI core improvements: Support for app names with spaces and pure numbers, improved hyphenated naming support, removed is-url dependency with built-in validation, replaced shelljs with execa for better performance
- Development toolchain upgrades: Node.js minimum requirement upgraded to >=16.0.0, Rust upgraded to latest stable version, full pnpm support, integrated Prettier auto-formatting
- Build system optimization: Docker upgraded Rust base image to 1.82-slim, fixed cross-platform build issues, optimized multi-stage build process
- User experience improvements: Optimized ChatGPT and other AI tools interaction experience, improved icon display issues, more standardized file naming rules
- Testing system enhancement: Added complete test suites including core functionality tests, GitHub Actions integration tests, release process tests, etc.
- Important bug fixes: Fixed Linux packaging file issues, Windows ICO icon copying issues, multi-file injection CLI issues, window position memory, etc.
- CLI documentation updates: For detailed usage guide, please refer to https://github.com/tw93/Pake/blob/dev/bin/README.md