格式化

This commit is contained in:
MKStoler 2024-09-24 18:12:06 +08:00
parent ca6b9fe57e
commit 94b35132e2
3 changed files with 31 additions and 22 deletions

View File

@ -18,7 +18,6 @@ jobs:
uses: actions/checkout@v4.1.7 uses: actions/checkout@v4.1.7
if: github.event.release.prerelease == false || matrix.os == 'windows-latest' if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
if: github.event.release.prerelease == false || matrix.os == 'windows-latest' if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
@ -29,7 +28,6 @@ jobs:
run: yarn install run: yarn install
if: github.event.release.prerelease == false || matrix.os == 'windows-latest' if: github.event.release.prerelease == false || matrix.os == 'windows-latest'
- name: Build and package for Windows - name: Build and package for Windows
if: github.event.release.prerelease == false && matrix.os == 'windows-latest' if: github.event.release.prerelease == false && matrix.os == 'windows-latest'
run: yarn build:win run: yarn build:win

View File

@ -7,6 +7,7 @@
[![Beta](https://img.shields.io/github/v/release/hello8693DSZ/dsz-exam-showboard?include_prereleases&style=social-square&label=测试版)](https://github.com/hello8693DSZ/dsz-exam-showboard/releases/) [![Beta](https://img.shields.io/github/v/release/hello8693DSZ/dsz-exam-showboard?include_prereleases&style=social-square&label=测试版)](https://github.com/hello8693DSZ/dsz-exam-showboard/releases/)
## 软件介绍 ## 软件介绍
- 您可以查看下方的详细介绍 - 您可以查看下方的详细介绍
- 使用Vue + TypeScript + JavaScript制作使用Node.js+Electron完善系统级功能并打包。 - 使用Vue + TypeScript + JavaScript制作使用Node.js+Electron完善系统级功能并打包。
- 欢迎给作者点个右上角的Star或者给作者宣传一波 - 欢迎给作者点个右上角的Star或者给作者宣传一波
@ -15,32 +16,40 @@
## 功能 ## 功能
### 展示考试信息 ### 展示考试信息
- [X] 展示考试名称
- [X] 展示当前时间 - [x] 展示考试名称
- [X] 展示当前考试科目名称 - [x] 展示当前时间
- [X] 展示考试开始,结束时间 - [x] 展示当前考试科目名称
- [X] 展示考试状态 - [x] 展示考试开始,结束时间
- [x] 展示考试状态
### 其他功能 ### 其他功能
- [X] 考试结束十五分钟前预警
- [x] 考试结束十五分钟前预警
- [ ] 集控管理(正在开发中) - [ ] 集控管理(正在开发中)
## 软件截图 ## 软件截图
### 主界面截图 ### 主界面截图
![main](image/README/main.png) ![main](image/README/main.png)
### 考试界面截图 ### 考试界面截图
![view](image/README/view.png) ![view](image/README/view.png)
## 开始使用 ## 开始使用
### 下载 ### 下载
对于普通用户,可以在以下渠道下载到本软件 对于普通用户,可以在以下渠道下载到本软件
下载 [Realeases](https://github.com/hello8693DSZ/dsz-exam-showboard/releases) | [Actions](https://github.com/hello8693DSZ/dsz-exam-showboard/actions) 下载 [Realeases](https://github.com/hello8693DSZ/dsz-exam-showboard/releases) | [Actions](https://github.com/hello8693DSZ/dsz-exam-showboard/actions)
### 准备配置文件 ### 准备配置文件
#### 新建格式为`json`的配置文件,模板如下 #### 新建格式为`json`的配置文件,模板如下
```json ```json
{ {
"examName": "", "examName": "",
@ -56,12 +65,15 @@
``` ```
### 运行 ### 运行
下载完成后将软件双击运行等待进度条走完双击运行桌面上的名为ExamShowboard的快捷方式 下载完成后将软件双击运行等待进度条走完双击运行桌面上的名为ExamShowboard的快捷方式
### 导入配置 ### 导入配置
进入主界面后,点击打开配置按钮,选择您已配置好的配置文件,下次进入时可点击直接进入看板按钮进入考试看板,继续使用上次加载的配置文件。 进入主界面后,点击打开配置按钮,选择您已配置好的配置文件,下次进入时可点击直接进入看板按钮进入考试看板,继续使用上次加载的配置文件。
## 开发 ## 开发
要在本地编译应用您需要安装以下负载和工具 要在本地编译应用您需要安装以下负载和工具
- [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) - [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin)
@ -108,4 +120,3 @@ $ yarn build:linux
[![Star 历史](https://starchart.cc/hello8693DSZ/dsz-exam-showboard.svg?variant=adaptive)](https://starchart.cc/hello8693DSZ/dsz-exam-showboard) [![Star 历史](https://starchart.cc/hello8693DSZ/dsz-exam-showboard.svg?variant=adaptive)](https://starchart.cc/hello8693DSZ/dsz-exam-showboard)
<div align="center"> <div align="center">