Winetricks / winetricks

Winetricks is an easy way to work around problems in Wine
GNU Lesser General Public License v2.1
2.66k stars 389 forks source link

Added new verbs: powershell_core and powershell #2211

Open ProjectSynchro opened 2 months ago

ProjectSynchro commented 2 months ago

Saw an older PR that died a few years ago so I figured I'd try.

The Powershell Core verb is based on the Latest LTS release that supports both 32 and 64 bit Windows.

I didn't include dotnet48 as it isn't explicitly required by PowerShell Core and is quite heavy to install, it doesn't provide everything you would be using it for anyways. If it's wanted it can trivially be added.

The powershell verb is based on wrapper code is hosted at: https://github.com/ProjectSynchro/powershell-wrapper-for-wine, this is a fork of https://github.com/PietJankbal/powershell-wrapper-for-wine, I contacted the maintainer but they didn't get back to me so I went ahead and forked, if things change the links to the powershell wrapper binaries and profile.ps1 can be changed.

Let me know if there is anything I should do formatting-wise, I kind of copied what was around and attempted to keep things in alphabetical order. I would stick powershell_core after powershell, but with powershell requiring powershell_core it is what it is.

ProjectSynchro commented 2 months ago

I tried to derive as much as possible from the metadata (including version from file1), let me know if you'd like any more changes.

mactan-sc commented 1 month ago

looking forward to having a verb for this, the star citizen game launcher is unable to perform two critical functions without powershell

ProjectSynchro commented 2 weeks ago

@austin987 Is there anything else that you'd like done to get this merged?

AFAIK I have actioned everything you had suggested.

Cheers.