PietJankbal / powershell-wrapper-for-wine

pwsh
63 stars 3 forks source link

Merging a fork that has diverged a bit #28

Closed ProjectSynchro closed 5 months ago

ProjectSynchro commented 6 months ago

Heyo, I forked this project: https://github.com/ProjectSynchro/powershell-wrapper-for-wine and was curious if you wanted to merge in some of my work.

This would include CI and CD for some releases for the wrapper, a workaround for ConEmu (at the cost of colour in powershell) Winetricks verbs for installation, and a few formatting changes to make the code more readable (to me at least).

In theory if we get all this work in the right place, we could try and upstream this wrapper to be included in winetricks as a verb (would make this trivial for users to install).

Let me know what you think.

PietJankbal commented 6 months ago

Hi there,

Sorry for the late reply but I've been really busy and still am atm.

Good job to try include this into winetricks so go ahead! I think it's best you try get your fork into winetricks, as I want to keep ConEmu in my own repository. My wrapper is basically meant for Waves Central, so i really want to keep it here as it is now.

I had a quick look at your fork and just 2 remarks:

This part won't read from stdin anymore so this won't work anymore. The following line takes care of reading from stdin and is not present anymore in your code: while( fgets(line, 4096, stdin) != NULL ) { mbstowcs(defline, line, 4096); wcscat(cmdlineW, defline);}

Check with e.g. 'get-date' | powershell.exe

Regards

ProjectSynchro commented 5 months ago

Hey!

Thanks for the input, I have added back the remark about replace_smart. I also fixed the issue you noted about piped inputs not working, whoops, let my automated tools get the best of me there.

I'll close this since you'd like to keep your repo the same as it is at the moment.

Cheers