Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新插件 #21

Merged
merged 13 commits into from
Apr 7, 2024
13 changes: 7 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
strategy:
matrix:
addon:
- Name: DragAndDrop-2.2dev
URL: https://github.com/javidominguez/DragAndDrop/releases/download/2.2dev/DragAndDrop-2.2dev.nvda-addon
sha256: F7056F62968C1F432D99641E030AD58A8BF49EDF3A7975205F65015D5A334679
- Name: DragAndDrop-2.2.1dev
URL: https://dl.nvdacn.com/NVDA-Addons/New/DragAndDrop-2.2.1dev.nvda-addon
sha256: 47588d9504e526f23ae5ef963731d8f5d2fa62e93b8455caaeb73a7807201659
- Name: IBMTTS-23.12.1
URL: https://dl.nvdacn.com/NVDA-Addons/New/IBMTTS-23.12.1.nvda-addon
sha256: F96353B0329FB66319FC98B5748AB9D03C2A236762CF29F3B99EBACD04635451
- Name: MSEdgeDiscardAnnouncements-0.10
URL: https://dl.nvdacn.com/NVDA-Addons/New/MSEdgeDiscardAnnouncements-0.10.nvda-addon
sha256: 993eb9ba9849c3b6c7284fd6aaf84ad4a7b3a2707fbff54c5af4dd48a54124ca
- Name: numberProcessing-20230310-dev
URL: https://github.com/ABuffEr/numberProcessing/releases/download/20230310-dev/numberProcessing-20230310-dev.nvda-addon
sha256: E57468DD9A995E087EB1F9A7A140C6303EC518292DE9D2185316FDC3CAD6FA8B
- Name: numberProcessing-1.0-20240406-dev
URL: https://dl.nvdacn.com/NVDA-Addons/New/numberProcessing-1.0-20240406-dev.nvda-addon
sha256: 3b7803a7b6ac2b3e62ca55f2e3b4de03fc32f4468b34ce97bacf34c14e6997b3
- Name: unmute-1.5.8
URL: https://github.com/grisov/Unmute/releases/download/v1.5.8/unmute-1.5.8.nvda-addon
sha256: b55759cc9ebf5581832adfa6a976d32874ae08a0968e8d60e78f5abbced87175
Expand Down Expand Up @@ -77,6 +77,7 @@ jobs:
- addonId: goldenCursor
- addonId: ime_expressive
- addonId: inputLock
- addonId: instantTranslate
# - addonId: MSEdgeDiscardAnnouncements
- addonId: NVDACNMirror
- addonId: QQEnhancement
Expand Down
18 changes: 14 additions & 4 deletions documentation/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
6. 高级设置:将“Windows 控制台支持”更改为“UIA 如果可用”、启用“在所有的增强终端读出密码”、将“Diff 算法”更改为“允许 Diff Match Patch”,以解决 CMD 等命令行程序在某些情况下的字符重复朗读等问题;
7. WorldVoice 插件:启用“检测语言时忽略数字和常见的标点符号”、将小数点的‘.’(点)朗读方式更改为“点”,“语音”更改为“Ting-Ting”,“音量”更改为“80”,“数字语言”更改为“中文(简体,中国)”,“数字模式”更改为“数值”,使此插件更加易用,特别感谢 Eureka 提供数据;
8. 插件更新器:将“插件更新源”更改为“NVDA 中文站”,以便于中文插件的更新;
9. IBMTTS 插件:禁用“自动检查 IBMTTS 更新”、将“速度”更改为“30”,“音量”更改为“100”,“采样率”更改为“22 kHz”,同时尝试将 IBMTTS 库设置为安装版 VVTTS 的相应动态链接库,使此插件更加易用。
9. IBMTTS 插件:禁用“自动检查 IBMTTS 更新”、将“速度”更改为“30”,“音量”更改为“100”,“采样率”更改为“22 kHz”,同时尝试将 IBMTTS 库设置为安装版 VVTTS 的相应动态链接库,使此插件更加易用;
10. 及时翻译插件:启用“使用镜像(主要针对中国用户)”,使此插件更加易用。

