-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Ffmpeg detection priority and rename PathUtils * Fix potential IndexOutOfRangeException * Spell FFmpeg correctly where meaningful * Rename Quiet to Silent * Add more verbose licensing information * Update workflows * Update CLI README
- Loading branch information
Showing
32 changed files
with
3,200 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
- name: Build Windows GUI | ||
run: dotnet publish TwitchDownloaderWPF -p:PublishProfile=Windows -p:DebugType=None -p:DebugSymbols=false | ||
|
||
- name: Download Ffmpeg To Workspace | ||
- name: Download FFmpeg To Workspace | ||
# You may pin to the exact commit or the version. | ||
# uses: carlosperate/download-file-action@e85e0aa6262f13571d17a4a39687b26981c583dc | ||
uses: carlosperate/[email protected] | ||
|
@@ -34,7 +34,7 @@ jobs: | |
# New filename to rename the downloaded file | ||
file-name: ffmpeg.zip | ||
|
||
- name: Bundle Ffmpeg | ||
- name: Bundle FFmpeg | ||
run: tar xfz ffmpeg.zip --strip-components=1; copy bin/ffmpeg.exe TwitchDownloaderWPF/bin/Release/net6.0-windows/publish/win-x64/ffmpeg.exe | ||
|
||
- name: Zip Windows GUI | ||
|
@@ -74,31 +74,31 @@ jobs: | |
- name: Zip Windows CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/Windows/TwitchDownloaderCLI.exe | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/Windows" | ||
dest: TwitchDownloaderCLI-Windows-x64.zip | ||
|
||
- name: Zip Linux CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/Linux/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/Linux" | ||
dest: TwitchDownloaderCLI-Linux-x64.zip | ||
|
||
- name: Zip LinuxAlpine CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxAlpine/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxAlpine" | ||
dest: TwitchDownloaderCLI-LinuxAlpine-x64.zip | ||
|
||
- name: Zip LinuxArm CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm" | ||
dest: TwitchDownloaderCLI-LinuxArm.zip | ||
|
||
- name: Zip LinuxArm64 CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm64/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm64" | ||
dest: TwitchDownloaderCLI-LinuxArm64.zip | ||
|
||
- name: Upload Windows CLI Artifact Asset | ||
|
@@ -148,7 +148,7 @@ jobs: | |
- name: Zip MacOS CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/MacOS/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/MacOS" | ||
dest: TwitchDownloaderCLI-MacOS-x64.zip | ||
|
||
- name: Upload MacOS CLI Artifact Asset | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ jobs: | |
- name: Build Windows GUI | ||
run: dotnet publish TwitchDownloaderWPF -p:PublishProfile=Windows -p:DebugType=None -p:DebugSymbols=false | ||
|
||
- name: Download Ffmpeg To Workspace | ||
- name: Download FFmpeg To Workspace | ||
# You may pin to the exact commit or the version. | ||
# uses: carlosperate/download-file-action@e85e0aa6262f13571d17a4a39687b26981c583dc | ||
uses: carlosperate/[email protected] | ||
|
@@ -59,7 +59,7 @@ jobs: | |
# New filename to rename the downloaded file | ||
file-name: ffmpeg.zip | ||
|
||
- name: Bundle Ffmpeg | ||
- name: Bundle FFmpeg | ||
run: tar xfz ffmpeg.zip --strip-components=1; copy bin/ffmpeg.exe TwitchDownloaderWPF/bin/Release/net6.0-windows/publish/win-x64/ffmpeg.exe | ||
|
||
- name: Zip Windows GUI Release Asset | ||
|
@@ -115,31 +115,31 @@ jobs: | |
- name: Zip Windows CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/Windows/TwitchDownloaderCLI.exe | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/Windows" | ||
dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-Windows-x64.zip | ||
|
||
- name: Zip Linux CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/Linux/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/Linux" | ||
dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-Linux-x64.zip | ||
|
||
- name: Zip LinuxAlpine CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxAlpine/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxAlpine" | ||
dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-LinuxAlpine-x64.zip | ||
|
||
- name: Zip LinuxArm CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm" | ||
dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-LinuxArm.zip | ||
|
||
- name: Zip LinuxArm64 CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm64/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/LinuxArm64" | ||
dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-LinuxArm64.zip | ||
|
||
- name: Download URL | ||
|
@@ -220,7 +220,7 @@ jobs: | |
- name: Zip MacOS CLI | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: TwitchDownloaderCLI/bin/Release/net6.0/publish/MacOS/TwitchDownloaderCLI | ||
files: "TwitchDownloaderCLI/bin/Release/net6.0/publish/MacOS" | ||
dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-MacOS-x64.zip | ||
|
||
- name: Download URL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace TwitchDownloaderCLI.Modes.Arguments | ||
{ | ||
public interface ITwitchDownloaderArgs | ||
{ | ||
// TODO: Mode --silent here | ||
public bool? ShowBanner { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.