Skip to content

cherry-studio-pre: Update to version 1.7.0-rc.1, add arm64 support, switch to portable release#2587

Merged
z-Fng merged 2 commits intoScoopInstaller:masterfrom
jbwfu:fix/2586
Nov 15, 2025
Merged

cherry-studio-pre: Update to version 1.7.0-rc.1, add arm64 support, switch to portable release#2587
z-Fng merged 2 commits intoScoopInstaller:masterfrom
jbwfu:fix/2586

Conversation

@jbwfu
Copy link
Copy Markdown
Contributor

@jbwfu jbwfu commented Nov 14, 2025

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

  • Correctly fetch pre-release assets
  • Rename shortcut to avoid naming conflicts
  • Ensure full portability by no longer copying files from $Env:AppData\CherryStudio
  • Add support for the arm64 architecture

close #2586

Note: Hash retrieval is dependent on the implementation of CherryHQ/cherry-studio#11288 .

Summary by CodeRabbit

  • New Features

    • Added ARM64 portable build for broader hardware support
  • Updates

    • Version bumped to 1.7.0-rc.1
    • Distribution switched to portable executables for both x64 and arm64
    • Shortcut name changed to "Cherry-Studio.exe" with display "Cherry Studio (Preview)"
    • Update-checking refined to target prerelease tags for release candidates
  • Removals

    • Removed automated install/uninstall steps (no post-install or pre-uninstall actions)

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Nov 14, 2025

Walkthrough

The Scoop manifest cherry-studio-pre.json is updated to version 1.7.0-rc.1: x64 setup replaced with portable executable, arm64 portable artifact added, installer hooks removed, shortcuts renamed, checkver switched to a jsonpath prerelease extraction, and autoupdate targets portable executables with new hashes.

Changes

