Skip to content

Rosetta x64 translation fools arch detection in installers #59370

@ericstj

Description

@ericstj

Initial thread: #59295 (comment)

When running on M1 mac, if the installer is launched from a rosetta terminal it runs under x64 translation.

This causes the installer to falsely identify the machine as x64.

We should avoid this if we can using sysctl.proc_translated
https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment

We need to leverage this here in the host's postinstall script, as well as in the bundle authoring in arcade and installer. cc @sfoslund

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions