Skip to content

tcno-acc-switcher: Update to version 2025-11-20_03, fix checkver & autoupdate#16447

Merged
z-Fng merged 3 commits into
ScoopInstaller:masterfrom
SorYoshino:tcno-acc-switcher
Dec 1, 2025
Merged

tcno-acc-switcher: Update to version 2025-11-20_03, fix checkver & autoupdate#16447
z-Fng merged 3 commits into
ScoopInstaller:masterfrom
SorYoshino:tcno-acc-switcher

Conversation

@SorYoshino

@SorYoshino SorYoshino commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

Summary

Updates tcno-acc-switcher to version 2025-11-20_03 and fixes checkver and autoupdate URLs.

Related Issue

Changes

  • Updated version to 2025-11-20_03
  • Added structured architecture block with explicit 64-bit support
  • Added safer and clearer runtime initialization notes
  • Introduced shortcut for First Run Installer
  • Updated checkver to use GitHub API for more reliable version detection
  • Improved autoupdate logic with regex-based asset matching

Notes

  • The software no longer uses the traditional v[\d.]+ versioning format.

  • Instead, it now adopts a date-based versioning scheme, and the $.name field no longer contains the conventional numeric version pattern.

2025-11-21 150356

Testing

┏[ D:\Software\Scoop\Local\apps\scoop\current\bin][ master ≡]
└─> .\checkver.ps1 -App tcno-acc-switcher -Dir "D:\Temporary\Software\Microsoft\Windows Sandbox\Repositories\Scoop\Buckets\Extras\bucket" -f                                                                             
tcno-acc-switcher: 2025-11-20_03 (scoop version is 2025-11-20_03)
Forcing autoupdate!
Autoupdating tcno-acc-switcher
DEBUG[1763708381] [$updatedProperties] = [url hash] -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:491:5
DEBUG[1763708381] $substitutions (hashtable) -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:221:5
DEBUG[1763708381] $substitutions.$patchVersion
DEBUG[1763708381] $substitutions.$basenameNoExt                 TcNo-Acc-Switcher_2025-11-20_03
DEBUG[1763708381] $substitutions.$preReleaseVersion             20_03
DEBUG[1763708381] $substitutions.$baseurl                       https://github.com/TCNOco/TcNo-Acc-Switcher/releases/download/2025-11-20_03
DEBUG[1763708381] $substitutions.$dashVersion                   2025-11-20-03
DEBUG[1763708381] $substitutions.$matchName                     TcNo-Acc-Switcher_2025-11-20_03.7z
DEBUG[1763708381] $substitutions.$majorVersion                  2025
DEBUG[1763708381] $substitutions.$version                       2025-11-20_03
DEBUG[1763708381] $substitutions.$buildVersion
DEBUG[1763708381] $substitutions.$minorVersion
DEBUG[1763708381] $substitutions.$basename                      TcNo-Acc-Switcher_2025-11-20_03.7z
DEBUG[1763708381] $substitutions.$url                           https://github.com/TCNOco/TcNo-Acc-Switcher/releases/download/2025-11-20_03/TcNo-Acc-Switcher_2025-11-20_03.7z
DEBUG[1763708381] $substitutions.$urlNoExt                      https://github.com/TCNOco/TcNo-Acc-Switcher/releases/download/2025-11-20_03/TcNo-Acc-Switcher_2025-11-20_03
DEBUG[1763708381] $substitutions.$underscoreVersion             2025_11_20_03
DEBUG[1763708381] $substitutions.$match1                        2025-11-20_03
DEBUG[1763708381] $substitutions.$cleanVersion                  2025112003
DEBUG[1763708381] $substitutions.$dotVersion                    2025.11.20.03
DEBUG[1763708381] $hashfile_url = $null -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:224:5
DEBUG[1763708382] $jsonpath = $..assets[?(@.browser_download_url == 'https://github.com/TCNOco/TcNo-Acc-Switcher/releases/download/2025-11-20_03/TcNo-Acc-Switcher_2025-11-20_03.7z')].digest -> D:\Software\Scoop\Local\apps\scoop\current\lib\autoupdate.ps1:132:5
Found: f913135639584a8b4850ed8e1ece5a3fdbc32624deebf8ec804cb6b1884e5341 using Github Mode
Writing updated tcno-acc-switcher manifest

┏[ D:\Temporary\Software\Microsoft\Windows Sandbox\Repositories\Scoop\Buckets\Extras\bucket][ tcno-acc-switcher ≢  ~1]
└─>  scoop install .\tcno-acc-switcher.json
Installing 'tcno-acc-switcher' (2025-11-20_03) [64bit] from 'Unofficial' bucket
Loading TcNo-Acc-Switcher_2025-11-20_03.7z from cache.
Checking hash of TcNo-Acc-Switcher_2025-11-20_03.7z ... ok.
Extracting TcNo-Acc-Switcher_2025-11-20_03.7z ... done.
Linking D:\Software\Scoop\Local\apps\tcno-acc-switcher\current => D:\Software\Scoop\Local\apps\tcno-acc-switcher\2025-11-20_03
Creating shortcut for TcNo Account Switcher\First Run Installer (_First_Run_Installer.exe)
Creating shortcut for TcNo Account Switcher\TcNo Account Switcher (TcNo-Acc-Switcher.exe)
'tcno-acc-switcher' (2025-11-20_03) was installed successfully!
Notes
-----
Run `First Run Installer` to ensure that all required runtimes are properly installed.
This step only needs to be performed once per computer — running it again will have no effect.

  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

Summary by CodeRabbit

  • New Features

    • Added First Run Installer shortcut for simplified setup access.
    • Introduced architecture-specific build support for improved compatibility.
  • Updates

    • Version bumped with expanded multi-platform support scope.
    • Enhanced version detection and auto-update delivery mechanism for greater reliability.

@coderabbitai

coderabbitai Bot commented Oct 23, 2025

Copy link
Copy Markdown

Walkthrough

The manifest for TcNo Account Switcher is updated to adopt architecture-aware deployment, GitHub API-based version checking with JSONPath queries, and expanded metadata including notes and installer shortcuts. The checkver and autoupdate mechanisms transition from simple GitHub patterns to structured API calls with regex extraction.

Changes

Cohort / File(s) Summary
Scoop manifest modernization
bucket/tcno-acc-switcher.json
Updated version (5.0-2024-08-25_00 → 2024-08-30_01) and description; replaced single URL/hash with architecture.64bit block; added notes array; expanded shortcuts to include First Run Installer entry; refactored checkver from github-based regex/replace to GitHub API with jsonpath + regex; converted autoupdate to architecture-aware URL template.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Single file with clear structural updates following standard manifest patterns. Requires verification of JSONPath expression accuracy and URL template correctness, but changes are homogeneous and self-contained.

Possibly related PRs

Suggested labels

review-needed

Suggested reviewers

  • z-Fng

Poem

🐰 A manifest reborn, now API-wise,
With architecture-aware eyes—
Checksums dance on the GitHub stage,
While shortcuts multiply page by page.
Modern, structured, ready to fly! 🚀

Pre-merge checks and finishing touches

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
Title check ⚠️ Warning The PR title references version 2025-11-20_03, but the actual changes describe an update to version 2024-08-30_01, creating a mismatch between the title and the documented objectives. Update the PR title to accurately reflect the version being deployed: 'tcno-acc-switcher: Update to version 2024-08-30_01, fix checkver & autoupdate'
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed PR description includes all required elements: clear summary of changes, related issue reference, detailed changes list, testing evidence, and confirmed checkboxes for PR conventions and contributing guide.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

tcno-acc-switcher

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

@SorYoshino SorYoshino changed the title tcno-acc-switcher: Update to version 2024-08-30_01, fix checkver & autoupdate tcno-acc-switcher: Update to version 2025-11-09_00, fix checkver & autoupdate Nov 11, 2025
@SorYoshino

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

tcno-acc-switcher

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

@SorYoshino SorYoshino changed the title tcno-acc-switcher: Update to version 2025-11-09_00, fix checkver & autoupdate tcno-acc-switcher: Update to version 2025-11-20_03, fix checkver & autoupdate Nov 21, 2025
@SorYoshino

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

tcno-acc-switcher

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

Comment thread bucket/tcno-acc-switcher.json

@z-Fng z-Fng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants