0
0
Fork 0
This repository has been archived on 2026-06-03. You can view files and clone it, but cannot push or open issues or pull requests.
Classroom-Assistant/README.md

64 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 课堂小助手
一款专为课堂教学设计的桌面辅助工具,基于 Electron 22.3.27 开发,兼容 Windows 7 及以上系统。
## 功能特性
### 高效计时
- **倒计时**:支持 0-99 小时,可逐位调整
- **正计时**:从 0 开始计时
- **全屏模式**:计时数据铺满整个窗口,适合投影展示
- **记忆功能**:自动保存上次倒计时设置
### 随机摇号
- 可设置最大号码(默认 75
- 支持 ±1 和 ±10 快速调整
- 设置自动保存
## 安装与运行
### 开发环境
```bash
# 安装依赖
npm install
# 启动应用
npm start
```
### 构建安装包
```bash
# 构建 Windows 安装包
npm run build:win
```
构建完成后,安装包位于 `dist` 目录。
## 配置文件
配置文件位置:`%APPDATA%\classroom-assistant\ca\memory.ini`
```ini
[Random]
MaxNumber=75
[Time]
LastSeconds=300
```
## 界面操作
- **无键盘设计**:所有操作均可通过鼠标/触屏完成
- **全屏按钮**:计时器右下角,点击后窗口最大化并铺满计时数据
- **模式互斥**:倒计时和正计时运行中/暂停时不可切换,需重置后切换
## 技术栈
- Electron 22.3.27
- 原生 HTML/CSS/JavaScript
- ini 配置文件解析
## 许可证
[CaelLab BY-SA Code License](https://git.caellab.com/yunyun/Classroom-Assistant/src/branch/main/LICENSE)