aftman icon indicating copy to clipboard operation
aftman copied to clipboard

Improved error messages when Rosetta is not installed

Open filiptibell opened this issue 1 year ago • 2 comments

When running an executable built for x86 on an M1/M2 mac you will get this confusing error message if Rosetta is not installed: Bad CPU type in executable Since aftman will always pull x86 executables if a native one is not found for these machines (https://github.com/LPGhatguy/aftman/blob/main/src/tool_source/mod.rs#L36) it might be good for aftman to also be aware of rosetta and point users in the right direction if they don't have it installed.

filiptibell avatar Jul 23 '23 07:07 filiptibell