Cohort / File(s) Summary
Scoop Manifest
bucket/cherry-studio-pre.json
Version bumped to 1.7.0-rc.1; 64-bit download changed from ...-x64-setup.exe#/dl.7z to ...-x64-portable.exe#/Cherry-Studio.exe with new SHA512; arm64 portable artifact added with URL and SHA512; removed pre_install, post_install, and pre_uninstall blocks; shortcuts renamed to Cherry-Studio.exe / Cherry Studio (Preview); checkver switched to JSONPath "$[?(@.prerelease == true)].tag_name" with regex v([\w.-]+); autoupdate now points to portable executables for x64 and arm64 and no longer uses separate hash-source entries.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Single-file manifest changes, mostly substitutions and deletions.
  • Areas to verify:
    • checkver JSONPath and regex correctness against the upstream release JSON.
    • SHA512 values and URL fragments (#/Cherry-Studio.exe) for portable artifacts.
    • Shortcut renames and persist path remain correct.

Poem

🐰 I hopped through bytes and URLs so spry,
New portable leaps beneath the sky,
ARM64 joined the nimble dance,
Hooks removed — a cleaner prance,
Cherry Studio wakes — give it a try! 🎉

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR objectives focus on fixing pre-release asset fetching and adding arm64 support, but the linked issue #2586 requests treating cherry-studio-pre as a stable release, not a pre-release. Address the core issue #2586 requirement: clarify whether this is updating to a stable release or continuing as pre-release, and align manifest changes accordingly.
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The PR description follows the template structure, includes the checklist items, lists key objectives, and references the related issue #2586.
Out of Scope Changes check ✅ Passed All changes align with the stated PR objectives: fixing pre-release asset fetching, renaming shortcuts, adding arm64 support, and ensuring portability. No out-of-scope modifications detected.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title accurately summarizes the main changes: version bump to 1.7.0-rc.1, addition of arm64 architecture support, and migration to portable releases.
✨ 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

Your changes did not pass all checks.

Please address the issues in the manifest and comment starting with /verify to rerun the checks.

cherry-studio-pre

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c94ca84 and 4d42bb3.

📒 Files selected for processing (1)
  • bucket/cherry-studio-pre.json (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: AndisGrossteins
Repo: ScoopInstaller/Versions PR: 2575
File: bucket/perl-pdl.json:5-5
Timestamp: 2025-11-11T14:02:01.033Z
Learning: In bucket/perl-pdl.json, Strawberry Perl PDL stopped releasing 32-bit versions after 5.32.1.1, while 64-bit continues to receive updates. The manifest correctly uses the latest 64-bit version as the global version field since Scoop schema doesn't support architecture-specific version properties.
Learnt from: o-l-a-v
Repo: ScoopInstaller/Versions PR: 2564
File: bucket/olive-editor.json:24-24
Timestamp: 2025-11-07T10:15:21.033Z
Learning: In Scoop manifest JSON files, PowerShell commands in arrays like `pre_install` require backslashes to be escaped as `\\` in the JSON. After JSON parsing, `"$dir\\file.exe"` correctly becomes `$dir\file.exe` in PowerShell. This is proper JSON escaping, not an error.
🔇 Additional comments (4)
bucket/cherry-studio-pre.json (4)

18-19: Shortcut name change improves clarity and avoids conflicts.

The shortcut has been renamed from "Cherry Studio.exe" / "Cherry Studio" to "Cherry-Studio.exe" / "Cherry Studio Preview", which aligns with the PR objective to avoid naming conflicts. The executable name matches the file renaming via the URL fragment #/Cherry-Studio.exe, so the mapping is correct. This change is also consistent with the shift to portable executables that don't require AppData integration.


11-14: ARM64 architecture support properly added.

The new arm64 section mirrors the 64bit structure and is properly nested within the architecture object. Scoop supports multi-architecture applications through the architecture object and includes logic to handle ARM64 compatibility by falling back to compatible architectures when ARM64-specific configurations are unavailable. The arm64 portable URL and hash follow the correct naming convention.


25-26: Incorrect review comment: The described checkver configuration does not exist in the manifest.

The review comment references a jsonpath filter and specific regex pattern on lines 25-26, but the actual manifest's checkver shows:

  • "url": "https://api.github.com/repos/CherryHQ/cherry-studio/releases"
  • "regex": "download/v([\\d.]+)/"
  • No jsonpath field present

The current regex pattern is fundamentally incompatible with the GitHub API response format. The pattern download/v([\\d.]+)/ expects a URL with a "download/" prefix, but the API returns JSON objects with tag_name values like "v1.7.0-beta.6". Additionally, the regex [\\d.]+ cannot capture prerelease suffixes (e.g., "-beta.6").

Either the review comment describes proposed changes that were never applied, or the manifest has been reverted since the review was written.

Likely an incorrect or invalid review comment.


8-9: Verify hash values and URL accessibility for v1.7.0-beta.6 release assets.

The manifest references SHA256 hashes (64 hex characters) for portable executables. Manual verification is needed:

  1. Visit the GitHub releases page for v1.7.0-beta.6
  2. Confirm the portable .exe files exist at the URLs specified (lines 8 and 12)
  3. Verify the SHA256 hashes match by downloading each asset and computing its checksum
  4. Additionally, verify that the beta.yml file referenced in the autoupdate section is available in the upstream repository (noted as depending on CherryHQ/cherry-studio#11288)

Also applies to: 12-13

Comment thread bucket/cherry-studio-pre.json Outdated
@z-Fng
Copy link
Copy Markdown
Member

z-Fng commented Nov 15, 2025

/verify. Update to version 1.7.0-rc.1, remove autoupdate hash extraction.

@github-actions
Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

cherry-studio-pre

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

Check the full log for details.

Copy link
Copy Markdown
Member

@z-Fng z-Fng left a comment

Choose a reason for hiding this comment

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

Thanks!

Note: Hash retrieval is dependent on the implementation of CherryHQ/cherry-studio#11288 .

Autoupdate Hash Extraction has been removed for now. If the beta*.yml and rc*.yml files start using the same filename in the future, contributions to add it back would be very welcome.

@z-Fng z-Fng changed the title cherry-studio-pre@1.7.0-beta.6: Fix pre-release asset fetching cherry-studio-pre: Update to version 1.7.0-rc.1, add arm64 support, switch to portable release Nov 15, 2025
@z-Fng z-Fng merged commit 80cab1f into ScoopInstaller:master Nov 15, 2025
3 checks passed
@jbwfu jbwfu deleted the fix/2586 branch November 15, 2025 18:27
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.

cherry-studio-pre: it is a stable release, not a pre-release

2 participants