Skip to content

Fix macOS PKG installation for Unity 6000+ (cpio payload support)#451

Merged
Larusso merged 1 commit intomasterfrom
fix/macos_6000.3_installation
Mar 3, 2026
Merged

Fix macOS PKG installation for Unity 6000+ (cpio payload support)#451
Larusso merged 1 commit intomasterfrom
fix/macos_6000.3_installation

Conversation

@Larusso
Copy link
Owner

@Larusso Larusso commented Mar 3, 2026

Description

Unity 6000+ PKG installers use cpio-format payloads instead of tar. The macOS installer previously only supported tar, causing installation failures with error "This does not look like a tar archive".

Changes

  • [FIX] Add payload format detection for cpio vs tar payloads
  • [ADD] Implement cpio extraction using gzip -dc | cpio -id pipeline
  • [ADD] flate2 dependency for gzip decompression on macOS
  • [UPDATE] CLAUDE.md commit message format guidelines

## Description

Unity 6000+ PKG installers use cpio-format payloads instead of tar.
The macOS installer previously only supported tar, causing installation
failures with error "This does not look like a tar archive".

## Changes

* [FIX] Add payload format detection for cpio vs tar payloads
* [ADD] Implement cpio extraction using `gzip -dc | cpio -id` pipeline
* [ADD] `flate2` dependency for gzip decompression on macOS
* [UPDATE] CLAUDE.md commit message format guidelines
@Larusso Larusso merged commit 96c8da0 into master Mar 3, 2026
8 checks passed
@Larusso Larusso deleted the fix/macos_6000.3_installation branch March 3, 2026 12:46
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