Commit Graph

4 Commits

Author SHA1 Message Date
5697bea880 fix: HP插件改用直接执行方式,避免需要.asc签名文件
hp-plugin 命令需要 GPG 签名文件,改用 yes | sh 直接执行更简单

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 11:30:01 +08:00
301fe3b42c feat: 支持 HP 打印机插件非交互式安装
- 自动识别 hplip-plugin.run 文件
- 优先使用 hp-plugin 命令安装
- 备用方案使用 yes 管道自动确认

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 11:25:38 +08:00
40a32110b8 fix: 修复驱动管理器登录认证问题
- 添加用户名验证(之前只验证密码)
- check_auth 函数现在同时验证用户名和密码
- 默认用户名: admin,密码: admin(或环境变量设置的密码)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 13:07:30 +08:00
5e5c23a9a5 feat: 添加驱动管理器 - Web界面安装打印机驱动
新增功能:
- 独立的Web服务(端口632)用于管理打印机驱动
- 支持上传安装多种驱动格式:.deb, .ppd, .tar.gz, .zip, .rpm, .sh
- 自动识别文件类型并执行对应安装命令
- 中文Web界面,风格与CUPS保持一致
- 基本认证保护,随机生成管理密码
- 查看已安装驱动列表

安装脚本更新:
- 新增"是否安装驱动管理器"选项
- 自动配置systemd服务开机自启
- 安装完成后显示驱动管理器地址和密码
- 卸载时自动清理驱动管理器

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 10:54:08 +08:00