Open johnjelinek opened 1 year ago
I ended up fixing this after the "installation was successful" by replacing the entire 7.3.1
directory:
rm -rf $(asdf where powershell-core)
mkdir -p $(asdf where powershell-core)
tar -xzf ~/Downloads/powershell-7.3.1-osx-arm64.tar.gz -C $(asdf where powershell-core)
chmod +x $(asdf where powershell-core)/pwsh
I still had to hit Allow Anyway
for each of the dylib
files, but after that, pwsh
came up.
I noticed that earlier this week on WSL and it seems like something changed in the artifact paths inside the github release. Thanks for the report. I'll update when it's fixed.
This should be resolved now. Update your plugin to the latest with asdf plugin update powershell-core
then run a new plugin install.
When I try to install latest on an
m1
mac runningVentura 13.1
, it fails to install.I tracked it down to the extract process: https://github.com/daveneeley/asdf-powershell-core/blob/0ce7dad54bb09612a8b789f88bcfb8e161547e1d/bin/download#L20
if you drop
--strip-components=1
then, it is able to install.Now, when I run
pwsh
, macos pops up with a lot of messages to allow*.dylib
files. After I allow all those, now I get this error: