Skip to content

pixeval(@cn): support linux cask - #32

Merged
wu21-web merged 1 commit into
mainfrom
linux-cask
Sep 6, 2026
Merged

pixeval(@cn): support linux cask#32
wu21-web merged 1 commit into
mainfrom
linux-cask

Conversation

@wu21-web

@wu21-web wu21-web commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Copilot Summary

This pull request updates both the pixeval and pixeval@cn casks to add Linux support, refactor architecture handling, and update to version 5.0.12. The changes streamline platform-specific logic, add new checksums, and ensure parity between the international and China-specific versions.

Platform and Architecture Support Updates:

  • Added Linux support to both pixeval and pixeval@cn, including URLs for downloading AppImage files and cleanup instructions via zap. [1] [2]
  • Refactored architecture handling by introducing the arch variable and removing separate on_arm/on_intel blocks, simplifying URL and SHA256 assignment for both macOS and Linux. [1] [2]

Version and Integrity Updates:

  • Updated both casks to version 5.0.12 and provided new SHA256 checksums for all supported platforms and architectures. [1] [2]

Cask Metadata and Consistency:

  • Moved the name, desc, and homepage fields to the end of each cask and ensured they are consistently defined. [1] [2]
  • Ensured pixeval@cn continues to declare a conflict with the main pixeval cask.

@wu21-web
wu21-web requested a lite review from Copilot September 6, 2026 05:50
@wu21-web wu21-web self-assigned this Sep 6, 2026
@wu21-web wu21-web added the enhancement New feature or request label Sep 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The cask DSL changes are consistent and the macOS/Linux URLs, arch mapping, and multi-platform SHA256 structure align with known Homebrew cask patterns.

Pull request overview

This pull request updates the pixeval and pixeval@cn Homebrew casks to ship Pixeval v5.0.12 with first-class Linux support, while simplifying multi-arch handling across macOS and Linux.

Changes:

  • Bumped both casks from 5.0.11 to 5.0.12 and updated SHA256 values for macOS (arm/intel) and Linux (arm64/x86_64).
  • Added on_linux stanzas that install the AppImage via app_image and include Linux-specific zap cleanup.
  • Refactored architecture selection to use a shared arch mapping and consolidated URL patterns.
File summaries
File Description
Casks/pixeval.rb Adds Linux AppImage support, consolidates arch handling, and updates to v5.0.12 with new checksums.
Casks/pixeval@cn.rb Mirrors the same Linux + arch refactor + v5.0.12 update, while keeping the China-oriented download proxy and cask conflict.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@wu21-web
wu21-web enabled auto-merge (rebase) September 6, 2026 05:54
@wu21-web
wu21-web disabled auto-merge September 6, 2026 10:42
@wu21-web
wu21-web merged commit 4dcfca2 into main Sep 6, 2026
9 of 11 checks passed
@wu21-web
wu21-web deleted the linux-cask branch September 6, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants