ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
210 stars 53 forks source link

Fix powershell build script #373

Closed softworkz closed 1 year ago

softworkz commented 1 year ago

The OS built-in PowerShell complains when omitting those braces

softworkz commented 1 year ago

Note: This PR is targeting the winui-build branch :-)

softworkz commented 1 year ago

I did not notice any issues, but looks good.

I'm using the stock PS included with Win11, did you perhaps install the new cross-platform powershell?

Mine is:

PS c:\> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.22621.2506
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.2506
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
lukasf commented 1 year ago

I have PS Core installed as well, but usually I take the stock one. Not sure though what I used back then. Anyways, if there was a problem, it's good that it's fixed now.