19 Commits
Author SHA1 Message Date
poli0981 d769d58770 Merge pull request #60: feat(catalog) — Devices, Backup & Recovery, Accounts; 37 new commands; 2.1.0
feat(catalog): Devices, Backup & Recovery, Accounts — 37 new commands; release 2.1.0
2026-10-26 13:36:24 +07:00
poli0981andClaude Opus 5.5 e2bf8eb758 chore(release): 2.1.0
Moves the unreleased notes under 2.1.0 (with the new categories and
commands) and sets the dev-build version to 2.1.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:30:46 +07:00
poli0981andClaude Opus 5.5 225c6e632c docs: 298 commands in 15 categories
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:30:46 +07:00
poli0981andClaude Opus 5.5 a5f5e4b3c1 test(catalog): category list and order, per-build coverage, launcher arguments
- The 15 categories in order, with order values running from 1 without gaps
  (replaces the 12-category count and the Storage-only check).
- Every category has commands on Windows 10 22H2, 11 23H2 and 11 24H2,
  since the navigation pane hides commands for other builds.
- No two commands share a command line.
- explorer only opens settings URIs or shell folders, and control only
  Control Panel items.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:30:46 +07:00
poli0981andClaude Opus 5.5 a8ca7f4a79 feat(catalog): Devices, Backup & Recovery and Accounts categories, 37 commands
Three new categories and 37 commands (261 -> 298), with titles and
descriptions in all five languages and Fluent icons:

- Devices & Peripherals (11): Bluetooth, printer and display settings,
  the Sound panel; USB devices, cameras, audio devices, paired Bluetooth
  devices, printers and remembered-but-disconnected devices; Scan for
  hardware changes (pnputil, admin).
- Backup & Recovery (9): Recovery settings, WinRE status and Enable WinRE
  (reagentc, admin; enabling is Caution), System Protection, restore
  point disk usage (vssadmin behind a Win32_ShadowStorage check, since it
  exits 2 for both "no items" and access denied), File History, Backup
  settings, Backup and Restore (Windows 7), Recovery Drive.
- Accounts & Sign-in (8): Sign-in options, Your info, Other users,
  netplwiz, Credential Manager, cmdkey /list (never elevated, so it reads
  the user's own vault), net accounts, local groups.
- Existing categories (9): sleep states, last wake source, wake-armed
  devices, motherboard, language & region, disabled services, PATH
  entries with missing folders flagged, proxy and VPN settings.

Scripts start with $ErrorActionPreference='Stop' and filter PnP devices
client-side (Get-PnpDevice -Class throws when nothing matches). No command
needs an OS-build limit; all exist on Home editions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:30:46 +07:00
poli0981 ab082676d6 Merge pull request #59: ci — SonarCloud CI analysis with coverage, .NET 10.0.14 and dependency updates
ci: SonarCloud CI analysis with coverage; .NET 10.0.14 and dependency updates
2026-10-26 13:27:52 +07:00
poli0981andClaude Opus 5.5 24fbf9ca23 docs(changelog): SonarCloud CI analysis, dependency and runtime updates
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:17:45 +07:00
poli0981andClaude Opus 5.5 c61d397199 build(deps): .NET SDK 10.0.403, DI 10.0.14, CsWin32 0.3.367, CodeQL 4.39.1
- global.json: SDK 10.0.403, so self-contained releases ship the
  .NET 10.0.14 runtime (October 2026 security update).
- Microsoft.Extensions.DependencyInjection(.Abstractions) 10.0.13 -> 10.0.14.
- Microsoft.Windows.CsWin32 0.3.366 -> 0.3.367.
- github/codeql-action v4.39.0 -> v4.39.1 (CodeQL and Scorecard uploads),
  pinned to the release commit.
- THIRD-PARTY-NOTICES: the new versions and the SonarScanner for .NET.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:17:45 +07:00
poli0981andClaude Opus 5.5 3fadfa0090 ci: analyze with SonarCloud from CI, with test coverage
Automatic Analysis can't import coverage, so SonarCloud now runs from
sonarcloud.yml: the SonarScanner for .NET 12.0.0 (pinned as a local tool
next to vpk, updated by Dependabot's build-tooling group) wraps a Release
build and an OpenCover test run.

- A token job checks for SONAR_TOKEN, so fork and Dependabot pull
  requests are skipped without trusting actor or repository names.
- The project version is passed to the scanner, so the "previous version"
  new-code period resets at each release (and now, instead of judging the
  whole 2.0.0 rewrite as new code).
- Roslyn rules stay enforced by the warnings-as-errors build and aren't
  imported as external issues; XAML code-behind and the two Program.cs
  entry points are left out of coverage.
- .sonarcloud.properties (read only by Automatic Analysis) is removed;
  its exclusions move to the scanner arguments.
- CI failure alerts also cover the SonarCloud workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:17:37 +07:00
poli0981 acb7ca4dd5 Merge pull request #58: ci, docs — release-workflow fixes, pinned shared workflows, stale comments
ci, docs: release-workflow fixes, pinned shared workflows, stale comments
2026-10-21 23:19:31 +07:00
poli0981andClaude Opus 5.5 c729a53228 docs(changelog): unreleased run-mode label and release-asset changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:14:17 +07:00
poli0981andClaude Opus 5.5 cae3679ffa fix(ui): say whether this copy updates itself, not "Portable / dev"
Settings > Advanced and Portable info showed "Installed" or
"Portable / dev". The official portable zip counts as installed
(it carries Velopack's updater), so "Portable / dev" only ever meant
a build run from source. The labels now read "Installed or portable
(updates itself)" and "Development build (doesn't update)", in all
five languages; the key is renamed to Settings_RunModeDev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:13:53 +07:00
poli0981andClaude Opus 5.5 cad4708852 docs: the portable zip updates itself
The Velopack portable zip ships Update.exe and a .portable marker, so
it updates in place like the installed app; only a build run from
source can't update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:12:11 +07:00
poli0981andClaude Opus 5.5 06731cdd0b chore: fix stale comments and the NuGet cache key
- ISettingsService: window size and maximized state are restored again
  since the window became resizable; WarnOnCancel only asks on close.
- IDialogService, CrashHandlingService, NaturalLanguageSearch (golden
  rule #7, not #5), the test project and pack.ps1 described the
  pre-2.0 setup (message boxes, the Generic Host, EN+VI only,
  Directory.Packages.props).
- build.yml hashed the removed Directory.Packages.props for its NuGet
  cache keys; it now hashes Directory.Build.props, where the
  SonarAnalyzer version lives.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:12:10 +07:00
poli0981andClaude Opus 5.5 d71da598da ci(release): drop a stale comment about draft lookups
The VirusTotal action no longer looks up the release; the links step
uses gh, which finds drafts too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:08:18 +07:00
poli0981andClaude Opus 5.5 4daf4bbf39 ci(release): take the release notes from CHANGELOG.md
vpk creates the release without notes, so v2.0.0 was published, and
announced on Discord, with an empty body. Before publishing, the
workflow now sets the notes to the version's CHANGELOG section (the
text between its heading and the next one); it warns and leaves them
empty if there is no section. The VirusTotal links are appended after
it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:07:47 +07:00
poli0981andClaude Opus 5.5 ce0f905825 ci(release): add the VirusTotal links to the release notes
The action's update_release_body only works on `release` events, and
this workflow runs on tag pushes, so the scan links never reached the
notes: the v2.0.0 release body was empty. A step now appends a
"VirusTotal" section linking each scanned file's permanent report (by
SHA-256). The scan also no longer matches the previous version's full
package, which is only downloaded to compute the delta.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:05:21 +07:00
poli0981andClaude Opus 5.5 27816e92c6 ci(release): attest and hash only what the release publishes
The 2.0.0 release showed two gaps:

- Its provenance attestation also covered the 1.5.1 full package that
  `vpk download github` fetches only to compute the delta, which this
  run didn't build.
- checksums.txt listed that package and the local assets.win.json,
  neither of which is a release asset.

The portable zip that vpk also publishes had no attestation.

Now the attestation covers Setup.exe, the portable zip and this
version's packages only. checksums.txt hashes exactly the release's
assets plus the SBOM. UPDATES and RELEASING list the portable zip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:03:48 +07:00
poli0981andClaude Opus 5.5 af8948378a ci: pin the shared workflows in poli0981/.github to a commit
The release announcer and the CI-failure notifier were called at
@main, so any later change to the shared repository would run inside
this repository's workflows (the announcer inherits its secrets)
without a change here (CodeQL actions/unpinned-tag, Scorecard
Pinned-Dependencies). They now point at the current main commit; bump
the SHA when the shared workflows change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 22:58:57 +07:00
42 changed files with 2252 additions and 99 deletions

No files matched your search

+7
View File
@@ -8,6 +8,13 @@
"vpk"
],
"rollForward": false
},
"dotnet-sonarscanner": {
"version": "12.0.0",
"commands": [
"dotnet-sonarscanner"
],
"rollForward": false
}
}
}
+5 -2
View File
@@ -31,12 +31,15 @@ See [BUILD.md](../BUILD.md) for packaging and CI.
- Keep PRs **focused and small**; one logical change per PR.
- Match existing style; run `dotnet format` and keep the build at **0 warnings** (analyzers,
including SonarAnalyzer, run as part of the build).
- **Don't delete or disable tests** to make CI pass; add tests for new behavior.
- **Don't delete or disable tests** to make CI pass; add tests for new behavior. SonarCloud's
quality gate expects at least 80% test coverage on new code (XAML code-behind excepted), so put
logic in view models and helpers that tests can reach.
- **Sign your commits** (GPG, SSH or S/MIME) — `main` only accepts verified signatures. Commit
messages follow [Conventional Commits](https://www.conventionalcommits.org/)
(`fix(catalog): …`, `feat(ui): …`).
- PRs need the required checks to pass: `build`, `package`, CodeQL (`Analyze (csharp)`,
`Analyze (actions)`) and `dependency-review`.
`Analyze (actions)`) and `dependency-review`. The SonarCloud quality gate is reported on PRs from
this repository too (fork PRs don't get the analysis token).
- **Dependencies:** package versions live in each `.csproj` (GitHub's dependency graph doesn't read
`Directory.Packages.props`). Discuss a new package before adding it; runtime dependencies must be
GPLv3-compatible (dependency review enforces a license allow-list).
+2 -1
View File
@@ -22,8 +22,9 @@ updates:
patterns: ["Velopack", "vpk"]
testing:
patterns: ["xunit*", "Microsoft.NET.Test.Sdk", "coverlet.*"]
# Includes the SonarScanner CLI pinned in .config/dotnet-tools.json.
build-tooling:
patterns: ["SonarAnalyzer.CSharp", "Microsoft.Windows.CsWin32"]
patterns: ["SonarAnalyzer.CSharp", "dotnet-sonarscanner", "Microsoft.Windows.CsWin32"]
- package-ecosystem: dotnet-sdk
directory: "/"
+1 -1
View File
@@ -21,7 +21,7 @@ permissions:
jobs:
announce:
uses: poli0981/.github/.github/workflows/announce-release.yml@main
uses: poli0981/.github/.github/workflows/announce-release.yml@c3e118a01d40e95b36b2c3466dc206638c11eb5a # main, 2026-07-06
with:
tag_override: ${{ github.event.inputs.tag || '' }}
secrets: inherit
+2 -2
View File
@@ -37,7 +37,7 @@ jobs:
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ${{ env.NUGET_PACKAGES }}
key: nuget-${{ runner.os }}-${{ hashFiles('global.json', 'Directory.Packages.props', '**/*.csproj') }}
key: nuget-${{ runner.os }}-${{ hashFiles('global.json', 'Directory.Build.props', '**/*.csproj') }}
restore-keys: nuget-${{ runner.os }}-
- name: Restore (NuGet audit fails on moderate+ advisories)
@@ -82,7 +82,7 @@ jobs:
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ${{ env.NUGET_PACKAGES }}
key: nuget-package-${{ runner.os }}-${{ hashFiles('global.json', 'Directory.Packages.props', '**/*.csproj', '.config/dotnet-tools.json') }}
key: nuget-package-${{ runner.os }}-${{ hashFiles('global.json', 'Directory.Build.props', '**/*.csproj', '.config/dotnet-tools.json') }}
restore-keys: nuget-package-${{ runner.os }}-
- name: Publish + pack (Velopack smoke test)
+2 -2
View File
@@ -50,7 +50,7 @@ jobs:
global-json-file: global.json
- name: Initialize CodeQL
uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
@@ -62,6 +62,6 @@ jobs:
run: dotnet build CommandForge.slnx -c Release -p:RunAnalyzers=false
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
category: "/language:${{ matrix.language }}"
+5 -5
View File
@@ -1,11 +1,11 @@
name: Notify CI Failure
# Posts a Discord alert when the Build workflow fails on main (reuses the shared workflow in
# poli0981/.github). Requires repo secret DISCORD_CI_WEBHOOK.
# Posts a Discord alert when the Build or SonarCloud workflow fails on main (reuses the shared
# workflow in poli0981/.github). Requires repo secret DISCORD_CI_WEBHOOK.
on:
workflow_run:
workflows: ["Build"]
workflows: ["Build", "SonarCloud"]
types: [completed]
# The reusable workflow requests actions: read; without granting it here every run was a
@@ -16,11 +16,11 @@ permissions:
jobs:
notify:
# Build only runs on `push` for main, so this limits alerts to main without trusting
# Both workflows only run on `push` for main, so this limits alerts to main without trusting
# forgeable values (branch names, actor logins) — and skips pull-request runs (including
# Dependabot's), which have no access to the webhook secret anyway.
if: >-
github.event.workflow_run.conclusion == 'failure' &&
github.event.workflow_run.event == 'push'
uses: poli0981/.github/.github/workflows/notify-ci-failure.yml@main
uses: poli0981/.github/.github/workflows/notify-ci-failure.yml@c3e118a01d40e95b36b2c3466dc206638c11eb5a # main, 2026-07-06
secrets: inherit
+46 -6
View File
@@ -85,9 +85,12 @@ jobs:
- name: Attest build provenance
uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2
with:
# Only what this run built: Releases/ also holds the previous version's full package,
# downloaded above just to compute the delta.
subject-path: |
Releases/*-Setup.exe
Releases/*.nupkg
Releases/*-Portable.zip
Releases/CommandForge-${{ steps.ver.outputs.version }}-*.nupkg
# Upload as a DRAFT first: publishing is what makes installed copies auto-update, so the
# release only goes live once every asset (SBOM, checksums, scan links) is attached.
@@ -113,31 +116,68 @@ jobs:
$sbom = Join-Path $rel 'sbom.spdx.json'
gh api "repos/$env:REPOSITORY/dependency-graph/sbom" --jq '.sbom' | Out-File $sbom -Encoding utf8NoBOM
$checksums = Join-Path $rel 'checksums.txt'
# Hash exactly what the release offers for download: the assets vpk uploaded plus the
# SBOM (Releases/ also holds unpublished files, such as the previous full package).
$published = @(gh release view $env:TAG --json assets --jq '.assets[].name') + 'sbom.spdx.json'
# Filter with Where-Object, not Get-ChildItem -Exclude (which returns nothing without a
# trailing wildcard/-Recurse and once produced an empty checksums.txt).
Get-ChildItem -Path $rel -File |
Where-Object { $_.Name -ne 'checksums.txt' } |
Where-Object { $_.Name -ne 'checksums.txt' -and $published -contains $_.Name } |
Get-FileHash -Algorithm SHA256 |
ForEach-Object { '{0} {1}' -f $_.Hash.ToLower(), (Split-Path $_.Path -Leaf) } |
Out-File $checksums -Encoding ascii
gh release upload $env:TAG $sbom $checksums --clobber
# Set before publishing, so the release and its Discord announcement never go out empty.
- name: Release notes from CHANGELOG.md
shell: pwsh
env:
VERSION: ${{ steps.ver.outputs.version }}
TAG: ${{ steps.ver.outputs.tag }}
run: |
$changelog = (Get-Content CHANGELOG.md -Raw) -replace "`r`n", "`n"
$pattern = "(?ms)^## \[$([regex]::Escape($env:VERSION))\][^\n]*\n(.*?)(?=^## \[|^\[[^\]]+\]: |\z)"
$section = [regex]::Match($changelog, $pattern, 'None', [TimeSpan]::FromSeconds(5))
if ($section.Success -and $section.Groups[1].Value.Trim()) {
$section.Groups[1].Value.Trim() | gh release edit $env:TAG --notes-file -
} else {
Write-Warning "CHANGELOG.md has no section for $env:VERSION; the release notes stay empty."
}
- name: Publish the release
shell: pwsh
env:
TAG: ${{ steps.ver.outputs.tag }}
run: gh release edit $env:TAG --draft=false --latest
# The release-by-tag API used to append scan links can't see drafts, so this runs after publishing.
- name: VirusTotal scan (optional)
id: vt
if: env.VT_API_KEY != ''
uses: crazy-max/ghaction-virustotal@936d8c5c00afe97d3d9a1af26d017cfdf26800a2 # v5.0.0
with:
vt_api_key: ${{ env.VT_API_KEY }}
update_release_body: true
files: |
Releases/*-Setup.exe
Releases/*-full.nupkg
Releases/CommandForge-${{ steps.ver.outputs.version }}-full.nupkg
# The action's own update_release_body only works on `release` events, and this workflow
# runs on tag pushes, so the report links are appended here.
- name: Add VirusTotal links to the release notes
if: steps.vt.outputs.analysis != ''
shell: pwsh
env:
TAG: ${{ steps.ver.outputs.tag }}
ANALYSIS: ${{ steps.vt.outputs.analysis }}
run: |
# ANALYSIS is "path=analysis-url,path=analysis-url"; link each file's permanent report.
$links = foreach ($pair in $env:ANALYSIS -split ',') {
$file = ($pair -split '=', 2)[0]
$hash = (Get-FileHash $file -Algorithm SHA256).Hash.ToLower()
'- [{0}](https://www.virustotal.com/gui/file/{1})' -f (Split-Path $file -Leaf), $hash
}
$body = (gh release view $env:TAG --json body --jq '.body') -join "`n"
$notes = (@($body.TrimEnd(), '', '### VirusTotal', '') + $links) -join "`n"
$notes | gh release edit $env:TAG --notes-file -
announce:
# A release published with GITHUB_TOKEN does not fire the `release` event, so the standalone
@@ -145,7 +185,7 @@ jobs:
needs: release
permissions:
contents: read
uses: poli0981/.github/.github/workflows/announce-release.yml@main
uses: poli0981/.github/.github/workflows/announce-release.yml@c3e118a01d40e95b36b2c3466dc206638c11eb5a # main, 2026-07-06
with:
tag_override: ${{ needs.release.outputs.tag }}
secrets: inherit
+1 -1
View File
@@ -40,6 +40,6 @@ jobs:
path: results.sarif
retention-days: 5
- uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
- uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
sarif_file: results.sarif
+126
View File
@@ -0,0 +1,126 @@
name: SonarCloud
# CI-based SonarCloud analysis (it replaced Automatic Analysis, which can't import coverage): the
# solution is built between the scanner's begin and end steps, the tests run with OpenCover
# coverage, and the SonarCloud GitHub App reports the quality gate on pull requests. The scanner
# turns TreatWarningsAsErrors off for its build, so build.yml stays the warnings-as-errors check.
# Requires the repository secret SONAR_TOKEN.
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
token:
# Pull requests from forks and from Dependabot get no repository secrets. Checking for the token
# skips those runs without trusting actor or repository names from the event.
name: Check for SONAR_TOKEN
runs-on: ubuntu-latest
timeout-minutes: 5
permissions: {}
outputs:
available: ${{ steps.check.outputs.available }}
steps:
- name: Check for SONAR_TOKEN
id: check
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
if [ -n "$SONAR_TOKEN" ]; then
echo "available=true" >> "$GITHUB_OUTPUT"
else
echo "available=false" >> "$GITHUB_OUTPUT"
echo "::notice::SONAR_TOKEN is not available to this run (fork or Dependabot pull request); skipping the analysis."
fi
analysis:
name: SonarCloud
needs: token
if: needs.token.outputs.available == 'true'
# WPF (net10.0-windows) only builds on Windows.
runs-on: windows-latest
timeout-minutes: 30
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # full history: SonarCloud uses blame to tell new code from old
persist-credentials: false
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
global-json-file: global.json
# Both caches stay outside the workspace: the scanner also analyzes every .json, .yml and .ps1
# file under the repository root.
- name: Cache NuGet packages
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.nuget/packages
key: nuget-sonar-${{ runner.os }}-${{ hashFiles('global.json', 'Directory.Build.props', '**/*.csproj', '.config/dotnet-tools.json') }}
restore-keys: nuget-sonar-${{ runner.os }}-
- name: Cache SonarCloud analyzers and JRE
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.sonar/cache
key: sonar-${{ runner.os }}-${{ hashFiles('.config/dotnet-tools.json') }}
restore-keys: sonar-${{ runner.os }}-
- name: Restore pinned tools (dotnet-sonarscanner)
run: dotnet tool restore
# The project version drives SonarCloud's "previous version" new-code period.
# Roslyn rules already fail the build in build.yml, so their Info-level suggestions aren't
# imported as external issues. Coverage skips XAML code-behind and the two entry points (the
# app and the Elevator); the catalog JSON and the .resx files repeat structure by design.
- name: Begin analysis
shell: pwsh
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
$version = "$(dotnet msbuild src/CommandForge.Domain/CommandForge.Domain.csproj -getProperty:Version | Select-Object -Last 1)".Trim()
if ($LASTEXITCODE -ne 0 -or $version -notmatch '^\d+\.\d+\.\d+$') { throw "Unexpected project version '$version'." }
$scannerArgs = @(
'begin', '/k:poli0981_CommandForge', '/o:poli0981', "/v:$version",
'/d:sonar.host.url=https://sonarcloud.io', "/d:sonar.token=$env:SONAR_TOKEN",
'/d:sonar.cs.opencover.reportsPaths=TestResults/**/coverage.opencover.xml',
'/d:sonar.cs.vstest.reportsPaths=TestResults/*.trx',
'/d:sonar.cs.roslyn.ignoreIssues=true',
'/d:sonar.exclusions=**/bin/**,**/obj/**,**/TestResults/**',
'/d:sonar.coverage.exclusions=**/*.xaml.cs,**/Program.cs',
'/d:sonar.cpd.exclusions=**/Catalog/*.json,**/*.resx'
)
dotnet sonarscanner @scannerArgs
if ($LASTEXITCODE -ne 0) { throw "SonarScanner begin failed with exit code $LASTEXITCODE." }
- name: Build
# Real source paths in the PDBs (not the /_/ deterministic ones), so coverage maps to files.
run: dotnet build CommandForge.slnx -c Release --no-incremental -p:ContinuousIntegrationBuild=false
- name: Test with coverage
run: >-
dotnet test CommandForge.slnx -c Release --no-build
--collect "XPlat Code Coverage;Format=opencover"
--logger "trx;LogFileName=test-results.trx"
--results-directory TestResults
- name: End analysis
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: dotnet sonarscanner end "/d:sonar.token=$env:SONAR_TOKEN"
+2
View File
@@ -65,6 +65,8 @@ artifacts/
*.trx
*.coverage
*.coveragexml
# SonarScanner for .NET working folder (local analysis runs)
.sonarqube/
# ── OS noise ────────────────────────────────────────────────────
Thumbs.db
-6
View File
@@ -1,6 +0,0 @@
# SonarCloud Automatic Analysis configuration.
sonar.sources=src,helper,scripts,.github
sonar.tests=tests
sonar.exclusions=**/bin/**,**/obj/**
# The catalog JSON and the per-language .resx files repeat structure by design.
sonar.cpd.exclusions=**/Catalog/*.json,**/*.resx
+12 -2
View File
@@ -40,6 +40,12 @@ The build treats warnings as errors and enforces the .NET analyzers, code style
(`EnforceCodeStyleInBuild`) and **SonarAnalyzer.CSharp** (the same rules SonarCloud applies),
including unused-using and unused-member rules.
To see coverage the way CI measures it (Coverlet, OpenCover format):
```bash
dotnet test CommandForge.slnx --collect "XPlat Code Coverage;Format=opencover"
```
## Dependencies
- Package versions live in **each `.csproj`**; SonarAnalyzer is referenced once from
@@ -91,12 +97,16 @@ All workflows pin actions to full commit SHAs and use least-privilege permission
|---|---|
| `build.yml` | `build`: restore, `dotnet format --verify-no-changes`, Release build, tests (results and coverage uploaded). `package`: publish and `vpk pack` exactly like a release. |
| `codeql.yml` | CodeQL for C# (Windows, manual build) and for the workflows themselves (`actions`). |
| `sonarcloud.yml` | SonarCloud analysis with test coverage: the SonarScanner for .NET (pinned in `.config/dotnet-tools.json`) wraps a Release build and an OpenCover test run, and the SonarCloud app reports the quality gate on the PR. Needs the `SONAR_TOKEN` secret, so PRs from forks and Dependabot are skipped. |
| `dependency-review.yml` | Fails a PR that adds a dependency with a moderate+ vulnerability or a license outside the GPLv3-compatible allow-list. |
| `scorecard.yml` | OpenSSF Scorecard, reported to code scanning. |
| `release.yml` | Tag-triggered release — see [RELEASING.md](RELEASING.md). |
| `notify-ci-failure.yml` | Posts a Discord alert when the Build workflow fails on `main` (needs the `DISCORD_CI_WEBHOOK` secret). |
| `notify-ci-failure.yml` | Posts a Discord alert when the Build or SonarCloud workflow fails on `main` (needs the `DISCORD_CI_WEBHOOK` secret). |
SonarCloud (Automatic Analysis, scoped by `.sonarcloud.properties`) and Snyk also check every PR.
The SonarCloud quality gate ("Sonar way") expects new code to be at least 80% covered by tests,
with no new issues. XAML code-behind and the two entry points (`Program.cs` of the app and of the
Elevator) are left out of coverage. Roslyn rules aren't imported as external issues there, since
the build already fails on them. Snyk also checks every PR.
`main` is protected by a repository ruleset: changes land through pull requests; `build`,
`package`, `Analyze (csharp)`, `Analyze (actions)` and `dependency-review` must pass; and a PR
+39 -1
View File
@@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [2.1.0] — 2026-10-26
Three new categories and 37 new commands (the catalog grows from 261 to 298), the October 2026
.NET security update, and test coverage in SonarCloud.
### Added
- **Devices & Peripherals** (11 commands): Bluetooth, printer and display settings, the classic
Sound panel; lists of USB devices, cameras, audio devices, paired Bluetooth devices, printers and
disconnected devices Windows still remembers; and **Scan for hardware changes**.
- **Backup & Recovery** (9 commands): Recovery settings, the Windows Recovery Environment status
and **Enable Windows Recovery Environment**, System Protection, restore point disk usage, File
History, Backup settings, Backup and Restore (Windows 7) and the Recovery Drive wizard.
- **Accounts & Sign-in** (8 commands): Sign-in options, your account info, other users, User
Accounts (netplwiz), Credential Manager, saved Windows credentials (`cmdkey /list`, no
passwords), the password and lockout policy, and local groups.
- **9 commands in existing categories:** available sleep states, what woke the PC last and the
devices allowed to wake it (Power); motherboard and language & region (System Info); disabled
services (Services & Startup); PATH entries with missing folders flagged (Developer); proxy and
VPN settings (Network).
### Changed
- Settings → Advanced and Portable info now say whether this copy updates itself ("Installed or
portable" / "Development build") instead of "Installed" / "Portable / dev": the portable zip
from the releases page updates itself like the installed app.
- Releases: the notes come from this changelog and list the VirusTotal reports; the provenance
attestations now also cover the portable zip, and `checksums.txt` lists exactly the files you
can download.
- Code quality: SonarCloud now analyzes `main` and every pull request from CI, with test coverage
(SonarScanner for .NET 12, OpenCover reports), instead of Automatic Analysis. New code must be
at least 80% covered to pass the quality gate.
- Dependencies: Microsoft.Extensions.DependencyInjection 10.0.14, CsWin32 0.3.367, CodeQL action
4.39.1.
### Security
- Built with the .NET 10.0.403 SDK, so the app ships the .NET 10.0.14 runtime (the October 2026
security update).
## [2.0.0] — 2026-10-21
A redesign in the Fluent style of Windows 11, plus a broad safety, reliability and security
@@ -260,7 +297,8 @@ Initial public release.
checksums (and an optional VirusTotal scan). No telemetry — the only network use is checking
GitHub for updates.
[Unreleased]: https://github.com/poli0981/CommandForge/compare/v2.0.0...HEAD
[Unreleased]: https://github.com/poli0981/CommandForge/compare/v2.1.0...HEAD
[2.1.0]: https://github.com/poli0981/CommandForge/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/poli0981/CommandForge/compare/v1.5.1...v2.0.0
[1.5.1]: https://github.com/poli0981/CommandForge/compare/v1.5.0...v1.5.1
[1.5.0]: https://github.com/poli0981/CommandForge/compare/v1.4.0...v1.5.0
+1 -1
View File
@@ -53,7 +53,7 @@
<RepositoryUrl>https://github.com/poli0981/CommandForge</RepositoryUrl>
<PackageProjectUrl>https://github.com/poli0981/CommandForge</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<Version>2.0.0</Version>
<Version>2.1.0</Version>
</PropertyGroup>
<!-- Same rules SonarCloud applies, enforced at build time (warnings are errors). Package versions
+3 -2
View File
@@ -21,9 +21,10 @@ clear danger level, a confirmation for anything risky, and an optional System Re
## Features
- **261 vetted commands in 12 categories** — System & Maintenance, Updates & Packages, Tweaks &
- **298 vetted commands in 15 categories** — System & Maintenance, Updates & Packages, Tweaks &
Shortcuts, Network, Cleanup, Power, System Info, Diagnostics, Security & Privacy, Developer,
Storage, and Services & Startup. Commands that don't apply to your Windows build are hidden.
Storage, Services & Startup, Devices & Peripherals, Backup & Recovery, and Accounts & Sign-in.
Commands that don't apply to your Windows build are hidden.
- **Fluent design** — a Windows 11-style window (Mica, navigation pane, in-window dialogs) that
follows your light/dark theme, accent color and High Contrast. It is resizable and remembers its
size and position.
+10 -6
View File
@@ -25,10 +25,12 @@ SemVer tag.
- restores the pinned `vpk` tool and **downloads the previous release** so a delta package can
be computed;
- publishes and packages with Velopack (`scripts/pack.ps1`);
- creates **build-provenance attestations** for `Setup.exe` and the `.nupkg` files;
- creates **build-provenance attestations** for `Setup.exe`, the portable zip and this
version's `.nupkg` files;
- uploads everything as a **draft** GitHub Release, attaches the **SPDX SBOM**
(`sbom.spdx.json`) and **`checksums.txt`** (SHA-256), then **publishes** it as the latest
release — installed copies only see the update once every asset is in place;
(`sbom.spdx.json`) and **`checksums.txt`** (SHA-256 of every published asset), sets the
release notes to this version's section of `CHANGELOG.md`, then **publishes** it as the
latest release — installed copies only see the update once every asset is in place;
- if `VT_API_KEY` is set, submits `Setup.exe` and the full package to **VirusTotal** and appends
the scan links to the release notes;
- calls the shared announcer (`poli0981/.github`) to post the release to Discord.
@@ -39,8 +41,9 @@ SemVer tag.
gh attestation verify CommandForge-win-Setup.exe --repo poli0981/CommandForge
```
Edit the release notes if needed (changelog highlights). The SHA-256 and VirusTotal details are
already attached.
The notes are the CHANGELOG section followed by the **VirusTotal** links; edit them on the
release page if you want a shorter summary (keep the VirusTotal section). The SHA-256 sums are
in `checksums.txt`.
You can also run the workflow manually (**Actions → Release → Run workflow**) with a `version`
input; the upload step then creates the `vX.Y.Z` tag.
@@ -53,7 +56,8 @@ input; the upload step then creates the `vX.Y.Z` tag.
| `VT_API_KEY` | VirusTotal scan + links | optional (step skipped if unset) |
| `DISCORD_RELEASES_WEBHOOK` (or `DISCORD_REPO_WEBHOOK`) | Release announcement to Discord | optional |
| `DISCORD_PING_ROLE_ID` | Role ping on stable releases | optional |
| `DISCORD_CI_WEBHOOK` | Build-failure alerts to Discord | optional |
| `DISCORD_CI_WEBHOOK` | Build/SonarCloud failure alerts to Discord | optional |
| `SONAR_TOKEN` | SonarCloud analysis and coverage (`sonarcloud.yml`) | for the SonarCloud workflow (runs without it are skipped) |
> `poli0981` is a user account (not an org), so secrets are set **per repository**
> (Settings → Secrets and variables → Actions).
+3 -2
View File
@@ -11,7 +11,7 @@ versions.
|---|---|---|---|
| WPF-UI (+ WPF-UI.Abstractions) | 4.3.0 | MIT | https://github.com/lepoco/wpfui |
| CommunityToolkit.Mvvm | 8.4.2 | MIT | https://github.com/CommunityToolkit/dotnet |
| Microsoft.Extensions.DependencyInjection (+ .Abstractions) | 10.0.13 | MIT | https://github.com/dotnet/runtime |
| Microsoft.Extensions.DependencyInjection (+ .Abstractions) | 10.0.14 | MIT | https://github.com/dotnet/runtime |
| Serilog | 4.4.0 | Apache-2.0 | https://github.com/serilog/serilog |
| Serilog.Sinks.File | 7.0.0 | Apache-2.0 | https://github.com/serilog/serilog-sinks-file |
| Serilog.Sinks.Async | 2.1.0 | Apache-2.0 | https://github.com/serilog/serilog-sinks-async |
@@ -25,8 +25,9 @@ and the Fluent System Icons (below); see the `ThirdPartyNotices.txt` in the WPF-
| Component | Version | License | Project |
|---|---|---|---|
| Microsoft.Windows.CsWin32 | 0.3.366 | MIT | https://github.com/microsoft/CsWin32 |
| Microsoft.Windows.CsWin32 | 0.3.367 | MIT | https://github.com/microsoft/CsWin32 |
| SonarAnalyzer.CSharp | 10.35.0.4138 | SONAR Source-Available License v1.0 | https://github.com/SonarSource/sonar-dotnet |
| dotnet-sonarscanner (SonarScanner for .NET, CI only) | 12.0.0 | LGPL-3.0 | https://github.com/SonarSource/sonar-scanner-msbuild |
| vpk (Velopack CLI) | 1.2.161 | MIT | https://github.com/velopack/velopack |
| xunit.v3 (`xunit.v3.mtp-off`) | 4.0.2 | Apache-2.0 | https://github.com/xunit/xunit |
| xunit.runner.visualstudio | 4.0.1 | Apache-2.0 | https://github.com/xunit/visualstudio.xunit |
+5 -3
View File
@@ -35,8 +35,9 @@ The only network connection involved is to GitHub (see [PRIVACY.md](PRIVACY.md))
`UpdateManager(new GithubSource("https://github.com/poli0981/CommandForge", null, prerelease: false))`.
- Download and apply are separate steps, so the app can end the admin session and check for a
running command just before it restarts.
- Auto-update only works for an **installed** build (not a dev or portable run); the app detects
this and says so instead of offering an update.
- Auto-update works for the installed app and for the portable zip from the releases page (both
carry Velopack's `Update.exe`). A build you run from source can't update; the app detects this
and says so instead of offering an update.
## Release artifacts and the delta mechanism
@@ -45,13 +46,14 @@ Each release (see [RELEASING.md](RELEASING.md)) uploads the contents of `Release
| Asset | Purpose |
|---|---|
| `CommandForge-win-Setup.exe` | First-time installer |
| `CommandForge-win-Portable.zip` | The app without an installer; extract it anywhere and it updates itself in place (settings and logs still go to `%AppData%\CommandForge`) |
| `CommandForge-<version>-full.nupkg` | Full package (fallback / first install of a version) |
| `CommandForge-<version>-delta.nupkg` | Delta from the previous version (small download) |
| `releases.win.json` / `RELEASES` | Update manifest the client reads |
| `checksums.txt` | SHA-256 of the assets (manual verification) |
| `sbom.spdx.json` | SPDX software bill of materials |
The installer and packages also have build-provenance attestations (see the
The installer, the portable zip and the packages also have build-provenance attestations (see the
[README](README.md#unknown-publisher-and-verifying-your-download)).
Velopack needs the **previous** `-full.nupkg` present while packing to compute a delta. The
+2 -2
View File
@@ -42,7 +42,7 @@ You'll be asked again only if the terms change.
shortcuts**, **User guide**, **Report a bug**, **Terms & Privacy** and **About CommandForge**.
- **Navigation pane** (left)
- Home, Favorites, History, Recipes and My commands.
- **Command catalog**, with its 12 categories and the number of commands in each.
- **Command catalog**, with its 15 categories and the number of commands in each.
- Log viewer, Debug panel and Settings, at the bottom.
- `Ctrl+B` shows or hides the pane.
- The window can be resized (down to a minimum size) and maximized. It reopens where you left it.
@@ -186,7 +186,7 @@ Under **My commands** you can save your own command lines, such as a `ping` you
| **Updates** | Check for updates on startup, the current version, the last check and **Check now**. |
| **Backup & profiles** | **Export…** / **Import…** your appearance, behavior and favorites as a `.json` file, and save named profiles (for example "Gaming PC" or "Office") that you can **Apply** or **Delete**. |
| **Logs** | Log level, log size, **Open log folder**, **Export logs (.zip)**, **Delete old logs**. |
| **Advanced** | Run mode (Installed or Portable / dev), the config folder, the Debug panel, and **Reset to defaults** (keeps your accepted terms and logs). |
| **Advanced** | Run mode (whether this copy updates itself), the config folder, the Debug panel, and **Reset to defaults** (keeps your accepted terms and logs). |
| **About** | Version, license and GitHub links. |
Theme, language and font size change immediately; no restart needed.
+1 -1
View File
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "10.0.402",
"version": "10.0.403",
"rollForward": "latestFeature"
}
}
+3 -2
View File
@@ -5,12 +5,13 @@
.DESCRIPTION
Produces, under Releases/:
CommandForge-win-Setup.exe, RELEASES, releases.win.json, *-full.nupkg, *-delta.nupkg
CommandForge-win-Setup.exe, CommandForge-win-Portable.zip, RELEASES, releases.win.json,
*-full.nupkg, *-delta.nupkg
Update is per-user (no UAC). The Elevator is published into the same folder by the
PublishElevatorOnPublish MSBuild target, so vpk packages it automatically.
vpk is pinned as a local .NET tool (.config/dotnet-tools.json) and must match the Velopack
library version in Directory.Packages.props.
library version referenced by CommandForge.Infrastructure.csproj and CommandForge.Wpf.csproj.
.PARAMETER Version
SemVer package version, e.g. 2.0.0 (no leading 'v'). Should match the git tag vX.Y.Z.
@@ -39,7 +39,7 @@ public interface ISettingsService
/// <summary>Whether the console auto-scrolls to the latest output (default <see langword="true"/>).</summary>
public bool AutoScrollConsole { get; set; }
/// <summary>Whether to warn before closing/cancelling while a command is running (default <see langword="true"/>).</summary>
/// <summary>Whether to ask before closing the app while a command is running (default <see langword="true"/>).</summary>
public bool WarnOnCancel { get; set; }
/// <summary>The minimum log level captured by the logging pipeline (default <see cref="LogLevel.Information"/>).</summary>
@@ -51,16 +51,10 @@ public interface ISettingsService
/// <summary>Recently-run command ids, most-recent first (default empty). Capped by the caller.</summary>
public IReadOnlyList<string> RecentCommandIds { get; set; }
/// <summary>
/// Retained for config back-compat only. The main window is now a fixed, non-resizable size, so this
/// value is no longer read or written; it round-trips untouched for users upgrading from older versions.
/// </summary>
/// <summary>Last main-window width in DIPs (restored size), or <see langword="null"/> if never saved (default size).</summary>
public double? WindowWidth { get; set; }
/// <summary>
/// Retained for config back-compat only. The main window is now a fixed, non-resizable size, so this
/// value is no longer read or written; it round-trips untouched for users upgrading from older versions.
/// </summary>
/// <summary>Last main-window height in DIPs (restored size), or <see langword="null"/> if never saved (default size).</summary>
public double? WindowHeight { get; set; }
/// <summary>Last main-window left position, or <see langword="null"/> if never saved (centre on launch).</summary>
@@ -69,10 +63,7 @@ public interface ISettingsService
/// <summary>Last main-window top position, or <see langword="null"/> if never saved (centre on launch).</summary>
public double? WindowTop { get; set; }
/// <summary>
/// Retained for config back-compat only. The main window can no longer be maximized, so this value is
/// no longer read or written; it round-trips untouched for users upgrading from older versions.
/// </summary>
/// <summary>Whether the main window was maximized when it was last closed.</summary>
public bool WindowMaximized { get; set; }
/// <summary>Persists the current settings to disk.</summary>
@@ -2,7 +2,7 @@ namespace CommandForge.Application.Search;
/// <summary>
/// Local natural-language search: maps everyday EN/VI phrases to a catalog search keyword
/// (e.g. "clean disk" / "dọn ổ đĩa" → "cleanup"). 100% LOCAL — no LLM, no network (golden rule #5).
/// (e.g. "clean disk" / "dọn ổ đĩa" → "cleanup"). 100% LOCAL — no LLM, no network (golden rule #7).
/// Phrases match whole words, ignoring case and accents ("pin" is battery, "typing" is not).
/// </summary>
public static class NaturalLanguageSearch
@@ -10,5 +10,8 @@
{ "id": "security-privacy", "titleKey": "Cat_security-privacy", "icon": "ShieldLock", "order": 9 },
{ "id": "developer", "titleKey": "Cat_developer", "icon": "CodeBraces", "order": 10 },
{ "id": "storage", "titleKey": "Cat_storage", "icon": "Harddisk", "order": 11 },
{ "id": "services-startup", "titleKey": "Cat_services-startup", "icon": "Cog", "order": 12 }
{ "id": "services-startup", "titleKey": "Cat_services-startup", "icon": "Cog", "order": 12 },
{ "id": "devices", "titleKey": "Cat_devices", "icon": "Devices", "order": 13 },
{ "id": "backup-recovery", "titleKey": "Cat_backup-recovery", "icon": "BackupRestore", "order": 14 },
{ "id": "accounts", "titleKey": "Cat_accounts", "icon": "AccountMultiple", "order": 15 }
]
@@ -5119,5 +5119,725 @@
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["battery", "charge", "power", "laptop"]
},
{
"id": "device.bluetooth.settings",
"executionMode": "Launch",
"categoryId": "devices",
"titleKey": "Cmd_device.bluetooth.settings_Title",
"descriptionKey": "Cmd_device.bluetooth.settings_Desc",
"icon": "Bluetooth",
"executable": "explorer",
"argsTemplate": "ms-settings:bluetooth",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["bluetooth", "pair", "devices", "settings", "wireless"]
},
{
"id": "device.printers.settings",
"executionMode": "Launch",
"categoryId": "devices",
"titleKey": "Cmd_device.printers.settings_Title",
"descriptionKey": "Cmd_device.printers.settings_Desc",
"icon": "Printer",
"executable": "explorer",
"argsTemplate": "ms-settings:printers",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["printer", "scanner", "print", "settings"]
},
{
"id": "device.display.settings",
"executionMode": "Launch",
"categoryId": "devices",
"titleKey": "Cmd_device.display.settings_Title",
"descriptionKey": "Cmd_device.display.settings_Desc",
"icon": "Monitor",
"executable": "explorer",
"argsTemplate": "ms-settings:display",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["display", "resolution", "scale", "monitor", "refresh rate", "hdr"]
},
{
"id": "device.sound.open",
"executionMode": "Launch",
"categoryId": "devices",
"titleKey": "Cmd_device.sound.open_Title",
"descriptionKey": "Cmd_device.sound.open_Desc",
"icon": "VolumeHigh",
"executable": "control",
"argsTemplate": "mmsys.cpl",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["sound", "audio", "playback", "recording", "default device", "speakers", "microphone"]
},
{
"id": "device.usb.list",
"categoryId": "devices",
"titleKey": "Cmd_device.usb.list_Title",
"descriptionKey": "Cmd_device.usb.list_Desc",
"icon": "Usb",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; $d = @(Get-PnpDevice -PresentOnly | Where-Object InstanceId -like 'USB*'); if ($d.Count) { $d | Sort-Object Class, FriendlyName | Format-Table Status, Class, FriendlyName -AutoSize } else { 'No USB devices found.' }\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["usb", "devices", "hardware", "connected", "plug"]
},
{
"id": "device.cameras.list",
"categoryId": "devices",
"titleKey": "Cmd_device.cameras.list_Title",
"descriptionKey": "Cmd_device.cameras.list_Desc",
"icon": "Webcam",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; $d = @(Get-PnpDevice -PresentOnly | Where-Object Class -in 'Camera', 'Image'); if ($d.Count) { $d | Sort-Object FriendlyName | Format-Table Status, Class, FriendlyName -AutoSize } else { 'No cameras found.' }\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["camera", "webcam", "video", "devices"]
},
{
"id": "device.audio.list",
"categoryId": "devices",
"titleKey": "Cmd_device.audio.list_Title",
"descriptionKey": "Cmd_device.audio.list_Desc",
"icon": "VolumeHigh",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; $d = @(Get-PnpDevice -PresentOnly | Where-Object Class -in 'MEDIA', 'AudioEndpoint'); if ($d.Count) { $d | Sort-Object Class, FriendlyName | Format-Table Status, Class, FriendlyName -AutoSize } else { 'No audio devices found.' }\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["audio", "sound", "speakers", "microphone", "headphones", "devices"]
},
{
"id": "device.bluetooth.list",
"categoryId": "devices",
"titleKey": "Cmd_device.bluetooth.list_Title",
"descriptionKey": "Cmd_device.bluetooth.list_Desc",
"icon": "Bluetooth",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; $d = @(Get-PnpDevice -PresentOnly | Where-Object Class -eq 'Bluetooth'); if (-not $d.Count) { 'No Bluetooth adapter found.' } else { 'Adapters:'; $d | Where-Object InstanceId -notmatch '^BTH' | ForEach-Object { ' ' + $_.FriendlyName + ' (' + $_.Status + ')' }; ''; 'Paired devices:'; $p = @($d | Where-Object { $_.InstanceId -like 'BTHENUM\\DEV_*' -or $_.InstanceId -like 'BTHLE\\DEV_*' } | Sort-Object FriendlyName -Unique); if ($p.Count) { $p | ForEach-Object { ' ' + $_.FriendlyName } } else { ' (none)' } }\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["bluetooth", "paired", "devices", "adapter", "wireless"]
},
{
"id": "device.printers.list",
"categoryId": "devices",
"titleKey": "Cmd_device.printers.list_Title",
"descriptionKey": "Cmd_device.printers.list_Desc",
"icon": "Printer",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; $p = @(Get-Printer); if ($p.Count) { $p | Sort-Object Name | Format-Table Name, DriverName, PortName, Shared, PrinterStatus -AutoSize } else { 'No printers installed.' }\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["printer", "print", "queue", "driver", "port"]
},
{
"id": "device.disconnected.list",
"categoryId": "devices",
"titleKey": "Cmd_device.disconnected.list_Title",
"descriptionKey": "Cmd_device.disconnected.list_Desc",
"icon": "Devices",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; $d = @(Get-PnpDevice | Where-Object { -not $_.Present }); if ($d.Count) { '{0} device(s) are remembered but not connected:' -f $d.Count; $d | Sort-Object Class, FriendlyName | Format-Table Class, FriendlyName -AutoSize } else { 'No disconnected devices are remembered.' }\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["devices", "disconnected", "ghost", "hidden", "not present", "drivers"]
},
{
"id": "device.hardware.scan",
"categoryId": "devices",
"titleKey": "Cmd_device.hardware.scan_Title",
"descriptionKey": "Cmd_device.hardware.scan_Desc",
"icon": "Sync",
"executable": "pnputil",
"argsTemplate": "/scan-devices",
"requiresAdmin": true,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["scan", "hardware", "devices", "detect", "pnputil"]
},
{
"id": "recovery.settings.open",
"executionMode": "Launch",
"categoryId": "backup-recovery",
"titleKey": "Cmd_recovery.settings.open_Title",
"descriptionKey": "Cmd_recovery.settings.open_Desc",
"icon": "Restore",
"executable": "explorer",
"argsTemplate": "ms-settings:recovery",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["recovery", "reset this pc", "advanced startup", "go back", "settings"]
},
{
"id": "recovery.winre.status",
"categoryId": "backup-recovery",
"titleKey": "Cmd_recovery.winre.status_Title",
"descriptionKey": "Cmd_recovery.winre.status_Desc",
"icon": "ShieldSearch",
"executable": "reagentc",
"argsTemplate": "/info",
"requiresAdmin": true,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["winre", "recovery environment", "reagentc", "status"]
},
{
"id": "recovery.winre.enable",
"categoryId": "backup-recovery",
"titleKey": "Cmd_recovery.winre.enable_Title",
"descriptionKey": "Cmd_recovery.winre.enable_Desc",
"icon": "ShieldCheck",
"executable": "reagentc",
"argsTemplate": "/enable",
"requiresAdmin": true,
"dangerLevel": "Caution",
"confirmBeforeRun": true,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["winre", "recovery environment", "reagentc", "enable", "repair"]
},
{
"id": "recovery.systemprotection.open",
"executionMode": "Launch",
"categoryId": "backup-recovery",
"titleKey": "Cmd_recovery.systemprotection.open_Title",
"descriptionKey": "Cmd_recovery.systemprotection.open_Desc",
"icon": "ShieldCheck",
"executable": "SystemPropertiesProtection",
"argsTemplate": "",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["system protection", "restore point", "settings", "disk space"]
},
{
"id": "recovery.shadowstorage",
"categoryId": "backup-recovery",
"titleKey": "Cmd_recovery.shadowstorage_Title",
"descriptionKey": "Cmd_recovery.shadowstorage_Desc",
"icon": "Harddisk",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; if (@(Get-CimInstance Win32_ShadowStorage).Count) { vssadmin list shadowstorage; exit $LASTEXITCODE } else { 'No shadow copy storage is set up: System Protection is off on every drive.' }\"",
"requiresAdmin": true,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["restore point", "shadow copy", "vss", "disk space", "system protection"]
},
{
"id": "recovery.filehistory.open",
"executionMode": "Launch",
"categoryId": "backup-recovery",
"titleKey": "Cmd_recovery.filehistory.open_Title",
"descriptionKey": "Cmd_recovery.filehistory.open_Desc",
"icon": "History",
"executable": "control",
"argsTemplate": "/name Microsoft.FileHistory",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["file history", "backup", "restore files", "versions"]
},
{
"id": "recovery.backup.settings",
"executionMode": "Launch",
"categoryId": "backup-recovery",
"titleKey": "Cmd_recovery.backup.settings_Title",
"descriptionKey": "Cmd_recovery.backup.settings_Desc",
"icon": "CloudUpload",
"executable": "explorer",
"argsTemplate": "ms-settings:backup",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["backup", "windows backup", "onedrive", "settings"]
},
{
"id": "recovery.backuprestore.open",
"executionMode": "Launch",
"categoryId": "backup-recovery",
"titleKey": "Cmd_recovery.backuprestore.open_Title",
"descriptionKey": "Cmd_recovery.backuprestore.open_Desc",
"icon": "BackupRestore",
"executable": "sdclt",
"argsTemplate": "",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["system image", "backup and restore", "windows 7", "image backup"]
},
{
"id": "recovery.drive.create",
"executionMode": "Launch",
"categoryId": "backup-recovery",
"titleKey": "Cmd_recovery.drive.create_Title",
"descriptionKey": "Cmd_recovery.drive.create_Desc",
"icon": "Usb",
"executable": "RecoveryDrive",
"argsTemplate": "",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["recovery drive", "usb", "rescue", "boot media"]
},
{
"id": "account.signin.settings",
"executionMode": "Launch",
"categoryId": "accounts",
"titleKey": "Cmd_account.signin.settings_Title",
"descriptionKey": "Cmd_account.signin.settings_Desc",
"icon": "AccountKey",
"executable": "explorer",
"argsTemplate": "ms-settings:signinoptions",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["sign-in", "password", "pin", "windows hello", "security key"]
},
{
"id": "account.yourinfo.settings",
"executionMode": "Launch",
"categoryId": "accounts",
"titleKey": "Cmd_account.yourinfo.settings_Title",
"descriptionKey": "Cmd_account.yourinfo.settings_Desc",
"icon": "Account",
"executable": "explorer",
"argsTemplate": "ms-settings:yourinfo",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["account", "microsoft account", "local account", "profile"]
},
{
"id": "account.otherusers.settings",
"executionMode": "Launch",
"categoryId": "accounts",
"titleKey": "Cmd_account.otherusers.settings_Title",
"descriptionKey": "Cmd_account.otherusers.settings_Desc",
"icon": "AccountGroup",
"executable": "explorer",
"argsTemplate": "ms-settings:otherusers",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["users", "add user", "other users", "family", "accounts"]
},
{
"id": "account.useraccounts.open",
"executionMode": "Launch",
"categoryId": "accounts",
"titleKey": "Cmd_account.useraccounts.open_Title",
"descriptionKey": "Cmd_account.useraccounts.open_Desc",
"icon": "Account",
"executable": "netplwiz",
"argsTemplate": "",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["user accounts", "netplwiz", "groups", "advanced"]
},
{
"id": "account.credman.open",
"executionMode": "Launch",
"categoryId": "accounts",
"titleKey": "Cmd_account.credman.open_Title",
"descriptionKey": "Cmd_account.credman.open_Desc",
"icon": "KeyChain",
"executable": "control",
"argsTemplate": "/name Microsoft.CredentialManager",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["credential manager", "saved passwords", "windows credentials", "web credentials"]
},
{
"id": "account.credentials.list",
"categoryId": "accounts",
"titleKey": "Cmd_account.credentials.list_Title",
"descriptionKey": "Cmd_account.credentials.list_Desc",
"icon": "KeyChain",
"executable": "cmdkey",
"argsTemplate": "/list",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["credentials", "saved", "cmdkey", "network passwords"]
},
{
"id": "account.passwordpolicy",
"categoryId": "accounts",
"titleKey": "Cmd_account.passwordpolicy_Title",
"descriptionKey": "Cmd_account.passwordpolicy_Desc",
"icon": "Lock",
"executable": "net",
"argsTemplate": "accounts",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["password policy", "lockout", "net accounts", "security"]
},
{
"id": "account.localgroups",
"categoryId": "accounts",
"titleKey": "Cmd_account.localgroups_Title",
"descriptionKey": "Cmd_account.localgroups_Desc",
"icon": "AccountGroup",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; Get-LocalGroup | Sort-Object Name | Format-Table Name, Description -AutoSize -Wrap\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["groups", "local groups", "users", "administrators"]
},
{
"id": "power.sleepstates",
"categoryId": "power",
"titleKey": "Cmd_power.sleepstates_Title",
"descriptionKey": "Cmd_power.sleepstates_Desc",
"icon": "PowerSleep",
"executable": "powercfg",
"argsTemplate": "/availablesleepstates",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["sleep", "standby", "modern standby", "hibernate", "s3", "s0"]
},
{
"id": "power.lastwake",
"categoryId": "power",
"titleKey": "Cmd_power.lastwake_Title",
"descriptionKey": "Cmd_power.lastwake_Desc",
"icon": "PowerSleep",
"executable": "powercfg",
"argsTemplate": "/lastwake",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["wake", "sleep", "woke up", "wake source"]
},
{
"id": "power.wake.devices",
"categoryId": "power",
"titleKey": "Cmd_power.wake.devices_Title",
"descriptionKey": "Cmd_power.wake.devices_Desc",
"icon": "Power",
"executable": "powercfg",
"argsTemplate": "/devicequery wake_armed",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["wake", "devices", "mouse", "keyboard", "network adapter", "sleep"]
},
{
"id": "info.motherboard",
"categoryId": "system-info",
"titleKey": "Cmd_info.motherboard_Title",
"descriptionKey": "Cmd_info.motherboard_Desc",
"icon": "Chip",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; Get-CimInstance Win32_BaseBoard | Format-List Manufacturer, Product, Version\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["motherboard", "mainboard", "baseboard", "hardware"]
},
{
"id": "info.language",
"categoryId": "system-info",
"titleKey": "Cmd_info.language_Title",
"descriptionKey": "Cmd_info.language_Desc",
"icon": "Translate",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; [pscustomobject]@{ 'System locale' = (Get-WinSystemLocale).Name; 'Display language' = (Get-UICulture).Name; 'Regional format' = (Get-Culture).Name; 'Home location' = (Get-WinHomeLocation).HomeLocation } | Format-List; Get-WinUserLanguageList | Format-Table LanguageTag, LocalizedName -AutoSize\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["language", "locale", "region", "unicode", "format", "keyboard"]
},
{
"id": "svc.list.disabled",
"categoryId": "services-startup",
"titleKey": "Cmd_svc.list.disabled_Title",
"descriptionKey": "Cmd_svc.list.disabled_Desc",
"icon": "Cog",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; Get-Service | Where-Object StartType -eq 'Disabled' | Sort-Object DisplayName | Format-Table Status, Name, DisplayName -AutoSize\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["services", "disabled", "startup type"]
},
{
"id": "dev.path.list",
"categoryId": "developer",
"titleKey": "Cmd_dev.path.list_Title",
"descriptionKey": "Cmd_dev.path.list_Desc",
"icon": "FolderOpen",
"executable": "powershell",
"argsTemplate": "-NoProfile -NonInteractive -Command \"$ErrorActionPreference='Stop'; foreach ($s in 'Machine', 'User') { '[' + $s + ']'; [Environment]::GetEnvironmentVariable('Path', $s) -split ';' | Where-Object { $_ } | ForEach-Object { if (Test-Path -LiteralPath $_ -PathType Container) { ' ' + $_ } else { '! ' + $_ + ' (missing)' } } }\"",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["path", "environment", "variables", "developer", "missing folders"]
},
{
"id": "net.proxy.settings",
"executionMode": "Launch",
"categoryId": "network",
"titleKey": "Cmd_net.proxy.settings_Title",
"descriptionKey": "Cmd_net.proxy.settings_Desc",
"icon": "Ip",
"executable": "explorer",
"argsTemplate": "ms-settings:network-proxy",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["proxy", "pac", "settings", "network"]
},
{
"id": "net.vpn.settings",
"executionMode": "Launch",
"categoryId": "network",
"titleKey": "Cmd_net.vpn.settings_Title",
"descriptionKey": "Cmd_net.vpn.settings_Desc",
"icon": "Lock",
"executable": "explorer",
"argsTemplate": "ms-settings:network-vpn",
"requiresAdmin": false,
"dangerLevel": "Safe",
"confirmBeforeRun": false,
"createsRestorePoint": false,
"restart": "No",
"restartRegex": null,
"revertCommandId": null,
"estimatedDuration": "Short",
"docUrl": null,
"tags": ["vpn", "settings", "network", "connection"]
}
]
@@ -25,8 +25,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.13" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.366">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.14" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.367">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
+1 -1
View File
@@ -26,7 +26,7 @@
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.13" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.14" />
<PackageReference Include="Serilog" Version="4.4.0" />
<PackageReference Include="Serilog.Sinks.Async" Version="2.1.0" />
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
@@ -15,8 +15,11 @@ public static class IconMap
{
// Commands
["Account"] = SymbolRegular.Person24,
["AccountGroup"] = SymbolRegular.PeopleCommunity24,
["AccountKey"] = SymbolRegular.PersonKey24,
["Alert"] = SymbolRegular.Warning24,
["Battery"] = SymbolRegular.Battery1024,
["Bluetooth"] = SymbolRegular.Bluetooth24,
["Brightness4"] = SymbolRegular.DarkTheme24,
["Brightness7"] = SymbolRegular.WeatherSunny24,
["Broom"] = SymbolRegular.Broom24,
@@ -28,6 +31,7 @@ public static class IconMap
["ClipboardListOutline"] = SymbolRegular.ClipboardTaskListLtr24,
["ClipboardPulse"] = SymbolRegular.ClipboardPulse24,
["ClockOutline"] = SymbolRegular.Clock24,
["CloudUpload"] = SymbolRegular.CloudArrowUp24,
["Cog"] = SymbolRegular.Settings24,
["CogOutline"] = SymbolRegular.Settings24,
["Console"] = SymbolRegular.WindowConsole20,
@@ -47,6 +51,7 @@ public static class IconMap
["History"] = SymbolRegular.History24,
["Information"] = SymbolRegular.Info24,
["Ip"] = SymbolRegular.Globe24,
["KeyChain"] = SymbolRegular.KeyMultiple24,
["KeyVariant"] = SymbolRegular.Key24,
["Keyboard"] = SymbolRegular.Keyboard24,
["Lan"] = SymbolRegular.NetworkCheck24,
@@ -64,19 +69,26 @@ public static class IconMap
["PowerPlug"] = SymbolRegular.BatteryCharge24,
["PowerSleep"] = SymbolRegular.WeatherMoon24,
["Printer"] = SymbolRegular.Print24,
["Restore"] = SymbolRegular.ArrowCounterclockwise24,
["Rocket"] = SymbolRegular.Rocket24,
["ShieldCheck"] = SymbolRegular.ShieldCheckmark24,
["ShieldOff"] = SymbolRegular.ShieldDismiss24,
["ShieldRefresh"] = SymbolRegular.ShieldTask24,
["ShieldSearch"] = SymbolRegular.ShieldQuestion24,
["Sync"] = SymbolRegular.ArrowSync24,
["Translate"] = SymbolRegular.LocalLanguage24,
["Update"] = SymbolRegular.ArrowSyncCircle24,
["Usb"] = SymbolRegular.UsbStick24,
["ViewGridPlus"] = SymbolRegular.AppsAddIn24,
["VolumeHigh"] = SymbolRegular.Speaker224,
["Webcam"] = SymbolRegular.Camera24,
["Wifi"] = SymbolRegular.Wifi124,
// Categories
["AccountMultiple"] = SymbolRegular.People24,
["BackupRestore"] = SymbolRegular.ArchiveArrowBack24,
["CodeBraces"] = SymbolRegular.Code24,
["Devices"] = SymbolRegular.PhoneLaptop24,
["ShieldLock"] = SymbolRegular.ShieldLock24,
["Stethoscope"] = SymbolRegular.Stethoscope24,
["Tune"] = SymbolRegular.Options24,
+1 -1
View File
@@ -24,7 +24,7 @@ public sealed class CrashHandlingService
_clipboard = clipboard;
}
/// <summary>Wires the three global exception sources. Call once at startup after the host is built.</summary>
/// <summary>Wires the three global exception sources. Call once at startup, right after the service provider is built.</summary>
public void Hook()
{
if (System.Windows.Application.Current is { } app)
+235 -4
View File
@@ -1055,10 +1055,7 @@
<value>Modo de ejecución:</value>
</data>
<data name="Settings_RunModeInstalled" xml:space="preserve">
<value>Instalado</value>
</data>
<data name="Settings_RunModePortable" xml:space="preserve">
<value>Portátil / desarrollo</value>
<value>Instalada o portátil (se actualiza sola)</value>
</data>
<data name="Settings_ConfigPath" xml:space="preserve">
<value>Archivo de configuración</value>
@@ -2582,4 +2579,238 @@ Los detalles se escribieron en la carpeta de registros:
<data name="About_CodeContact" xml:space="preserve">
<value>Código y contribuciones</value>
</data>
<data name="Settings_RunModeDev" xml:space="preserve">
<value>Compilación de desarrollo (no se actualiza)</value>
</data>
<data name="Cat_devices" xml:space="preserve">
<value>Dispositivos y periféricos</value>
</data>
<data name="Cat_backup-recovery" xml:space="preserve">
<value>Copia de seguridad y recuperación</value>
</data>
<data name="Cat_accounts" xml:space="preserve">
<value>Cuentas e inicio de sesión</value>
</data>
<data name="Cmd_device.bluetooth.settings_Title" xml:space="preserve">
<value>Configuración de Bluetooth y dispositivos</value>
</data>
<data name="Cmd_device.bluetooth.settings_Desc" xml:space="preserve">
<value>Abre Configuración para activar o desactivar Bluetooth y emparejar, conectar o quitar dispositivos.</value>
</data>
<data name="Cmd_device.printers.settings_Title" xml:space="preserve">
<value>Configuración de impresoras y escáneres</value>
</data>
<data name="Cmd_device.printers.settings_Desc" xml:space="preserve">
<value>Abre Configuración para agregar o quitar impresoras y escáneres, elegir la impresora predeterminada y abrir las colas de impresión.</value>
</data>
<data name="Cmd_device.display.settings_Title" xml:space="preserve">
<value>Configuración de pantalla</value>
</data>
<data name="Cmd_device.display.settings_Desc" xml:space="preserve">
<value>Abre Configuración para cambiar la resolución, la escala, la orientación y la frecuencia de actualización, y organizar varias pantallas.</value>
</data>
<data name="Cmd_device.sound.open_Title" xml:space="preserve">
<value>Panel de control de sonido</value>
</data>
<data name="Cmd_device.sound.open_Desc" xml:space="preserve">
<value>Abre el panel clásico de Sonido para elegir los dispositivos de reproducción y grabación predeterminados y ajustar su formato y niveles.</value>
</data>
<data name="Cmd_device.usb.list_Title" xml:space="preserve">
<value>Listar dispositivos USB</value>
</data>
<data name="Cmd_device.usb.list_Desc" xml:space="preserve">
<value>Enumera los dispositivos USB conectados ahora (concentradores, controladoras, almacenamiento y periféricos) con su estado.</value>
</data>
<data name="Cmd_device.cameras.list_Title" xml:space="preserve">
<value>Listar cámaras</value>
</data>
<data name="Cmd_device.cameras.list_Desc" xml:space="preserve">
<value>Enumera las cámaras web y otros dispositivos de imagen que detecta Windows, con su estado.</value>
</data>
<data name="Cmd_device.audio.list_Title" xml:space="preserve">
<value>Listar dispositivos de audio</value>
</data>
<data name="Cmd_device.audio.list_Desc" xml:space="preserve">
<value>Enumera las tarjetas de sonido y los dispositivos de reproducción y grabación (altavoces, auriculares, micrófonos) con su estado.</value>
</data>
<data name="Cmd_device.bluetooth.list_Title" xml:space="preserve">
<value>Listar dispositivos Bluetooth</value>
</data>
<data name="Cmd_device.bluetooth.list_Desc" xml:space="preserve">
<value>Muestra el adaptador Bluetooth y los dispositivos emparejados con este equipo.</value>
</data>
<data name="Cmd_device.printers.list_Title" xml:space="preserve">
<value>Listar impresoras</value>
</data>
<data name="Cmd_device.printers.list_Desc" xml:space="preserve">
<value>Enumera las impresoras instaladas con su controlador, puerto, uso compartido y estado. Necesita el servicio Cola de impresión.</value>
</data>
<data name="Cmd_device.disconnected.list_Title" xml:space="preserve">
<value>Listar dispositivos desconectados</value>
</data>
<data name="Cmd_device.disconnected.list_Desc" xml:space="preserve">
<value>Enumera los dispositivos que Windows recuerda pero que no están conectados ahora, como unidades USB antiguas, bases o monitores.</value>
</data>
<data name="Cmd_device.hardware.scan_Title" xml:space="preserve">
<value>Buscar cambios de hardware</value>
</data>
<data name="Cmd_device.hardware.scan_Desc" xml:space="preserve">
<value>Pide a Windows que detecte el hardware recién conectado o modificado, como Buscar cambios de hardware en el Administrador de dispositivos.</value>
</data>
<data name="Cmd_recovery.settings.open_Title" xml:space="preserve">
<value>Configuración de recuperación</value>
</data>
<data name="Cmd_recovery.settings.open_Desc" xml:space="preserve">
<value>Abre Configuración → Recuperación: Restablecer este equipo, Inicio avanzado y volver a la versión anterior de Windows.</value>
</data>
<data name="Cmd_recovery.winre.status_Title" xml:space="preserve">
<value>Estado del Entorno de recuperación de Windows</value>
</data>
<data name="Cmd_recovery.winre.status_Desc" xml:space="preserve">
<value>Muestra si el Entorno de recuperación de Windows (WinRE) está habilitado y dónde está su imagen (reagentc /info).</value>
</data>
<data name="Cmd_recovery.winre.enable_Title" xml:space="preserve">
<value>Habilitar el Entorno de recuperación de Windows</value>
</data>
<data name="Cmd_recovery.winre.enable_Desc" xml:space="preserve">
<value>Vuelve a activar el Entorno de recuperación de Windows (reagentc /enable) para tener Reparación de inicio, Restaurar sistema y Restablecer este equipo al arrancar. Necesita la imagen de recuperación (Winre.wim).</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Title" xml:space="preserve">
<value>Configuración de Protección del sistema</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Desc" xml:space="preserve">
<value>Abre Propiedades del sistema → Protección del sistema para activar o desactivar los puntos de restauración por unidad y limitar el espacio que usan.</value>
</data>
<data name="Cmd_recovery.shadowstorage_Title" xml:space="preserve">
<value>Espacio usado por los puntos de restauración</value>
</data>
<data name="Cmd_recovery.shadowstorage_Desc" xml:space="preserve">
<value>Muestra cuánto espacio en disco usan, y pueden usar, los puntos de restauración (instantáneas) en cada unidad.</value>
</data>
<data name="Cmd_recovery.filehistory.open_Title" xml:space="preserve">
<value>Historial de archivos</value>
</data>
<data name="Cmd_recovery.filehistory.open_Desc" xml:space="preserve">
<value>Abre Historial de archivos para hacer copia de tus carpetas personales en una unidad externa o de red, o restaurar versiones anteriores de archivos.</value>
</data>
<data name="Cmd_recovery.backup.settings_Title" xml:space="preserve">
<value>Configuración de copia de seguridad</value>
</data>
<data name="Cmd_recovery.backup.settings_Desc" xml:space="preserve">
<value>Abre Configuración → Copia de seguridad: Copia de seguridad de Windows en Windows 11, opciones de Historial de archivos en Windows 10.</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Title" xml:space="preserve">
<value>Copias de seguridad y restauración (Windows 7)</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Desc" xml:space="preserve">
<value>Abre el panel clásico de Copias de seguridad y restauración para crear una imagen del sistema o restaurar archivos de una copia anterior.</value>
</data>
<data name="Cmd_recovery.drive.create_Title" xml:space="preserve">
<value>Crear una unidad de recuperación</value>
</data>
<data name="Cmd_recovery.drive.create_Desc" xml:space="preserve">
<value>Abre el asistente Unidad de recuperación para crear una unidad USB de arranque con la que reparar o reinstalar Windows. El asistente borra la unidad USB y pide aprobación de administrador.</value>
</data>
<data name="Cmd_account.signin.settings_Title" xml:space="preserve">
<value>Opciones de inicio de sesión</value>
</data>
<data name="Cmd_account.signin.settings_Desc" xml:space="preserve">
<value>Abre Configuración para configurar un PIN, Windows Hello, una contraseña o una llave de seguridad, y el bloqueo dinámico.</value>
</data>
<data name="Cmd_account.yourinfo.settings_Title" xml:space="preserve">
<value>Información de tu cuenta</value>
</data>
<data name="Cmd_account.yourinfo.settings_Desc" xml:space="preserve">
<value>Abre Configuración → Tu información para ver el tipo de cuenta y cambiar entre una cuenta Microsoft y una cuenta local.</value>
</data>
<data name="Cmd_account.otherusers.settings_Title" xml:space="preserve">
<value>Otros usuarios</value>
</data>
<data name="Cmd_account.otherusers.settings_Desc" xml:space="preserve">
<value>Abre Configuración para agregar, quitar o cambiar las demás cuentas de usuario de este equipo.</value>
</data>
<data name="Cmd_account.useraccounts.open_Title" xml:space="preserve">
<value>Cuentas de usuario (avanzado)</value>
</data>
<data name="Cmd_account.useraccounts.open_Desc" xml:space="preserve">
<value>Abre el cuadro clásico Cuentas de usuario (netplwiz) para administrar usuarios y sus grupos. Windows pide aprobación de administrador.</value>
</data>
<data name="Cmd_account.credman.open_Title" xml:space="preserve">
<value>Administrador de credenciales</value>
</data>
<data name="Cmd_account.credman.open_Desc" xml:space="preserve">
<value>Abre el Administrador de credenciales para ver, editar o quitar las credenciales de Windows y web guardadas.</value>
</data>
<data name="Cmd_account.credentials.list_Title" xml:space="preserve">
<value>Listar credenciales de Windows guardadas</value>
</data>
<data name="Cmd_account.credentials.list_Desc" xml:space="preserve">
<value>Enumera los destinos y nombres de usuario guardados en tu almacén de credenciales de Windows (cmdkey /list). Nunca muestra contraseñas.</value>
</data>
<data name="Cmd_account.passwordpolicy_Title" xml:space="preserve">
<value>Directiva de contraseñas y bloqueo</value>
</data>
<data name="Cmd_account.passwordpolicy_Desc" xml:space="preserve">
<value>Muestra las reglas de contraseñas locales (longitud mínima, vigencia e historial) y la configuración de bloqueo de cuentas (net accounts).</value>
</data>
<data name="Cmd_account.localgroups_Title" xml:space="preserve">
<value>Listar grupos locales</value>
</data>
<data name="Cmd_account.localgroups_Desc" xml:space="preserve">
<value>Enumera los grupos de seguridad locales de este equipo con su descripción.</value>
</data>
<data name="Cmd_power.sleepstates_Title" xml:space="preserve">
<value>Estados de suspensión disponibles</value>
</data>
<data name="Cmd_power.sleepstates_Desc" xml:space="preserve">
<value>Muestra qué estados de suspensión admite este equipo (suspensión, Modern Standby, hibernación, suspensión híbrida) y por qué los demás no están disponibles.</value>
</data>
<data name="Cmd_power.lastwake_Title" xml:space="preserve">
<value>Qué reactivó el equipo por última vez</value>
</data>
<data name="Cmd_power.lastwake_Desc" xml:space="preserve">
<value>Muestra el dispositivo o temporizador que reactivó el equipo de la suspensión por última vez (powercfg /lastwake).</value>
</data>
<data name="Cmd_power.wake.devices_Title" xml:space="preserve">
<value>Dispositivos que pueden reactivar el equipo</value>
</data>
<data name="Cmd_power.wake.devices_Desc" xml:space="preserve">
<value>Enumera los dispositivos que pueden reactivar el equipo de la suspensión, como el mouse, el teclado o el adaptador de red.</value>
</data>
<data name="Cmd_info.motherboard_Title" xml:space="preserve">
<value>Información de la placa base</value>
</data>
<data name="Cmd_info.motherboard_Desc" xml:space="preserve">
<value>Muestra el fabricante, el modelo y la revisión de la placa base.</value>
</data>
<data name="Cmd_info.language_Title" xml:space="preserve">
<value>Idioma y región</value>
</data>
<data name="Cmd_info.language_Desc" xml:space="preserve">
<value>Muestra la configuración regional del sistema (para programas no Unicode), el idioma de presentación, el formato regional, la ubicación y tu lista de idiomas.</value>
</data>
<data name="Cmd_svc.list.disabled_Title" xml:space="preserve">
<value>Listar servicios deshabilitados</value>
</data>
<data name="Cmd_svc.list.disabled_Desc" xml:space="preserve">
<value>Enumera los servicios cuyo tipo de inicio es Deshabilitado, por ejemplo para detectar los que apagó una herramienta de optimización.</value>
</data>
<data name="Cmd_dev.path.list_Title" xml:space="preserve">
<value>Listar entradas de PATH</value>
</data>
<data name="Cmd_dev.path.list_Desc" xml:space="preserve">
<value>Enumera las carpetas del PATH del equipo y del usuario, una por línea, y marca las que ya no existen.</value>
</data>
<data name="Cmd_net.proxy.settings_Title" xml:space="preserve">
<value>Configuración de proxy</value>
</data>
<data name="Cmd_net.proxy.settings_Desc" xml:space="preserve">
<value>Abre Configuración para configurar un servidor proxy o un script de configuración automática de proxy (PAC).</value>
</data>
<data name="Cmd_net.vpn.settings_Title" xml:space="preserve">
<value>Configuración de VPN</value>
</data>
<data name="Cmd_net.vpn.settings_Desc" xml:space="preserve">
<value>Abre Configuración para agregar, conectar o quitar las conexiones VPN integradas de Windows.</value>
</data>
</root>
+235 -4
View File
@@ -1055,10 +1055,7 @@
<value>実行モード:</value>
</data>
<data name="Settings_RunModeInstalled" xml:space="preserve">
<value>インストール版</value>
</data>
<data name="Settings_RunModePortable" xml:space="preserve">
<value>ポータブル / 開発</value>
<value>インストール版またはポータブル版 (自動更新)</value>
</data>
<data name="Settings_ConfigPath" xml:space="preserve">
<value>設定ファイル</value>
@@ -2582,4 +2579,238 @@
<data name="About_CodeContact" xml:space="preserve">
<value>コードと貢献</value>
</data>
<data name="Settings_RunModeDev" xml:space="preserve">
<value>開発ビルド (自動更新なし)</value>
</data>
<data name="Cat_devices" xml:space="preserve">
<value>デバイスと周辺機器</value>
</data>
<data name="Cat_backup-recovery" xml:space="preserve">
<value>バックアップと回復</value>
</data>
<data name="Cat_accounts" xml:space="preserve">
<value>アカウントとサインイン</value>
</data>
<data name="Cmd_device.bluetooth.settings_Title" xml:space="preserve">
<value>Bluetooth とデバイスの設定</value>
</data>
<data name="Cmd_device.bluetooth.settings_Desc" xml:space="preserve">
<value>設定を開いて Bluetooth のオン/オフを切り替え、デバイスのペアリング、接続、削除を行います。</value>
</data>
<data name="Cmd_device.printers.settings_Title" xml:space="preserve">
<value>プリンターとスキャナーの設定</value>
</data>
<data name="Cmd_device.printers.settings_Desc" xml:space="preserve">
<value>設定を開いて、プリンターやスキャナーの追加と削除、既定のプリンターの選択、印刷キューの表示を行います。</value>
</data>
<data name="Cmd_device.display.settings_Title" xml:space="preserve">
<value>ディスプレイの設定</value>
</data>
<data name="Cmd_device.display.settings_Desc" xml:space="preserve">
<value>設定を開いて、解像度、拡大縮小、向き、リフレッシュ レートの変更や複数ディスプレイの配置を行います。</value>
</data>
<data name="Cmd_device.sound.open_Title" xml:space="preserve">
<value>サウンド コントロール パネル</value>
</data>
<data name="Cmd_device.sound.open_Desc" xml:space="preserve">
<value>従来のサウンド パネルを開いて、既定の再生デバイスと録音デバイスを選び、形式とレベルを設定します。</value>
</data>
<data name="Cmd_device.usb.list_Title" xml:space="preserve">
<value>USB デバイスを一覧表示</value>
</data>
<data name="Cmd_device.usb.list_Desc" xml:space="preserve">
<value>現在接続されている USB デバイス (ハブ、コントローラー、ストレージ、周辺機器) を状態とともに一覧表示します。</value>
</data>
<data name="Cmd_device.cameras.list_Title" xml:space="preserve">
<value>カメラを一覧表示</value>
</data>
<data name="Cmd_device.cameras.list_Desc" xml:space="preserve">
<value>Windows が検出した Web カメラなどのイメージング デバイスを状態とともに一覧表示します。</value>
</data>
<data name="Cmd_device.audio.list_Title" xml:space="preserve">
<value>オーディオ デバイスを一覧表示</value>
</data>
<data name="Cmd_device.audio.list_Desc" xml:space="preserve">
<value>サウンド カードと再生・録音エンドポイント (スピーカー、ヘッドホン、マイク) を状態とともに一覧表示します。</value>
</data>
<data name="Cmd_device.bluetooth.list_Title" xml:space="preserve">
<value>Bluetooth デバイスを一覧表示</value>
</data>
<data name="Cmd_device.bluetooth.list_Desc" xml:space="preserve">
<value>Bluetooth アダプターと、この PC とペアリングされたデバイスを表示します。</value>
</data>
<data name="Cmd_device.printers.list_Title" xml:space="preserve">
<value>プリンターを一覧表示</value>
</data>
<data name="Cmd_device.printers.list_Desc" xml:space="preserve">
<value>インストール済みのプリンターをドライバー、ポート、共有、状態とともに一覧表示します。Print Spooler サービスが必要です。</value>
</data>
<data name="Cmd_device.disconnected.list_Title" xml:space="preserve">
<value>切断されたデバイスを一覧表示</value>
</data>
<data name="Cmd_device.disconnected.list_Desc" xml:space="preserve">
<value>Windows が記憶しているものの現在は接続されていないデバイス (古い USB ドライブ、ドック、モニターなど) を一覧表示します。</value>
</data>
<data name="Cmd_device.hardware.scan_Title" xml:space="preserve">
<value>ハードウェア変更のスキャン</value>
</data>
<data name="Cmd_device.hardware.scan_Desc" xml:space="preserve">
<value>デバイス マネージャーの [ハードウェア変更のスキャン] と同様に、新しく接続または変更されたハードウェアを Windows に検出させます。</value>
</data>
<data name="Cmd_recovery.settings.open_Title" xml:space="preserve">
<value>回復の設定</value>
</data>
<data name="Cmd_recovery.settings.open_Desc" xml:space="preserve">
<value>設定の [回復] を開きます: この PC をリセット、PC の起動をカスタマイズする、以前のバージョンの Windows に戻す。</value>
</data>
<data name="Cmd_recovery.winre.status_Title" xml:space="preserve">
<value>Windows 回復環境の状態</value>
</data>
<data name="Cmd_recovery.winre.status_Desc" xml:space="preserve">
<value>Windows 回復環境 (WinRE) が有効かどうかと、そのイメージの場所を表示します (reagentc /info)。</value>
</data>
<data name="Cmd_recovery.winre.enable_Title" xml:space="preserve">
<value>Windows 回復環境を有効にする</value>
</data>
<data name="Cmd_recovery.winre.enable_Desc" xml:space="preserve">
<value>Windows 回復環境を再び有効にして (reagentc /enable)、起動時にスタートアップ修復、システムの復元、この PC をリセットを使えるようにします。回復イメージ (Winre.wim) が必要です。</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Title" xml:space="preserve">
<value>システムの保護の設定</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Desc" xml:space="preserve">
<value>[システムのプロパティ] の [システムの保護] を開き、ドライブごとに復元ポイントのオン/オフと使用するディスク領域の上限を設定します。</value>
</data>
<data name="Cmd_recovery.shadowstorage_Title" xml:space="preserve">
<value>復元ポイントのディスク使用量</value>
</data>
<data name="Cmd_recovery.shadowstorage_Desc" xml:space="preserve">
<value>各ドライブで復元ポイント (シャドウ コピー) が使用している、および使用できるディスク領域を表示します。</value>
</data>
<data name="Cmd_recovery.filehistory.open_Title" xml:space="preserve">
<value>ファイル履歴</value>
</data>
<data name="Cmd_recovery.filehistory.open_Desc" xml:space="preserve">
<value>ファイル履歴を開いて、個人用フォルダーを外付けドライブやネットワーク ドライブにバックアップしたり、以前のバージョンのファイルを復元したりします。</value>
</data>
<data name="Cmd_recovery.backup.settings_Title" xml:space="preserve">
<value>バックアップの設定</value>
</data>
<data name="Cmd_recovery.backup.settings_Desc" xml:space="preserve">
<value>設定の [バックアップ] を開きます (Windows 11 では Windows バックアップ、Windows 10 ではファイル履歴のオプション)。</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Title" xml:space="preserve">
<value>バックアップと復元 (Windows 7)</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Desc" xml:space="preserve">
<value>従来の [バックアップと復元] パネルを開いて、システム イメージを作成したり、以前のバックアップからファイルを復元したりします。</value>
</data>
<data name="Cmd_recovery.drive.create_Title" xml:space="preserve">
<value>回復ドライブの作成</value>
</data>
<data name="Cmd_recovery.drive.create_Desc" xml:space="preserve">
<value>回復ドライブ ウィザードを開いて、Windows の修復や再インストールに使う起動可能な USB ドライブを作成します。USB ドライブの内容は消去され、管理者の承認が必要です。</value>
</data>
<data name="Cmd_account.signin.settings_Title" xml:space="preserve">
<value>サインイン オプション</value>
</data>
<data name="Cmd_account.signin.settings_Desc" xml:space="preserve">
<value>設定を開いて、PIN、Windows Hello、パスワード、セキュリティ キー、動的ロックを設定します。</value>
</data>
<data name="Cmd_account.yourinfo.settings_Title" xml:space="preserve">
<value>アカウント情報</value>
</data>
<data name="Cmd_account.yourinfo.settings_Desc" xml:space="preserve">
<value>設定の [ユーザーの情報] を開き、アカウントの種類を確認して、Microsoft アカウントとローカル アカウントを切り替えます。</value>
</data>
<data name="Cmd_account.otherusers.settings_Title" xml:space="preserve">
<value>他のユーザー</value>
</data>
<data name="Cmd_account.otherusers.settings_Desc" xml:space="preserve">
<value>設定を開いて、この PC の他のユーザー アカウントを追加、削除、変更します。</value>
</data>
<data name="Cmd_account.useraccounts.open_Title" xml:space="preserve">
<value>ユーザー アカウント (詳細)</value>
</data>
<data name="Cmd_account.useraccounts.open_Desc" xml:space="preserve">
<value>従来の [ユーザー アカウント] ダイアログ (netplwiz) を開いて、ユーザーとグループ メンバーシップを管理します。管理者の承認が求められます。</value>
</data>
<data name="Cmd_account.credman.open_Title" xml:space="preserve">
<value>資格情報マネージャー</value>
</data>
<data name="Cmd_account.credman.open_Desc" xml:space="preserve">
<value>資格情報マネージャーを開いて、保存されている Windows 資格情報と Web 資格情報を表示、編集、削除します。</value>
</data>
<data name="Cmd_account.credentials.list_Title" xml:space="preserve">
<value>保存された Windows 資格情報を一覧表示</value>
</data>
<data name="Cmd_account.credentials.list_Desc" xml:space="preserve">
<value>Windows 資格情報コンテナーに保存されている接続先とユーザー名を一覧表示します (cmdkey /list)。パスワードは表示されません。</value>
</data>
<data name="Cmd_account.passwordpolicy_Title" xml:space="preserve">
<value>パスワードとロックアウトのポリシー</value>
</data>
<data name="Cmd_account.passwordpolicy_Desc" xml:space="preserve">
<value>ローカルのパスワード規則 (最小の長さ、有効期間、履歴) とアカウント ロックアウトの設定を表示します (net accounts)。</value>
</data>
<data name="Cmd_account.localgroups_Title" xml:space="preserve">
<value>ローカル グループを一覧表示</value>
</data>
<data name="Cmd_account.localgroups_Desc" xml:space="preserve">
<value>この PC のローカル セキュリティ グループを説明とともに一覧表示します。</value>
</data>
<data name="Cmd_power.sleepstates_Title" xml:space="preserve">
<value>利用できるスリープ状態</value>
</data>
<data name="Cmd_power.sleepstates_Desc" xml:space="preserve">
<value>この PC がサポートするスリープ状態 (スリープ、モダン スタンバイ、休止状態、ハイブリッド スリープ) と、その他が利用できない理由を表示します。</value>
</data>
<data name="Cmd_power.lastwake_Title" xml:space="preserve">
<value>最後に PC を復帰させた原因</value>
</data>
<data name="Cmd_power.lastwake_Desc" xml:space="preserve">
<value>最後に PC をスリープから復帰させたデバイスまたはタイマーを表示します (powercfg /lastwake)。</value>
</data>
<data name="Cmd_power.wake.devices_Title" xml:space="preserve">
<value>PC を復帰させられるデバイス</value>
</data>
<data name="Cmd_power.wake.devices_Desc" xml:space="preserve">
<value>マウス、キーボード、ネットワーク アダプターなど、PC をスリープから復帰させることが許可されているデバイスを一覧表示します。</value>
</data>
<data name="Cmd_info.motherboard_Title" xml:space="preserve">
<value>マザーボード情報</value>
</data>
<data name="Cmd_info.motherboard_Desc" xml:space="preserve">
<value>マザーボードのメーカー、モデル、リビジョンを表示します。</value>
</data>
<data name="Cmd_info.language_Title" xml:space="preserve">
<value>言語と地域</value>
</data>
<data name="Cmd_info.language_Desc" xml:space="preserve">
<value>システム ロケール (Unicode 非対応プログラムで使用)、表示言語、地域の形式、国または地域、言語の一覧を表示します。</value>
</data>
<data name="Cmd_svc.list.disabled_Title" xml:space="preserve">
<value>無効なサービスを一覧表示</value>
</data>
<data name="Cmd_svc.list.disabled_Desc" xml:space="preserve">
<value>スタートアップの種類が [無効] のサービスを一覧表示します。チューニング ツールで無効にされたサービスの確認などに使えます。</value>
</data>
<data name="Cmd_dev.path.list_Title" xml:space="preserve">
<value>PATH の項目を一覧表示</value>
</data>
<data name="Cmd_dev.path.list_Desc" xml:space="preserve">
<value>マシンとユーザーの PATH にあるフォルダーを 1 行ずつ一覧表示し、存在しないフォルダーに印を付けます。</value>
</data>
<data name="Cmd_net.proxy.settings_Title" xml:space="preserve">
<value>プロキシの設定</value>
</data>
<data name="Cmd_net.proxy.settings_Desc" xml:space="preserve">
<value>設定を開いて、プロキシ サーバーまたはプロキシの自動構成 (PAC) スクリプトを設定します。</value>
</data>
<data name="Cmd_net.vpn.settings_Title" xml:space="preserve">
<value>VPN の設定</value>
</data>
<data name="Cmd_net.vpn.settings_Desc" xml:space="preserve">
<value>設定を開いて、Windows 組み込みの VPN 接続を追加、接続、削除します。</value>
</data>
</root>
+235 -4
View File
@@ -1055,10 +1055,7 @@
<value>Run mode:</value>
</data>
<data name="Settings_RunModeInstalled" xml:space="preserve">
<value>Installed</value>
</data>
<data name="Settings_RunModePortable" xml:space="preserve">
<value>Portable / dev</value>
<value>Installed or portable (updates itself)</value>
</data>
<data name="Settings_ConfigPath" xml:space="preserve">
<value>Config file</value>
@@ -2582,4 +2579,238 @@ Details were written to the log folder:
<data name="About_CodeContact" xml:space="preserve">
<value>Code and contributions</value>
</data>
<data name="Settings_RunModeDev" xml:space="preserve">
<value>Development build (doesn't update)</value>
</data>
<data name="Cat_devices" xml:space="preserve">
<value>Devices &amp; Peripherals</value>
</data>
<data name="Cat_backup-recovery" xml:space="preserve">
<value>Backup &amp; Recovery</value>
</data>
<data name="Cat_accounts" xml:space="preserve">
<value>Accounts &amp; Sign-in</value>
</data>
<data name="Cmd_device.bluetooth.settings_Title" xml:space="preserve">
<value>Bluetooth &amp; devices settings</value>
</data>
<data name="Cmd_device.bluetooth.settings_Desc" xml:space="preserve">
<value>Open Settings to turn Bluetooth on or off and pair, connect or remove devices.</value>
</data>
<data name="Cmd_device.printers.settings_Title" xml:space="preserve">
<value>Printers &amp; scanners settings</value>
</data>
<data name="Cmd_device.printers.settings_Desc" xml:space="preserve">
<value>Open Settings to add or remove printers and scanners, choose the default printer and open print queues.</value>
</data>
<data name="Cmd_device.display.settings_Title" xml:space="preserve">
<value>Display settings</value>
</data>
<data name="Cmd_device.display.settings_Desc" xml:space="preserve">
<value>Open Settings to change the resolution, scale, orientation and refresh rate, and arrange multiple displays.</value>
</data>
<data name="Cmd_device.sound.open_Title" xml:space="preserve">
<value>Sound control panel</value>
</data>
<data name="Cmd_device.sound.open_Desc" xml:space="preserve">
<value>Open the classic Sound panel to choose the default playback and recording devices and set their format and levels.</value>
</data>
<data name="Cmd_device.usb.list_Title" xml:space="preserve">
<value>List USB devices</value>
</data>
<data name="Cmd_device.usb.list_Desc" xml:space="preserve">
<value>List the USB devices connected now (hubs, controllers, storage and peripherals) with their status.</value>
</data>
<data name="Cmd_device.cameras.list_Title" xml:space="preserve">
<value>List cameras</value>
</data>
<data name="Cmd_device.cameras.list_Desc" xml:space="preserve">
<value>List the webcams and other imaging devices Windows detects, with their status.</value>
</data>
<data name="Cmd_device.audio.list_Title" xml:space="preserve">
<value>List audio devices</value>
</data>
<data name="Cmd_device.audio.list_Desc" xml:space="preserve">
<value>List sound cards and the playback and recording endpoints (speakers, headphones, microphones) with their status.</value>
</data>
<data name="Cmd_device.bluetooth.list_Title" xml:space="preserve">
<value>List Bluetooth devices</value>
</data>
<data name="Cmd_device.bluetooth.list_Desc" xml:space="preserve">
<value>Show the Bluetooth adapter and the devices paired with this PC.</value>
</data>
<data name="Cmd_device.printers.list_Title" xml:space="preserve">
<value>List printers</value>
</data>
<data name="Cmd_device.printers.list_Desc" xml:space="preserve">
<value>List the installed printers with their driver, port, sharing and status. Needs the Print Spooler service.</value>
</data>
<data name="Cmd_device.disconnected.list_Title" xml:space="preserve">
<value>List disconnected devices</value>
</data>
<data name="Cmd_device.disconnected.list_Desc" xml:space="preserve">
<value>List devices Windows still remembers but that aren't connected now, such as old USB drives, docks or monitors.</value>
</data>
<data name="Cmd_device.hardware.scan_Title" xml:space="preserve">
<value>Scan for hardware changes</value>
</data>
<data name="Cmd_device.hardware.scan_Desc" xml:space="preserve">
<value>Ask Windows to detect newly connected or changed hardware, like Scan for hardware changes in Device Manager.</value>
</data>
<data name="Cmd_recovery.settings.open_Title" xml:space="preserve">
<value>Recovery settings</value>
</data>
<data name="Cmd_recovery.settings.open_Desc" xml:space="preserve">
<value>Open Settings → Recovery: Reset this PC, Advanced startup and going back to the previous version of Windows.</value>
</data>
<data name="Cmd_recovery.winre.status_Title" xml:space="preserve">
<value>Windows Recovery Environment status</value>
</data>
<data name="Cmd_recovery.winre.status_Desc" xml:space="preserve">
<value>Show whether the Windows Recovery Environment (WinRE) is enabled and where its image is (reagentc /info).</value>
</data>
<data name="Cmd_recovery.winre.enable_Title" xml:space="preserve">
<value>Enable Windows Recovery Environment</value>
</data>
<data name="Cmd_recovery.winre.enable_Desc" xml:space="preserve">
<value>Turn the Windows Recovery Environment back on (reagentc /enable) so Startup Repair, System Restore and Reset this PC are available at boot. Needs the recovery image (Winre.wim).</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Title" xml:space="preserve">
<value>System Protection settings</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Desc" xml:space="preserve">
<value>Open System Properties → System Protection to turn restore points on or off per drive and limit the disk space they use.</value>
</data>
<data name="Cmd_recovery.shadowstorage_Title" xml:space="preserve">
<value>Restore point disk usage</value>
</data>
<data name="Cmd_recovery.shadowstorage_Desc" xml:space="preserve">
<value>Show how much disk space restore points (shadow copies) use, and may use, on each drive.</value>
</data>
<data name="Cmd_recovery.filehistory.open_Title" xml:space="preserve">
<value>File History</value>
</data>
<data name="Cmd_recovery.filehistory.open_Desc" xml:space="preserve">
<value>Open File History to back up your personal folders to an external or network drive, or restore earlier versions of files.</value>
</data>
<data name="Cmd_recovery.backup.settings_Title" xml:space="preserve">
<value>Backup settings</value>
</data>
<data name="Cmd_recovery.backup.settings_Desc" xml:space="preserve">
<value>Open Settings → Backup: Windows Backup on Windows 11, File History options on Windows 10.</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Title" xml:space="preserve">
<value>Backup and Restore (Windows 7)</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Desc" xml:space="preserve">
<value>Open the classic Backup and Restore panel to create a system image or restore files from an older backup.</value>
</data>
<data name="Cmd_recovery.drive.create_Title" xml:space="preserve">
<value>Create a recovery drive</value>
</data>
<data name="Cmd_recovery.drive.create_Desc" xml:space="preserve">
<value>Open the Recovery Drive wizard to make a bootable USB drive for repairing or reinstalling Windows. The wizard erases the USB drive and asks for administrator approval.</value>
</data>
<data name="Cmd_account.signin.settings_Title" xml:space="preserve">
<value>Sign-in options</value>
</data>
<data name="Cmd_account.signin.settings_Desc" xml:space="preserve">
<value>Open Settings to set up a PIN, Windows Hello, a password or a security key, and dynamic lock.</value>
</data>
<data name="Cmd_account.yourinfo.settings_Title" xml:space="preserve">
<value>Your account info</value>
</data>
<data name="Cmd_account.yourinfo.settings_Desc" xml:space="preserve">
<value>Open Settings → Your info to see the account type and switch between a Microsoft account and a local account.</value>
</data>
<data name="Cmd_account.otherusers.settings_Title" xml:space="preserve">
<value>Other users</value>
</data>
<data name="Cmd_account.otherusers.settings_Desc" xml:space="preserve">
<value>Open Settings to add, remove or change the other user accounts on this PC.</value>
</data>
<data name="Cmd_account.useraccounts.open_Title" xml:space="preserve">
<value>User Accounts (advanced)</value>
</data>
<data name="Cmd_account.useraccounts.open_Desc" xml:space="preserve">
<value>Open the classic User Accounts dialog (netplwiz) to manage users and their group membership. Windows asks for administrator approval.</value>
</data>
<data name="Cmd_account.credman.open_Title" xml:space="preserve">
<value>Credential Manager</value>
</data>
<data name="Cmd_account.credman.open_Desc" xml:space="preserve">
<value>Open Credential Manager to view, edit or remove saved Windows and web credentials.</value>
</data>
<data name="Cmd_account.credentials.list_Title" xml:space="preserve">
<value>List saved Windows credentials</value>
</data>
<data name="Cmd_account.credentials.list_Desc" xml:space="preserve">
<value>List the targets and user names stored in your Windows credential vault (cmdkey /list). Passwords are never shown.</value>
</data>
<data name="Cmd_account.passwordpolicy_Title" xml:space="preserve">
<value>Password &amp; lockout policy</value>
</data>
<data name="Cmd_account.passwordpolicy_Desc" xml:space="preserve">
<value>Show the local password rules (minimum length, age and history) and the account lockout settings (net accounts).</value>
</data>
<data name="Cmd_account.localgroups_Title" xml:space="preserve">
<value>List local groups</value>
</data>
<data name="Cmd_account.localgroups_Desc" xml:space="preserve">
<value>List the local security groups on this PC with their descriptions.</value>
</data>
<data name="Cmd_power.sleepstates_Title" xml:space="preserve">
<value>Available sleep states</value>
</data>
<data name="Cmd_power.sleepstates_Desc" xml:space="preserve">
<value>Show which sleep states this PC supports (Sleep, Modern Standby, Hibernate, Hybrid Sleep) and why the others aren't available.</value>
</data>
<data name="Cmd_power.lastwake_Title" xml:space="preserve">
<value>What woke the PC last</value>
</data>
<data name="Cmd_power.lastwake_Desc" xml:space="preserve">
<value>Show the device or timer that last woke the PC from sleep (powercfg /lastwake).</value>
</data>
<data name="Cmd_power.wake.devices_Title" xml:space="preserve">
<value>Devices that can wake the PC</value>
</data>
<data name="Cmd_power.wake.devices_Desc" xml:space="preserve">
<value>List the devices allowed to wake the PC from sleep, such as the mouse, keyboard or network adapter.</value>
</data>
<data name="Cmd_info.motherboard_Title" xml:space="preserve">
<value>Motherboard information</value>
</data>
<data name="Cmd_info.motherboard_Desc" xml:space="preserve">
<value>Show the motherboard manufacturer, model and revision.</value>
</data>
<data name="Cmd_info.language_Title" xml:space="preserve">
<value>Language &amp; region</value>
</data>
<data name="Cmd_info.language_Desc" xml:space="preserve">
<value>Show the system locale (used by non-Unicode programs), display language, regional format, home location and your language list.</value>
</data>
<data name="Cmd_svc.list.disabled_Title" xml:space="preserve">
<value>List disabled services</value>
</data>
<data name="Cmd_svc.list.disabled_Desc" xml:space="preserve">
<value>List the services whose startup type is Disabled, for example to spot ones turned off by tweaking tools.</value>
</data>
<data name="Cmd_dev.path.list_Title" xml:space="preserve">
<value>List PATH entries</value>
</data>
<data name="Cmd_dev.path.list_Desc" xml:space="preserve">
<value>List the folders in the machine and user PATH, one per line, and flag the ones that no longer exist.</value>
</data>
<data name="Cmd_net.proxy.settings_Title" xml:space="preserve">
<value>Proxy settings</value>
</data>
<data name="Cmd_net.proxy.settings_Desc" xml:space="preserve">
<value>Open Settings to set up a proxy server or an automatic proxy configuration (PAC) script.</value>
</data>
<data name="Cmd_net.vpn.settings_Title" xml:space="preserve">
<value>VPN settings</value>
</data>
<data name="Cmd_net.vpn.settings_Desc" xml:space="preserve">
<value>Open Settings to add, connect to or remove the built-in Windows VPN connections.</value>
</data>
</root>
+235 -4
View File
@@ -1055,10 +1055,7 @@
<value>Chế độ chạy:</value>
</data>
<data name="Settings_RunModeInstalled" xml:space="preserve">
<value>Đã cài đặt</value>
</data>
<data name="Settings_RunModePortable" xml:space="preserve">
<value>Portable / dev</value>
<value>Bản cài đặt hoặc portable (tự cập nhật)</value>
</data>
<data name="Settings_ConfigPath" xml:space="preserve">
<value>File cấu hình</value>
@@ -2582,4 +2579,238 @@ Chi tiết đã được ghi vào thư mục log:
<data name="About_CodeContact" xml:space="preserve">
<value>Mã nguồn và đóng góp</value>
</data>
<data name="Settings_RunModeDev" xml:space="preserve">
<value>Bản phát triển (không tự cập nhật)</value>
</data>
<data name="Cat_devices" xml:space="preserve">
<value>Thiết bị &amp; Ngoại vi</value>
</data>
<data name="Cat_backup-recovery" xml:space="preserve">
<value>Sao lưu &amp; Khôi phục</value>
</data>
<data name="Cat_accounts" xml:space="preserve">
<value>Tài khoản &amp; Đăng nhập</value>
</data>
<data name="Cmd_device.bluetooth.settings_Title" xml:space="preserve">
<value>Cài đặt Bluetooth &amp; thiết bị</value>
</data>
<data name="Cmd_device.bluetooth.settings_Desc" xml:space="preserve">
<value>Mở Cài đặt để bật/tắt Bluetooth và ghép đôi, kết nối hoặc gỡ thiết bị.</value>
</data>
<data name="Cmd_device.printers.settings_Title" xml:space="preserve">
<value>Cài đặt máy in &amp; máy quét</value>
</data>
<data name="Cmd_device.printers.settings_Desc" xml:space="preserve">
<value>Mở Cài đặt để thêm hoặc gỡ máy in, máy quét, chọn máy in mặc định và mở hàng đợi in.</value>
</data>
<data name="Cmd_device.display.settings_Title" xml:space="preserve">
<value>Cài đặt màn hình</value>
</data>
<data name="Cmd_device.display.settings_Desc" xml:space="preserve">
<value>Mở Cài đặt để đổi độ phân giải, tỷ lệ, hướng, tần số quét và sắp xếp nhiều màn hình.</value>
</data>
<data name="Cmd_device.sound.open_Title" xml:space="preserve">
<value>Bảng điều khiển Âm thanh</value>
</data>
<data name="Cmd_device.sound.open_Desc" xml:space="preserve">
<value>Mở bảng Âm thanh cổ điển để chọn thiết bị phát và thu mặc định, đặt định dạng và mức âm lượng.</value>
</data>
<data name="Cmd_device.usb.list_Title" xml:space="preserve">
<value>Liệt kê thiết bị USB</value>
</data>
<data name="Cmd_device.usb.list_Desc" xml:space="preserve">
<value>Liệt kê các thiết bị USB đang kết nối (hub, bộ điều khiển, ổ lưu trữ, thiết bị ngoại vi) kèm trạng thái.</value>
</data>
<data name="Cmd_device.cameras.list_Title" xml:space="preserve">
<value>Liệt kê camera</value>
</data>
<data name="Cmd_device.cameras.list_Desc" xml:space="preserve">
<value>Liệt kê webcam và các thiết bị hình ảnh khác mà Windows nhận diện, kèm trạng thái.</value>
</data>
<data name="Cmd_device.audio.list_Title" xml:space="preserve">
<value>Liệt kê thiết bị âm thanh</value>
</data>
<data name="Cmd_device.audio.list_Desc" xml:space="preserve">
<value>Liệt kê card âm thanh và các thiết bị phát, thu (loa, tai nghe, micro) kèm trạng thái.</value>
</data>
<data name="Cmd_device.bluetooth.list_Title" xml:space="preserve">
<value>Liệt kê thiết bị Bluetooth</value>
</data>
<data name="Cmd_device.bluetooth.list_Desc" xml:space="preserve">
<value>Hiển thị bộ điều hợp Bluetooth và các thiết bị đã ghép đôi với máy.</value>
</data>
<data name="Cmd_device.printers.list_Title" xml:space="preserve">
<value>Liệt kê máy in</value>
</data>
<data name="Cmd_device.printers.list_Desc" xml:space="preserve">
<value>Liệt kê máy in đã cài kèm driver, cổng, chia sẻ và trạng thái. Cần dịch vụ Print Spooler đang chạy.</value>
</data>
<data name="Cmd_device.disconnected.list_Title" xml:space="preserve">
<value>Liệt kê thiết bị đã ngắt kết nối</value>
</data>
<data name="Cmd_device.disconnected.list_Desc" xml:space="preserve">
<value>Liệt kê các thiết bị Windows vẫn ghi nhớ nhưng hiện không kết nối, như ổ USB cũ, dock hay màn hình.</value>
</data>
<data name="Cmd_device.hardware.scan_Title" xml:space="preserve">
<value>Quét thay đổi phần cứng</value>
</data>
<data name="Cmd_device.hardware.scan_Desc" xml:space="preserve">
<value>Yêu cầu Windows phát hiện phần cứng mới kết nối hoặc đã thay đổi, giống lệnh Quét thay đổi phần cứng trong Trình quản lý thiết bị.</value>
</data>
<data name="Cmd_recovery.settings.open_Title" xml:space="preserve">
<value>Cài đặt khôi phục</value>
</data>
<data name="Cmd_recovery.settings.open_Desc" xml:space="preserve">
<value>Mở Cài đặt → Khôi phục: Đặt lại PC này, Khởi động nâng cao và quay về phiên bản Windows trước.</value>
</data>
<data name="Cmd_recovery.winre.status_Title" xml:space="preserve">
<value>Trạng thái Windows Recovery Environment</value>
</data>
<data name="Cmd_recovery.winre.status_Desc" xml:space="preserve">
<value>Cho biết Windows Recovery Environment (WinRE) có đang bật không và ảnh của nó nằm ở đâu (reagentc /info).</value>
</data>
<data name="Cmd_recovery.winre.enable_Title" xml:space="preserve">
<value>Bật Windows Recovery Environment</value>
</data>
<data name="Cmd_recovery.winre.enable_Desc" xml:space="preserve">
<value>Bật lại Windows Recovery Environment (reagentc /enable) để có Startup Repair, System Restore và Đặt lại PC này khi khởi động. Cần có ảnh khôi phục (Winre.wim).</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Title" xml:space="preserve">
<value>Cài đặt Bảo vệ hệ thống</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Desc" xml:space="preserve">
<value>Mở Thuộc tính hệ thống → Bảo vệ hệ thống để bật/tắt điểm khôi phục cho từng ổ và giới hạn dung lượng chúng dùng.</value>
</data>
<data name="Cmd_recovery.shadowstorage_Title" xml:space="preserve">
<value>Dung lượng điểm khôi phục</value>
</data>
<data name="Cmd_recovery.shadowstorage_Desc" xml:space="preserve">
<value>Hiển thị dung lượng ổ đĩa mà điểm khôi phục (shadow copy) đang dùng và được phép dùng trên từng ổ.</value>
</data>
<data name="Cmd_recovery.filehistory.open_Title" xml:space="preserve">
<value>Lịch sử tệp</value>
</data>
<data name="Cmd_recovery.filehistory.open_Desc" xml:space="preserve">
<value>Mở Lịch sử tệp để sao lưu thư mục cá nhân sang ổ ngoài hoặc ổ mạng, hoặc khôi phục phiên bản cũ của tệp.</value>
</data>
<data name="Cmd_recovery.backup.settings_Title" xml:space="preserve">
<value>Cài đặt sao lưu</value>
</data>
<data name="Cmd_recovery.backup.settings_Desc" xml:space="preserve">
<value>Mở Cài đặt → Sao lưu: Windows Backup trên Windows 11, tùy chọn Lịch sử tệp trên Windows 10.</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Title" xml:space="preserve">
<value>Sao lưu và khôi phục (Windows 7)</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Desc" xml:space="preserve">
<value>Mở bảng Sao lưu và khôi phục cổ điển để tạo ảnh hệ thống hoặc khôi phục tệp từ bản sao lưu cũ.</value>
</data>
<data name="Cmd_recovery.drive.create_Title" xml:space="preserve">
<value>Tạo ổ khôi phục</value>
</data>
<data name="Cmd_recovery.drive.create_Desc" xml:space="preserve">
<value>Mở trình hướng dẫn Recovery Drive để tạo ổ USB khởi động dùng sửa chữa hoặc cài lại Windows. Trình hướng dẫn sẽ xóa sạch ổ USB và cần quyền quản trị.</value>
</data>
<data name="Cmd_account.signin.settings_Title" xml:space="preserve">
<value>Tùy chọn đăng nhập</value>
</data>
<data name="Cmd_account.signin.settings_Desc" xml:space="preserve">
<value>Mở Cài đặt để thiết lập PIN, Windows Hello, mật khẩu hoặc khóa bảo mật và khóa động.</value>
</data>
<data name="Cmd_account.yourinfo.settings_Title" xml:space="preserve">
<value>Thông tin tài khoản</value>
</data>
<data name="Cmd_account.yourinfo.settings_Desc" xml:space="preserve">
<value>Mở Cài đặt → Thông tin của bạn để xem loại tài khoản và chuyển giữa tài khoản Microsoft và tài khoản cục bộ.</value>
</data>
<data name="Cmd_account.otherusers.settings_Title" xml:space="preserve">
<value>Người dùng khác</value>
</data>
<data name="Cmd_account.otherusers.settings_Desc" xml:space="preserve">
<value>Mở Cài đặt để thêm, xóa hoặc thay đổi các tài khoản người dùng khác trên máy.</value>
</data>
<data name="Cmd_account.useraccounts.open_Title" xml:space="preserve">
<value>Tài khoản người dùng (nâng cao)</value>
</data>
<data name="Cmd_account.useraccounts.open_Desc" xml:space="preserve">
<value>Mở hộp thoại User Accounts cổ điển (netplwiz) để quản lý người dùng và nhóm của họ. Windows sẽ hỏi quyền quản trị.</value>
</data>
<data name="Cmd_account.credman.open_Title" xml:space="preserve">
<value>Trình quản lý thông tin xác thực</value>
</data>
<data name="Cmd_account.credman.open_Desc" xml:space="preserve">
<value>Mở Trình quản lý thông tin xác thực để xem, sửa hoặc xóa thông tin đăng nhập Windows và web đã lưu.</value>
</data>
<data name="Cmd_account.credentials.list_Title" xml:space="preserve">
<value>Liệt kê thông tin đăng nhập đã lưu</value>
</data>
<data name="Cmd_account.credentials.list_Desc" xml:space="preserve">
<value>Liệt kê đích và tên người dùng lưu trong kho thông tin xác thực Windows của bạn (cmdkey /list). Không bao giờ hiện mật khẩu.</value>
</data>
<data name="Cmd_account.passwordpolicy_Title" xml:space="preserve">
<value>Chính sách mật khẩu &amp; khóa tài khoản</value>
</data>
<data name="Cmd_account.passwordpolicy_Desc" xml:space="preserve">
<value>Hiển thị quy tắc mật khẩu cục bộ (độ dài tối thiểu, thời hạn, lịch sử) và cài đặt khóa tài khoản (net accounts).</value>
</data>
<data name="Cmd_account.localgroups_Title" xml:space="preserve">
<value>Liệt kê nhóm cục bộ</value>
</data>
<data name="Cmd_account.localgroups_Desc" xml:space="preserve">
<value>Liệt kê các nhóm bảo mật cục bộ trên máy kèm mô tả.</value>
</data>
<data name="Cmd_power.sleepstates_Title" xml:space="preserve">
<value>Các trạng thái ngủ khả dụng</value>
</data>
<data name="Cmd_power.sleepstates_Desc" xml:space="preserve">
<value>Cho biết máy hỗ trợ trạng thái ngủ nào (Sleep, Modern Standby, Hibernate, Hybrid Sleep) và vì sao các trạng thái khác không dùng được.</value>
</data>
<data name="Cmd_power.lastwake_Title" xml:space="preserve">
<value>Nguồn đánh thức máy gần nhất</value>
</data>
<data name="Cmd_power.lastwake_Desc" xml:space="preserve">
<value>Hiển thị thiết bị hoặc bộ hẹn giờ đã đánh thức máy khỏi chế độ ngủ lần gần nhất (powercfg /lastwake).</value>
</data>
<data name="Cmd_power.wake.devices_Title" xml:space="preserve">
<value>Thiết bị có thể đánh thức máy</value>
</data>
<data name="Cmd_power.wake.devices_Desc" xml:space="preserve">
<value>Liệt kê các thiết bị được phép đánh thức máy khỏi chế độ ngủ, như chuột, bàn phím hay card mạng.</value>
</data>
<data name="Cmd_info.motherboard_Title" xml:space="preserve">
<value>Thông tin bo mạch chủ</value>
</data>
<data name="Cmd_info.motherboard_Desc" xml:space="preserve">
<value>Hiển thị nhà sản xuất, mẫu và phiên bản của bo mạch chủ.</value>
</data>
<data name="Cmd_info.language_Title" xml:space="preserve">
<value>Ngôn ngữ &amp; vùng</value>
</data>
<data name="Cmd_info.language_Desc" xml:space="preserve">
<value>Hiển thị locale hệ thống (dùng cho chương trình không Unicode), ngôn ngữ hiển thị, định dạng vùng, vị trí và danh sách ngôn ngữ của bạn.</value>
</data>
<data name="Cmd_svc.list.disabled_Title" xml:space="preserve">
<value>Liệt kê dịch vụ bị vô hiệu hóa</value>
</data>
<data name="Cmd_svc.list.disabled_Desc" xml:space="preserve">
<value>Liệt kê các dịch vụ có kiểu khởi động Disabled, ví dụ để tìm dịch vụ bị công cụ tinh chỉnh tắt đi.</value>
</data>
<data name="Cmd_dev.path.list_Title" xml:space="preserve">
<value>Liệt kê các mục PATH</value>
</data>
<data name="Cmd_dev.path.list_Desc" xml:space="preserve">
<value>Liệt kê từng thư mục trong PATH của máy và của người dùng, mỗi mục một dòng, và đánh dấu thư mục không còn tồn tại.</value>
</data>
<data name="Cmd_net.proxy.settings_Title" xml:space="preserve">
<value>Cài đặt proxy</value>
</data>
<data name="Cmd_net.proxy.settings_Desc" xml:space="preserve">
<value>Mở Cài đặt để thiết lập máy chủ proxy hoặc script cấu hình proxy tự động (PAC).</value>
</data>
<data name="Cmd_net.vpn.settings_Title" xml:space="preserve">
<value>Cài đặt VPN</value>
</data>
<data name="Cmd_net.vpn.settings_Desc" xml:space="preserve">
<value>Mở Cài đặt để thêm, kết nối hoặc xóa kết nối VPN tích hợp của Windows.</value>
</data>
</root>
@@ -1055,10 +1055,7 @@
<value>运行模式:</value>
</data>
<data name="Settings_RunModeInstalled" xml:space="preserve">
<value>已安装</value>
</data>
<data name="Settings_RunModePortable" xml:space="preserve">
<value>便携版 / 开发版</value>
<value>安装版或便携版(自动更新)</value>
</data>
<data name="Settings_ConfigPath" xml:space="preserve">
<value>配置文件</value>
@@ -2582,4 +2579,238 @@
<data name="About_CodeContact" xml:space="preserve">
<value>代码与贡献</value>
</data>
<data name="Settings_RunModeDev" xml:space="preserve">
<value>开发版本(不自动更新)</value>
</data>
<data name="Cat_devices" xml:space="preserve">
<value>设备与外设</value>
</data>
<data name="Cat_backup-recovery" xml:space="preserve">
<value>备份与恢复</value>
</data>
<data name="Cat_accounts" xml:space="preserve">
<value>帐户与登录</value>
</data>
<data name="Cmd_device.bluetooth.settings_Title" xml:space="preserve">
<value>蓝牙和设备设置</value>
</data>
<data name="Cmd_device.bluetooth.settings_Desc" xml:space="preserve">
<value>打开设置以开关蓝牙,并配对、连接或删除设备。</value>
</data>
<data name="Cmd_device.printers.settings_Title" xml:space="preserve">
<value>打印机和扫描仪设置</value>
</data>
<data name="Cmd_device.printers.settings_Desc" xml:space="preserve">
<value>打开设置以添加或删除打印机和扫描仪、选择默认打印机并打开打印队列。</value>
</data>
<data name="Cmd_device.display.settings_Title" xml:space="preserve">
<value>显示设置</value>
</data>
<data name="Cmd_device.display.settings_Desc" xml:space="preserve">
<value>打开设置以更改分辨率、缩放、方向和刷新率,并排列多个显示器。</value>
</data>
<data name="Cmd_device.sound.open_Title" xml:space="preserve">
<value>声音控制面板</value>
</data>
<data name="Cmd_device.sound.open_Desc" xml:space="preserve">
<value>打开经典声音面板,选择默认播放和录制设备,并设置格式和音量级别。</value>
</data>
<data name="Cmd_device.usb.list_Title" xml:space="preserve">
<value>列出 USB 设备</value>
</data>
<data name="Cmd_device.usb.list_Desc" xml:space="preserve">
<value>列出当前连接的 USB 设备(集线器、控制器、存储设备和外设)及其状态。</value>
</data>
<data name="Cmd_device.cameras.list_Title" xml:space="preserve">
<value>列出摄像头</value>
</data>
<data name="Cmd_device.cameras.list_Desc" xml:space="preserve">
<value>列出 Windows 检测到的网络摄像头和其他图像设备及其状态。</value>
</data>
<data name="Cmd_device.audio.list_Title" xml:space="preserve">
<value>列出音频设备</value>
</data>
<data name="Cmd_device.audio.list_Desc" xml:space="preserve">
<value>列出声卡以及播放和录制终结点(扬声器、耳机、麦克风)及其状态。</value>
</data>
<data name="Cmd_device.bluetooth.list_Title" xml:space="preserve">
<value>列出蓝牙设备</value>
</data>
<data name="Cmd_device.bluetooth.list_Desc" xml:space="preserve">
<value>显示蓝牙适配器以及与此电脑配对的设备。</value>
</data>
<data name="Cmd_device.printers.list_Title" xml:space="preserve">
<value>列出打印机</value>
</data>
<data name="Cmd_device.printers.list_Desc" xml:space="preserve">
<value>列出已安装的打印机及其驱动程序、端口、共享和状态。需要 Print Spooler 服务。</value>
</data>
<data name="Cmd_device.disconnected.list_Title" xml:space="preserve">
<value>列出已断开的设备</value>
</data>
<data name="Cmd_device.disconnected.list_Desc" xml:space="preserve">
<value>列出 Windows 仍记得但当前未连接的设备,例如旧的 U 盘、扩展坞或显示器。</value>
</data>
<data name="Cmd_device.hardware.scan_Title" xml:space="preserve">
<value>扫描检测硬件改动</value>
</data>
<data name="Cmd_device.hardware.scan_Desc" xml:space="preserve">
<value>让 Windows 检测新连接或已更改的硬件,相当于设备管理器中的“扫描检测硬件改动”。</value>
</data>
<data name="Cmd_recovery.settings.open_Title" xml:space="preserve">
<value>恢复设置</value>
</data>
<data name="Cmd_recovery.settings.open_Desc" xml:space="preserve">
<value>打开“设置”→“恢复”:重置此电脑、高级启动以及回退到以前版本的 Windows。</value>
</data>
<data name="Cmd_recovery.winre.status_Title" xml:space="preserve">
<value>Windows 恢复环境状态</value>
</data>
<data name="Cmd_recovery.winre.status_Desc" xml:space="preserve">
<value>显示 Windows 恢复环境 (WinRE) 是否已启用及其映像位置 (reagentc /info)。</value>
</data>
<data name="Cmd_recovery.winre.enable_Title" xml:space="preserve">
<value>启用 Windows 恢复环境</value>
</data>
<data name="Cmd_recovery.winre.enable_Desc" xml:space="preserve">
<value>重新启用 Windows 恢复环境 (reagentc /enable),以便在启动时使用启动修复、系统还原和重置此电脑。需要恢复映像 (Winre.wim)。</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Title" xml:space="preserve">
<value>系统保护设置</value>
</data>
<data name="Cmd_recovery.systemprotection.open_Desc" xml:space="preserve">
<value>打开“系统属性”→“系统保护”,按驱动器开启或关闭还原点并限制其占用的磁盘空间。</value>
</data>
<data name="Cmd_recovery.shadowstorage_Title" xml:space="preserve">
<value>还原点磁盘占用</value>
</data>
<data name="Cmd_recovery.shadowstorage_Desc" xml:space="preserve">
<value>显示每个驱动器上还原点(卷影副本)已使用和最多可使用的磁盘空间。</value>
</data>
<data name="Cmd_recovery.filehistory.open_Title" xml:space="preserve">
<value>文件历史记录</value>
</data>
<data name="Cmd_recovery.filehistory.open_Desc" xml:space="preserve">
<value>打开文件历史记录,将个人文件夹备份到外部或网络驱动器,或还原文件的早期版本。</value>
</data>
<data name="Cmd_recovery.backup.settings_Title" xml:space="preserve">
<value>备份设置</value>
</data>
<data name="Cmd_recovery.backup.settings_Desc" xml:space="preserve">
<value>打开“设置”→“备份”:Windows 11 上为 Windows 备份,Windows 10 上为文件历史记录选项。</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Title" xml:space="preserve">
<value>备份和还原(Windows 7)</value>
</data>
<data name="Cmd_recovery.backuprestore.open_Desc" xml:space="preserve">
<value>打开经典的“备份和还原”面板,创建系统映像或从旧备份中还原文件。</value>
</data>
<data name="Cmd_recovery.drive.create_Title" xml:space="preserve">
<value>创建恢复驱动器</value>
</data>
<data name="Cmd_recovery.drive.create_Desc" xml:space="preserve">
<value>打开恢复驱动器向导,创建用于修复或重新安装 Windows 的可启动 U 盘。向导会清除 U 盘上的数据,并需要管理员批准。</value>
</data>
<data name="Cmd_account.signin.settings_Title" xml:space="preserve">
<value>登录选项</value>
</data>
<data name="Cmd_account.signin.settings_Desc" xml:space="preserve">
<value>打开设置以设置 PIN、Windows Hello、密码或安全密钥以及动态锁。</value>
</data>
<data name="Cmd_account.yourinfo.settings_Title" xml:space="preserve">
<value>你的帐户信息</value>
</data>
<data name="Cmd_account.yourinfo.settings_Desc" xml:space="preserve">
<value>打开“设置”→“你的信息”,查看帐户类型并在 Microsoft 帐户和本地帐户之间切换。</value>
</data>
<data name="Cmd_account.otherusers.settings_Title" xml:space="preserve">
<value>其他用户</value>
</data>
<data name="Cmd_account.otherusers.settings_Desc" xml:space="preserve">
<value>打开设置以添加、删除或更改此电脑上的其他用户帐户。</value>
</data>
<data name="Cmd_account.useraccounts.open_Title" xml:space="preserve">
<value>用户帐户(高级)</value>
</data>
<data name="Cmd_account.useraccounts.open_Desc" xml:space="preserve">
<value>打开经典的“用户帐户”对话框 (netplwiz),管理用户及其组成员身份。Windows 会请求管理员批准。</value>
</data>
<data name="Cmd_account.credman.open_Title" xml:space="preserve">
<value>凭据管理器</value>
</data>
<data name="Cmd_account.credman.open_Desc" xml:space="preserve">
<value>打开凭据管理器,查看、编辑或删除已保存的 Windows 凭据和 Web 凭据。</value>
</data>
<data name="Cmd_account.credentials.list_Title" xml:space="preserve">
<value>列出已保存的 Windows 凭据</value>
</data>
<data name="Cmd_account.credentials.list_Desc" xml:space="preserve">
<value>列出 Windows 凭据保管库中保存的目标和用户名 (cmdkey /list)。不会显示密码。</value>
</data>
<data name="Cmd_account.passwordpolicy_Title" xml:space="preserve">
<value>密码和锁定策略</value>
</data>
<data name="Cmd_account.passwordpolicy_Desc" xml:space="preserve">
<value>显示本地密码规则(最短长度、期限和历史记录)以及帐户锁定设置 (net accounts)。</value>
</data>
<data name="Cmd_account.localgroups_Title" xml:space="preserve">
<value>列出本地组</value>
</data>
<data name="Cmd_account.localgroups_Desc" xml:space="preserve">
<value>列出此电脑上的本地安全组及其说明。</value>
</data>
<data name="Cmd_power.sleepstates_Title" xml:space="preserve">
<value>可用的睡眠状态</value>
</data>
<data name="Cmd_power.sleepstates_Desc" xml:space="preserve">
<value>显示此电脑支持哪些睡眠状态(睡眠、新式待机、休眠、混合睡眠)以及其他状态不可用的原因。</value>
</data>
<data name="Cmd_power.lastwake_Title" xml:space="preserve">
<value>上次唤醒电脑的来源</value>
</data>
<data name="Cmd_power.lastwake_Desc" xml:space="preserve">
<value>显示上次将电脑从睡眠中唤醒的设备或定时器 (powercfg /lastwake)。</value>
</data>
<data name="Cmd_power.wake.devices_Title" xml:space="preserve">
<value>可唤醒电脑的设备</value>
</data>
<data name="Cmd_power.wake.devices_Desc" xml:space="preserve">
<value>列出允许将电脑从睡眠中唤醒的设备,例如鼠标、键盘或网络适配器。</value>
</data>
<data name="Cmd_info.motherboard_Title" xml:space="preserve">
<value>主板信息</value>
</data>
<data name="Cmd_info.motherboard_Desc" xml:space="preserve">
<value>显示主板的制造商、型号和版本。</value>
</data>
<data name="Cmd_info.language_Title" xml:space="preserve">
<value>语言和区域</value>
</data>
<data name="Cmd_info.language_Desc" xml:space="preserve">
<value>显示系统区域设置(用于非 Unicode 程序)、显示语言、区域格式、国家或地区以及你的语言列表。</value>
</data>
<data name="Cmd_svc.list.disabled_Title" xml:space="preserve">
<value>列出已禁用的服务</value>
</data>
<data name="Cmd_svc.list.disabled_Desc" xml:space="preserve">
<value>列出启动类型为“禁用”的服务,例如用于找出被优化工具关闭的服务。</value>
</data>
<data name="Cmd_dev.path.list_Title" xml:space="preserve">
<value>列出 PATH 条目</value>
</data>
<data name="Cmd_dev.path.list_Desc" xml:space="preserve">
<value>逐行列出计算机和用户 PATH 中的文件夹,并标出已不存在的文件夹。</value>
</data>
<data name="Cmd_net.proxy.settings_Title" xml:space="preserve">
<value>代理设置</value>
</data>
<data name="Cmd_net.proxy.settings_Desc" xml:space="preserve">
<value>打开设置以设置代理服务器或自动代理配置 (PAC) 脚本。</value>
</data>
<data name="Cmd_net.vpn.settings_Title" xml:space="preserve">
<value>VPN 设置</value>
</data>
<data name="Cmd_net.vpn.settings_Desc" xml:space="preserve">
<value>打开设置以添加、连接或删除 Windows 内置的 VPN 连接。</value>
</data>
</root>
@@ -2,7 +2,7 @@ namespace CommandForge.Desktop.Services;
/// <summary>
/// Modal prompts used by view-models. Behind an interface so view-models stay testable and the
/// presentation (message boxes today, Fluent dialogs later) can change without touching them.
/// presentation (Fluent in-window dialogs, with a message-box fallback) can change without touching them.
/// </summary>
public interface IDialogService
{
@@ -90,7 +90,7 @@ public sealed partial class SettingsViewModel : ObservableObject
RunModeText = updates.IsUpdateSupported
? Strings.Get("Settings_RunModeInstalled")
: Strings.Get("Settings_RunModePortable");
: Strings.Get("Settings_RunModeDev");
ConfigPathText = AppPaths.ConfigFilePath;
var version = typeof(SettingsViewModel).Assembly.GetName().Version;
@@ -89,7 +89,7 @@ public partial class MainWindow : FluentWindow
RootNavigation.MenuItems.Add(Item("SidebarRecipes", SymbolRegular.TaskListSquareLtr24, NavigationKeys.Recipes, typeof(RecipesView)));
RootNavigation.MenuItems.Add(Item("SidebarUserCommands", SymbolRegular.CodeTextEdit20, NavigationKeys.UserCommands, typeof(UserCommandsView)));
// Last, so expanding its twelve categories never pushes the other pages out of view.
// Last, so expanding its categories never pushes the other pages out of view.
var catalog = Item("Nav_Catalog", SymbolRegular.Apps24, NavigationKeys.Catalog, typeof(CatalogView));
foreach (var category in _viewModel.Catalog.Categories.Where(c => c.Id is not null))
{
@@ -16,7 +16,7 @@ public partial class PortableInfoView : UserControl
ModeValue.Text = updates.IsUpdateSupported
? Strings.Get("Settings_RunModeInstalled")
: Strings.Get("Settings_RunModePortable");
: Strings.Get("Settings_RunModeDev");
var version = typeof(PortableInfoView).Assembly.GetName().Version;
VersionValue.Text = version is null
+46 -4
View File
@@ -22,15 +22,57 @@ public sealed class CatalogTests
[Fact]
public void Catalog_HasCategoriesAndCommands()
{
Assert.Equal(12, Catalog.Categories.Count);
string[] expected =
[
"system-maintenance", "updates-packages", "tweaks-shortcuts", "network", "cleanup", "power",
"system-info", "diagnostics", "security-privacy", "developer", "storage", "services-startup",
"devices", "backup-recovery", "accounts",
];
Assert.Equal(expected, Catalog.Categories.OrderBy(c => c.Order).Select(c => c.Id));
Assert.True(Catalog.Commands.Count >= 20, $"Expected >= 20 commands, got {Catalog.Commands.Count}.");
}
[Fact]
public void Catalog_HasStorageCategory_WithCommands()
public void Catalog_CategoryOrder_RunsFromOneWithoutGaps()
=> Assert.Equal(Enumerable.Range(1, Catalog.Categories.Count), Catalog.Categories.Select(c => c.Order).Order());
[Theory]
[InlineData(19045)] // Windows 10 22H2
[InlineData(22631)] // Windows 11 23H2
[InlineData(26100)] // Windows 11 24H2
public void Catalog_EveryCategory_HasCommandsOnEverySupportedBuild(int build)
{
Assert.Contains(Catalog.Categories, c => c.Id == "storage");
Assert.Contains(Catalog.Commands, c => c.CategoryId == "storage");
// The navigation pane hides commands for other builds, so an empty category would show 0.
var empty = Catalog.Categories
.Where(category => !Catalog.Commands.Any(c => c.CategoryId == category.Id && c.AppliesToOsBuild(build)))
.Select(category => category.Id)
.ToList();
Assert.True(empty.Count == 0, $"Categories without commands on build {build}: {string.Join(", ", empty)}.");
}
[Fact]
public void Catalog_CommandLines_AreUnique()
{
var duplicates = Catalog.Commands
.GroupBy(c => (c.Executable.ToLowerInvariant(), c.ArgsTemplate))
.Where(g => g.Count() > 1)
.Select(g => string.Join(" = ", g.Select(c => c.Id)))
.ToList();
Assert.True(duplicates.Count == 0, $"Commands with the same command line: {string.Join("; ", duplicates)}.");
}
[Fact]
public void Catalog_ShellLaunches_OpenOnlySettingsPagesAndControlPanelItems()
{
// explorer and control are launchers: they must open a settings URI, shell folder or Control
// Panel item, never a file or program path.
var offenders = Catalog.Commands
.Where(c => (c.Executable == "explorer" && !Regex.IsMatch(c.ArgsTemplate, "^(ms-settings:|shell:|windowsdefender:|ms-windows-store:)", RegexOptions.None, TimeSpan.FromSeconds(1)))
|| (c.Executable == "control" && !Regex.IsMatch(c.ArgsTemplate, @"^([a-z]+\.cpl|/name Microsoft\.[A-Za-z]+)$", RegexOptions.None, TimeSpan.FromSeconds(1))))
.Select(c => $"{c.Id} ({c.Executable} {c.ArgsTemplate})")
.ToList();
Assert.True(offenders.Count == 0, $"Unexpected launcher arguments: {string.Join(", ", offenders)}.");
}
[Fact]
@@ -9,7 +9,7 @@
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="10.1.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.13" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.14" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageReference Include="xunit.v3.mtp-off" Version="4.0.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.1" />
@@ -23,7 +23,7 @@
<ProjectReference Include="..\..\src\CommandForge.Domain\CommandForge.Domain.csproj" />
<ProjectReference Include="..\..\src\CommandForge.Application\CommandForge.Application.csproj" />
<ProjectReference Include="..\..\src\CommandForge.Infrastructure\CommandForge.Infrastructure.csproj" />
<!-- Referenced so the catalog-keys test can verify titles/descriptions exist in the .resx (EN+VI). -->
<!-- Referenced so the catalog and UI key tests can check every key exists in all five .resx files. -->
<ProjectReference Include="..\..\src\CommandForge.Wpf\CommandForge.Wpf.csproj" />
</ItemGroup>
+2 -2
View File
@@ -95,7 +95,7 @@ public sealed partial class ResxKeyTests
"ReportBug_Close", "ReportBug_DescriptionHint", "ReportBug_ReviewReminder",
"Settings_Logs", "Settings_LogLevel", "Settings_LogsSize", "Settings_OpenLogFolder", "Settings_ExportLogs",
"Settings_ClearOldLogs", "Settings_ClearLogsConfirm", "Settings_Advanced", "Settings_RunMode",
"Settings_RunModeInstalled", "Settings_RunModePortable", "Settings_ConfigPath", "Settings_OpenConfig",
"Settings_RunModeInstalled", "Settings_RunModeDev", "Settings_ConfigPath", "Settings_OpenConfig",
"Settings_OpenDebugPanel", "Settings_ResetDefaults", "Settings_ResetConfirm",
];
@@ -156,7 +156,7 @@ public sealed partial class ResxKeyTests
[
"Shortcuts_Palette", "Shortcuts_ListNav", "Shortcuts_OpenSelected", "Shortcuts_CloseDialog",
"PortableInfo_ConfigFolder", "PortableInfo_LogFolder",
"Settings_RunMode", "Settings_RunModeInstalled", "Settings_RunModePortable",
"Settings_RunMode", "Settings_RunModeInstalled", "Settings_RunModeDev",
"Settings_CurrentVersion", "Settings_NoDataCollected", "LanguageOption_System",
];