Skip to content

Commit ff3722b

Browse files
小修复 (#10)
修改中文文档链接 为首页文档添加指向更新日志的链接 将 GitHub Actions构建流程与本地构建流程拆分 修改 ISCC 参数,只输出错误消息 删除PCQQ增强插件的描述字段
1 parent 290f53c commit ff3722b

File tree

3 files changed

+33
-15
lines changed

3 files changed

+33
-15
lines changed

.github/workflows/build.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ jobs:
111111
addonVersionName: 0.6.3
112112
- addonId: QQEnhancement
113113
URL: https://github.com/nvdacn/QQEnhancement/releases/download/v1.0.2/QQEnhancement-1.0.2.nvda-addon
114-
description: Enhance the experience of using PC QQ for NVDA users.
115114
sha256: a09a836356de60be6dd9dd34a9e31a77f4d89069aaacd78ac627c85855865459
116115
addonVersionName: 1.0.2
117116
- addonId: WakeSpeaker

ReadMe.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# NVDA Lazy Edition
22

3-
[中文](documentation/ReadMe.md)
3+
[中文说明](documentation/ReadMe.md)
4+
[更新日志](documentation/changes.md)
45

56
This program is created based on the official version of NVDA, mainly modifying individual options that affect the use of simplified Chinese users, and integrating some of the more commonly used add-ons and speech.

执行脚本.bat

+31-13
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,44 @@ IF EXIST "%~dp0Temp" (rd /s /q "%~dp0Temp")
1111
Rem 创建便携版 NVDA
1212
"%~dp0Resource\%nvda%.exe" --create-portable-silent --portable-path="%~dp0Temp\NVDA"
1313

14-
Rem 运行 NVDA(不含 GitHub Actions),设置版本日期变量
14+
Rem 生成文档的 txt 版本
15+
MKDir "%~dp0Output"
16+
COPY /B /V /Y "%~dp0documentation\changes.md" "%~dp0Output\更新日志.txt"
17+
COPY /B /V /Y "%~dp0documentation\ReadMe.md" "%~dp0Output\说明.txt"
18+
1519
if "%1" == "GITHUB_ACTIONS" (
1620
@echo on
21+
GOTO GitHub
22+
) else (
23+
GOTO Local
24+
)
25+
26+
Rem GitHub Actions 构建流程
27+
:GitHub
28+
Rem 开始生成
1729
set VersionDate=%date:~-4%.%date:~-10,2%.%date:~-7,2%
30+
"%~dp0Tools\InnoSetup\ISCC" /Q "%~dp0便携版安装脚本.iss"
31+
"%~dp0Tools\InnoSetup\ISCC" /Q "%~dp0懒人版安装脚本.iss"
32+
"%~dp0Tools\InnoSetup\ISCC" /Q "%~dp0恢复备份的 NVDA 配置.iss"
33+
GOTO Archive
34+
35+
Rem 简体中文操作系统构建流程
36+
:Local
37+
Rem 运行 NVDA
38+
if /i %PROCESSOR_IDENTIFIER:~0,3%==x86 (
39+
Start /D "%ProgramFiles%\NVDA" NVDA
1840
) else (
19-
if /i %PROCESSOR_IDENTIFIER:~0,3%==x86 (
20-
Start /D "%ProgramFiles%\NVDA" NVDA
21-
) else (
22-
Start /D "%ProgramFiles(x86)%\NVDA" NVDA
23-
)
24-
set VersionDate=%date:~3,4%.%date:~8,2%.%date:~11,2%
41+
Start /D "%ProgramFiles(x86)%\NVDA" NVDA
2542
)
2643

2744
Rem 开始生成
28-
MKDir "%~dp0Output"
29-
COPY /B /V /Y "%~dp0documentation\changes.md" "%~dp0Output\更新日志.txt"
30-
COPY /B /V /Y "%~dp0documentation\ReadMe.md" "%~dp0Output\说明.txt"
31-
"%~dp0Tools\InnoSetup\ISCC" /Qp "%~dp0便携版安装脚本.iss"
32-
"%~dp0Tools\InnoSetup\ISCC" /Qp "%~dp0懒人版安装脚本.iss"
33-
"%~dp0Tools\InnoSetup\ISCC" /Qp "%~dp0恢复备份的 NVDA 配置.iss"
45+
set VersionDate=%date:~3,4%.%date:~8,2%.%date:~11,2%
46+
"%~dp0Tools\InnoSetup\Compil32" /cc "%~dp0便携版安装脚本.iss"
47+
"%~dp0Tools\InnoSetup\Compil32" /cc "%~dp0懒人版安装脚本.iss"
48+
"%~dp0Tools\InnoSetup\Compil32" /cc "%~dp0恢复备份的 NVDA 配置.iss"
49+
50+
:Archive
51+
Rem 创建压缩包
3452
"%~dp0Tools\7Zip\7z.exe" a -y -tzip "%~dp0Output\Archive\NVDA_Lazy_Edition_%VersionDate%.zip" "%~dp0Output\NVDA 懒人版.exe" "%~dp0Output\更新日志.txt" "%~dp0Output\说明.txt" "%~dp0Output\NVDA 配置恢复工具.exe"
3553
"%~dp0Tools\7Zip\7z.exe" a -y -tzip "%~dp0Output\Archive\Source_Code_And_Dependency_Files_%VersionDate%.zip" "%~dp0documentation" "%~dp0Resource" "%~dp0Tools" "%~dp0userConfig" "%~dp0ReadMe.md" "%~dp0便携版安装脚本.iss" "%~dp0恢复备份的 NVDA 配置.iss" "%~dp0懒人版安装脚本.iss" "%~dp0执行脚本.bat"
3654

0 commit comments

Comments
 (0)