PowerShell 7.3.2 on ARM64 packages for linux, win, osx #18120
rhubarb-geek-nz
started this conversation in
Show and tell
Replies: 2 comments
-
For some reason the PowerShell project is able to compile for ARM and ARM64 but not able to make packages (apart from the msixbundle). Although there is an official OSX ARM64 package the icon in /Applications does not work without Rosetta. I have built a set for 7.3.2 of RPM, DEB , PKG and MSI for ARM and ARM64 for Linux, OSX and Windows. Complete packaging scripts are in the linked git repository. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have just acquired a new Mac Mini with M1 and don't intend to install Rosetta at all. I want to keep it clean as ARM64 only.
The PowerShell 7.2.6 ARM64 installer required Rosetta. I tried installing directly from the tarball but it complained about every single dylib needing to be enabled as the installation was considered untrusted.
My solution was to rebuilt the package without the scripts that run in the installer.
This then left the problem that the /Applications/PowerShell.app/Contents/MacOS/PowerShell.sh caused the launcher to say that Rosetta was required.
In the package I replaced PowerShell.sh with a tiny compiled ARM64 binary that did exactly the same thing.
So now it installs and runs directly from the Finder without Rosetta.
PowerShell on MacOS ARM64
Beta Was this translation helpful? Give feedback.
All reactions