Skip to content

Commit

Permalink
'powershell' -> 'pwsh'
Browse files Browse the repository at this point in the history
  • Loading branch information
xBaank committed Aug 14, 2024
1 parent 48acbef commit 7807ed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Console/Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
</PropertyGroup>

<Target Name="Download PortAudio before build" BeforeTargets="PreBuildEvent">
<Exec Command="powershell -ExecutionPolicy Bypass -File &quot;$(ProjectDir)/DownloadPortAudioBin.ps1&quot; -Platform $(PortAudioPlatform) -OutputPath &quot;$(ProjectDir)$(PortAudioFileName)&quot;" LogStandardErrorAsError="true" />
<Exec Command="pwsh -ExecutionPolicy Bypass -File &quot;$(ProjectDir)/DownloadPortAudioBin.ps1&quot; -Platform $(PortAudioPlatform) -OutputPath &quot;$(ProjectDir)/$(PortAudioFileName)&quot;" LogStandardErrorAsError="true" />
<Copy SourceFiles="$(ProjectDir)/$(PortAudioFileName)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true" />
</Target>

<Target Name="Download PortAudio before publish" BeforeTargets="PrepareForPublish">
<Exec Command="powershell -ExecutionPolicy Bypass -File &quot;$(ProjectDir)/DownloadPortAudioBin.ps1&quot; -Platform $(PortAudioPlatform) -OutputPath &quot;$(ProjectDir)$(PortAudioFileName)&quot;" LogStandardErrorAsError="true" />
<Exec Command="pwsh -ExecutionPolicy Bypass -File &quot;$(ProjectDir)/DownloadPortAudioBin.ps1&quot; -Platform $(PortAudioPlatform) -OutputPath &quot;$(ProjectDir)/$(PortAudioFileName)&quot;" LogStandardErrorAsError="true" />
<Copy SourceFiles="$(ProjectDir)/$(PortAudioFileName)" DestinationFolder="$(PublishDir)" SkipUnchangedFiles="true" />
</Target>

Expand Down
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ and then running `dotnet .\Console.dll --cookies-path path_to_cookies.txt`
> Expect bugs, crashes, sound glitches, etc.
- There is no stable release yet but you can download the latest [commit](https://nightly.link/xBaank/Terminal.YoutubeMusic/workflows/dotnet/main/YoutubeConsole.zip)

## How to run
- Run `dotnet Console.dll`
## Building requirements
- Install powershell core

## Dependencies
- Terminal.gui v2
Expand Down

0 comments on commit 7807ed7

Please sign in to comment.