Skip to content

feat(installer): choose optional modules on install - #186

Merged
SSC-STUDIO merged 1 commit into
masterfrom
cursor/installer-feature-select-6fe9
Aug 23, 2026
Merged

feat(installer): choose optional modules on install#186
SSC-STUDIO merged 1 commit into
masterfrom
cursor/installer-feature-select-6fe9

Conversation

@SSC-STUDIO

@SSC-STUDIO SSC-STUDIO commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds 选择功能 / Choose features to the custom Electron installer (UniversalDeviceToolkit.Electron/installer/), which is what Full offline UniversalDeviceToolkitSetup.exe actually runs (custom-installer.yml portable).
  • Wizard order: 位置 → 语言 → 设备 → 选择功能 → 安装. Same chrome as the other Electron installer pages.
  • Required (locked): Host runtime, desktop shell, Console, Settings, About.
  • Optional (default on): 系统优化, 网络加速 (needs 系统优化), 自动化, 自定义宏, 键盘, 插件扩展.
  • Writes {installDir}/installer-selection.ini. The app hides omitted nav; unchecked 网络加速 skips NetworkProxy; unchecked 插件扩展 starts Host with --no-plugins.
  • NSIS (installer.nsh) has a matching page only for Online setup. Inno is retired. Missing INI (dev/zip) keeps full install.

Verification

  • dotnet build UniversalDeviceToolkit.sln --configuration Release
  • dotnet test UniversalDeviceToolkit.Tests/UniversalDeviceToolkit.Tests.csproj --framework net10.0-windows
  • CHANGELOG.md updated for user-visible changes
  • Electron installer + selection tests (installerSelection, installerUi, optimization)
  • Renderer/main tsc --noEmit

Plugin Changes (if applicable)

  • N/A (optional 插件扩展 only gates Host --no-plugins and the Plugins nav page)

Notes

  • Network acceleration is the existing optimization tab plus NetworkProxy, not a new product.
  • Optional pages stay in the binary and are visibility-gated except NetworkProxy copy/delete.
Open in Web Open in Cursor 

Let the custom Electron installer and NSIS wizard select System
Optimization, Network Acceleration, and other optional nav modules.
Persist the choice in installer-selection.ini so the running app hides
uninstalled pages and can skip the NetworkProxy sidecar.

Co-authored-by: Chen Runsen <SSC-STUDIO@users.noreply.github.com>
@SSC-STUDIO
SSC-STUDIO merged commit 1d04a1c into master Aug 23, 2026
11 of 16 checks passed
SSC-STUDIO pushed a commit that referenced this pull request Aug 23, 2026
PR #186 only shipped en-US and zh-CN; Electron i18n tests require every locale to cover English leaves.

Co-authored-by: Cursor <cursoragent@cursor.com>
@SSC-STUDIO
SSC-STUDIO deleted the cursor/installer-feature-select-6fe9 branch August 23, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants