Skip to content

Resolve PollyMC AppImage URL from GitHub releases with fallbacks#8

Merged
FlyingEwok merged 1 commit intomainfrom
codex/fix-hardcoded-pollymc-link
Apr 4, 2026
Merged

Resolve PollyMC AppImage URL from GitHub releases with fallbacks#8
FlyingEwok merged 1 commit intomainfrom
codex/fix-hardcoded-pollymc-link

Conversation

@FlyingEwok
Copy link
Copy Markdown
Owner

Motivation

  • The installer used a hardcoded PollyMC AppImage URL that can 404 when upstream release asset names change, causing PollyMC setup to fail.

Description

  • Replaced the hardcoded download URL in modules/pollymc_setup.sh with dynamic resolution from the GitHub releases API to locate the latest AppImage asset.
  • Prefer assets named for x86_64/amd64, fall back to any AppImage asset when an architecture-specific name is not found.
  • Added a last-resort fallback to the legacy static latest/download/PollyMC-Linux-x86_64.AppImage URL for environments where the API cannot be queried.
  • Kept the existing download target and subsequent setup flow (~/.local/share/PollyMC/PollyMC-Linux-x86_64.AppImage) so the rest of the installer is unchanged.

Testing

  • Ran a shell syntax check with bash -n modules/pollymc_setup.sh, which completed successfully.

Codex Task

@FlyingEwok FlyingEwok merged commit 4ec19e8 into main Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant