Skip to content

Draft: GeneralUpdate.Drivelution component documentation#59

Merged
JusterZhu merged 1 commit into
mainfrom
docs/issue-50-drivelution-draft
Jun 3, 2026
Merged

Draft: GeneralUpdate.Drivelution component documentation#59
JusterZhu merged 1 commit into
mainfrom
docs/issue-50-drivelution-draft

Conversation

@JusterZhu

Copy link
Copy Markdown
Collaborator

Refs #50

Summary

  • Rewrite GeneralUpdate.Drivelution docs from the current GeneralUpdate source APIs.
  • Cover validation, backup, installation, rollback, compatibility, permissions, signatures, restart behavior, logging, and platform differences.
  • Add batch/parallel update guidance and clarify how driver updates differ from normal application file updates.

Validation

  • git diff --check
  • npm run build -- --no-minify

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@JusterZhu JusterZhu force-pushed the docs/issue-50-drivelution-draft branch from 5bbfd5a to 86836de Compare June 3, 2026 07:53
@JusterZhu JusterZhu marked this pull request as ready for review June 3, 2026 07:53
Copilot AI review requested due to automatic review settings June 3, 2026 07:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR rewrites the GeneralUpdate.Drivelution documentation to reflect the current driver-update pipeline behavior across Windows, Linux, and macOS, and adds guidance for validation, backup/rollback, restart intent, logging, and batch/parallel processing.

Changes:

  • Replaces the previous high-level/FAQ-heavy docs with a pipeline-oriented explanation (Validate/Backup/Install/Verify + rollback entry points).
  • Adds detailed platform-difference sections (Windows INF + pnputil, Linux modules/packages, macOS kext/dext/pkg) and clarifies restart behavior responsibility.
  • Expands guidance on batch/parallel updates and on controlling diagnostics via GeneralTracer.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md Updates the default (zh-Hans) Drivelution doc to a pipeline + platform-differences structure with examples.
website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md Updates the English translation to match the rewritten pipeline-focused documentation and examples.
website/docs/doc/GeneralUpdate.Drivelution.md Updates the source docs page (default locale content) to the rewritten Drivelution documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


// 3. Define driver information
var driverInfo = new DriverInfo
var strategy = new UpdateStrategy
Comment on lines +289 to +293
var batch = await GeneralDrivelution.BatchUpdateAsync(
drivers,
strategy,
BatchMode.Parallel,
progress);

// 3. 定义驱动信息
var driverInfo = new DriverInfo
var strategy = new UpdateStrategy
Comment on lines +289 to +293
var batch = await GeneralDrivelution.BatchUpdateAsync(
drivers,
strategy,
BatchMode.Parallel,
progress);
};

// 4. Define update strategy
var strategy = new UpdateStrategy
Comment on lines +289 to +293
var batch = await GeneralDrivelution.BatchUpdateAsync(
drivers,
strategy,
BatchMode.Parallel,
progress);
@JusterZhu JusterZhu merged commit 875abc9 into main Jun 3, 2026
2 checks passed
@JusterZhu JusterZhu deleted the docs/issue-50-drivelution-draft branch June 3, 2026 16:47
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