PietJankbal / Chocolatey-for-wine

Chocolatey packagemanager automatic installer in wine, handy to install quickly programs in wine
90 stars 2 forks source link

Upgrade to latest Powershell #16

Closed natea11 closed 11 months ago

natea11 commented 1 year ago

Hello,

I installed this repo and it worked fine but it said I needed to upgrade Powershell.

I ran: wine choco upgrade powershell-core

Then I could not run wine anymore.

Is it possible to upgrade to the latest Powershell?

Thank you for the help.

PietJankbal commented 1 year ago

Hi,

Unfortunately PowerShell versions above 7.1.5. do not work in wine. It should however work when you use Wine-Staging; that has a patch for this wine-bug that works around the bug.

I pinned the version to 7.1.5 so that it should work both in wine and wine-staging, but maybe I can add a warning that one shouldn't upgrade poweshell-core. I'll have a look.

Regards

PietJankbal commented 11 months ago

Hi,

In the next release (wine-8.19) the aforementioned wine-bug is fixed (fix went in two days ago), so with that version (comes out next week) you should also be able to upgrade to newer wine-versions (above 7.1.5). So for now I consider this as fixed

Regards

natea11 commented 11 months ago

Thanks for your help.