上述设置在安装程序的“选择组件”页面,选择“默认安装”、“完整安装”或“最小安装”时均会自动应用,如选择自定义安装,需选中“修改部分 NVDA 设置”复选框方可成功应用。
为了避免误操作,造成您原有设置的丢失,故如检测到您的 NVDA 用户配置文件夹存在“NVDA.ini”文件,程序将不会自动选择上述选项,如仍要应用这些配置,需在“选择组件”页面选择“自定义安装”并选中“修改部分 NVDA 设置”复选框才可。
Expand All @@ -37,13 +38,14 @@
- 插件管理工具箱
- 插件更新器(默认安装)
- 音频管理器(仅 Windows 10 及以上版本的系统可见,默认安装)
- 百度翻译(默认安装)
- 百度翻译
- 剪贴板朗读增强(默认安装)
- DragAndDrop (对象拖放)(默认安装)
- DragAndDrop (对象拖放)
- 触摸手势增强
- 金色光标(默认安装)
- 中文输入法支持(默认安装)
- 输入锁
- 及时翻译(默认安装)
- 禁止 Microsoft Edge UIA 通知
- 数字处理
- NVDA 中文社区更新镜像源(默认安装)
Expand All @@ -62,7 +64,15 @@
## 其他说明

1. 运行本程序时,根据您的 NVDA 配置文件夹中是否存在 NVDA.ini 文件,会弹出不同的欢迎引导对话框,请根据提示选择所需的安装模式亦或者是否清空及是否备份您的现有配置,如选择备份您现有的 NVDA 配置,则备份的文件位于 `"%UserProfile%\Documents\NVDABackup"` 文件夹下;
2. 在本程序的“选择附加任务”页面,还提供了“在欢迎界面启用 NVDA”、“语音合成器设置”、“导入 VVTTS 语音字典(仅用于 SAPI4)”、“修改 DragAndDrop 插件的台式机快捷键与笔记本键盘方案相同”、“清空用户配置文件夹”等附加选项,可按需选择使用。其中:“语音合成器设置”选项可设置 NVDA 首次运行时的默认语音引擎;“导入 VVTTS 语音字典(仅用于 SAPI4)”选项用以解决部分字符在SAPI4 接口的 VVTTS 发音错误或读乱码的问题;“修改 DragAndDrop 插件的台式机快捷键与笔记本键盘方案相同”选项仅对简体中文语言生效,用以解决台式机键盘方案下的部分热键冲突。
2. 在本程序的“选择附加任务”页面,还提供了下列附加选项,可按需选择使用:

- 在欢迎界面启用 NVDA:该选项可控制 NVDA 是否朗读 Windows 登录窗口;
- 修复音频闪避等功能无法使用:该选项会尝试修复在某些禁用用户账户控制的操作系统 NVDA 的音频闪避、触摸屏等功能无法使用的问题;
- 语音合成器设置:该选项可设置 NVDA 首次运行时的默认语音引擎;
- 导入 VVTTS 语音字典(仅用于 SAPI4):该选项用以解决部分字符在SAPI4 接口的 VVTTS 发音错误或读乱码的问题;
- 修改 DragAndDrop 插件的台式机快捷键与笔记本键盘方案相同:该选项仅对简体中文语言生效,用以解决台式机键盘方案下的部分热键冲突;
- 清空用户配置文件夹:该选项用于清空 `"%AppData%\nvda"` 文件夹中的所有内容,默认会在备份后清理。

3. 本程序的压缩包中附带有“NVDA 配置恢复工具.exe”文件,如运行本程序时,您的 NVDA 配置文件夹中存在 NVDA.ini 文件,并且您选择了清空及备份您的现有配置文件,则可通过此程序将其恢复到您的 NVDA 配置文件夹,恢复后的效果与未使用本程序进行安装基本相同,恢复后备份的配置文件即会被删除;
4. 通过本程序安装的 IBM ViaVoice TTS Runtime v6.405 语音引擎、Microsoft Visual C++ 2012 Redistributable (x86) 等组件,无法被自动删除,如需删除,请到程序和功能自行卸载;
5. 本程序的界面消息仅支持以简体中文显示,当检测到本程序在其他语言的操作系统上运行时,为了避免其他语言的语音引擎无法识别简体中文,进而导致本程序无法顺利安装,故将会以英语显示一个错误对话框,可根据对话框提示启动原始 NVDA 安装流程,本程序对简体中文用户定制的设置、插件等个性化功能将不会安装。
Expand Down
12 changes: 12 additions & 0 deletions documentation/changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# NVDA 懒人版更新日志

### 2024.4.7

- #### 安装程序

- 新增:附加任务页面的“修复音频闪避等功能无法使用”选项;
- 完善说明文档;
- 调整部分插件的默认安装状态;
- 新增插件:及时翻译;
- 更新插件。

- **注意:Access8Math插件因与 NVDA 2024.1 存在热键冲突,故在此版本被设置为手动安装,即在安装程序的“选择组件”页面,选择任意安装模式均不会自动安装,但在“自定义安装”类别可手动选择该插件的复选框进行安装。如 NVDA 2024.2 发布后该插件仍为更新,其将会被从本程序中删除。**

### 2024.4.2

- #### 全局
Expand Down
2 changes: 2 additions & 0 deletions userConfig/nvda.ini
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,5 @@
diffAlgo = dmp
[ibmeci]
autoUpdate = False
[instanttranslate]
useMirror = True
18 changes: 13 additions & 5 deletions 懒人版安装脚本.iss
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,16 @@ Name: "Addons\addonsHelp"; Types: Full default custom; Flags: disablenouninstall
Name: "Addons\addonsTools"; Types: Full custom; Flags: disablenouninstallwarning; Description: "插件管理工具箱"
Name: "Addons\addonUpdater"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "插件更新器"
Name: "Addons\audioManager"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "音频管理器"; MinVersion: 10.0
Name: "Addons\baiduTranslation"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "百度翻译"
Name: "Addons\baiduTranslation"; Types: Full custom; Flags: disablenouninstallwarning; Description: "百度翻译"
Name: "Addons\clipboardEnhancement"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "剪贴板朗读增强"
;Name: "Addons\DragAndDrop"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "DragAndDrop (对象拖放)"
Name: "Addons\DragAndDrop"; Flags: dontinheritcheck disablenouninstallwarning; Description: "DragAndDrop (对象拖放)"
Name: "Addons\DragAndDrop"; Types: Full custom; Flags: disablenouninstallwarning; Description: "DragAndDrop (对象拖放)"
Name: "Addons\enhancedTouchGestures"; Types: Full custom; Flags: disablenouninstallwarning; Description: "触摸手势增强"
Name: "Addons\goldenCursor"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "金色光标"
Name: "Addons\imeExpressive"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "中文输入法支持"
Name: "Addons\inputLock"; Types: Full custom; Flags: disablenouninstallwarning; Description: "输入锁"
Name: "Addons\instantTranslate"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "及时翻译"
Name: "Addons\MSEdgeDiscardAnnouncements"; Types: Full custom; Flags: disablenouninstallwarning; Description: "禁止 Microsoft Edge UIA 通知"
;Name: "Addons\NumberProcessing"; Types: Full custom; Flags: disablenouninstallwarning; Description: "数字处理"
Name: "Addons\NumberProcessing"; Flags: dontinheritcheck disablenouninstallwarning; Description: "数字处理"
Name: "Addons\NumberProcessing"; Types: Full custom; Flags: disablenouninstallwarning; Description: "数字处理"
Name: "Addons\NVDACNMirror"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "NVDA 中文社区更新镜像源"
Name: "Addons\QQEnhancement"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "PC QQ增强"
Name: "Addons\remote"; Types: Full default custom; Flags: disablenouninstallwarning; Description: "远程支持"
Expand All @@ -82,6 +81,7 @@ Name: "Addons\xyOCR"; Types: Full default custom; Flags: disablenouninstallwarni

[Tasks]
Name: "StartOnLogon"; Description: "在欢迎界面启用 NVDA"
Name: "FixAudioDucking"; Description: "修复音频闪避等功能无法使用"; Flags: Unchecked
Name: "Voices"; Description: "语音合成器设置"; Components: Settings; OnlyBelowVersion: 10.0
Name: "Voices"; Description: "语音合成器设置"; Components: Settings and Voices; Flags: Unchecked; MinVersion: 10.0
Name: "Voices\WorldVoice"; Description: "切换语音合成器到 WorldVoice"; Components: Voices\WorldVoice; Flags: exclusive Unchecked
Expand Down Expand Up @@ -221,6 +221,7 @@ Type: files; Name: "{app}\Addons\goldenCursor\installTasks.py"; Tasks: "not Dele
Type: files; Name: "{app}\Addons\goldenCursor\manifest.ini"; Tasks: "not DeleteProfile"; Components: "Addons\goldenCursor"
Type: filesandordirs; Name: "{app}\Addons\ime_expressive"; Tasks: "not DeleteProfile"; Components: "Addons\imeExpressive"
Type: filesandordirs; Name: "{app}\Addons\inputLock"; Tasks: "not DeleteProfile"; Components: "Addons\inputLock"
Type: filesandordirs; Name: "{app}\Addons\instantTranslate"; Tasks: "not DeleteProfile"; Components: "Addons\instantTranslate"
Type: filesandordirs; Name: "{app}\Addons\MSEdgeDiscardAnnouncements"; Tasks: "not DeleteProfile"; Components: "Addons\MSEdgeDiscardAnnouncements"
Type: filesandordirs; Name: "{app}\Addons\numberProcessing"; Tasks: "not DeleteProfile"; Components: "Addons\numberProcessing"
Type: filesandordirs; Name: "{app}\Addons\QQEnhancement"; Tasks: "not DeleteProfile"; Components: "Addons\QQEnhancement"
Expand Down Expand Up @@ -249,6 +250,7 @@ Type: files; Name: "{app}\Addons\enhancedTouchGestures.json"; Tasks: "not Delete
Type: files; Name: "{app}\Addons\goldenCursor.json"; Tasks: "not DeleteProfile"; Components: "Addons\goldenCursor"
Type: files; Name: "{app}\Addons\ime_expressive.json"; Tasks: "not DeleteProfile"; Components: "Addons\imeExpressive"
Type: files; Name: "{app}\Addons\inputLock.json"; Tasks: "not DeleteProfile"; Components: "Addons\inputLock"
Type: files; Name: "{app}\Addons\instantTranslate.json"; Tasks: "not DeleteProfile"; Components: "Addons\instantTranslate"
Type: files; Name: "{app}\Addons\MSEdgeDiscardAnnouncements.json"; Tasks: "not DeleteProfile"; Components: "Addons\MSEdgeDiscardAnnouncements"
Type: files; Name: "{app}\Addons\numberProcessing.json"; Tasks: "not DeleteProfile"; Components: "Addons\numberProcessing"
Type: files; Name: "{app}\Addons\QQEnhancement.json"; Tasks: "not DeleteProfile"; Components: "Addons\QQEnhancement"
Expand Down Expand Up @@ -287,6 +289,7 @@ Filename: "{tmp}\7z"; Parameters: "x ""Addons\enhancedTouchGestures*"" -aoa -o""
Filename: "{tmp}\7z"; Parameters: "x ""Addons\goldenCursor*"" -aoa -o""{app}\Addons\goldenCursor"""; Components: "Addons\goldenCursor"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\ime_expressive*"" -aoa -o""{app}\Addons\ime_expressive"""; Components: "Addons\imeExpressive"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\inputLock*"" -aoa -o""{app}\Addons\inputLock"""; Components: "Addons\inputLock"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\instantTranslate*"" -aoa -o""{app}\Addons\instantTranslate"""; Components: "Addons\instantTranslate"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\MSEdgeDiscardAnnouncements*"" -aoa -o""{app}\Addons\MSEdgeDiscardAnnouncements"""; Components: "Addons\MSEdgeDiscardAnnouncements"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\numberProcessing*"" -aoa -o""{app}\Addons\numberProcessing"""; Components: "Addons\numberProcessing"
Filename: "{tmp}\7z"; Parameters: "x ""Addons\QQEnhancement*"" -aoa -o""{app}\Addons\QQEnhancement"""; Components: "Addons\QQEnhancement"
Expand Down Expand Up @@ -326,6 +329,7 @@ Source: "Resource\Addons\enhancedTouchGestures*"; DestDir: "{tmp}\Addons"; Flags
Source: "Resource\Addons\goldenCursor*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\goldenCursor"
Source: "Resource\Addons\ime_expressive*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\imeExpressive"
Source: "Resource\Addons\inputLock*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\inputLock"
Source: "Resource\Addons\instantTranslate*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\instantTranslate"
Source: "Resource\Addons\MSEdgeDiscardAnnouncements*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\MSEdgeDiscardAnnouncements"
Source: "Resource\Addons\numberProcessing*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\numberProcessing"
Source: "Resource\Addons\QQEnhancement*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\QQEnhancement"
Expand All @@ -336,3 +340,7 @@ Source: "Resource\Addons\NVDACNMirror*"; DestDir: "{tmp}\Addons"; Flags: deletea
Source: "Resource\Addons\WeChatEnhancement*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\WeChatEnhancement"
Source: "Resource\Addons\wintenApps*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\wintenApps"
Source: "Resource\Addons\xyOCR*"; DestDir: "{tmp}\Addons"; Flags: deleteafterinstall ignoreversion; Components: "Addons\xyOCR"

[Registry]
Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System; ValueType: dword; ValueName: EnableLUA; ValueData: $00000001; Flags: uninsdeletevalue uninsdeletekeyifempty; Tasks: "FixAudioDucking"

Loading