From b9d6da5f72f2d2be3c72e08a7df6d3c210b8cff8 Mon Sep 17 00:00:00 2001 From: Travis Lee Date: Mon, 11 Dec 2023 15:35:55 +0800 Subject: [PATCH 1/2] feat: support file extensions m4a, ogg and opus --- src/ZonyLrcTools.Cli/config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ZonyLrcTools.Cli/config.yaml b/src/ZonyLrcTools.Cli/config.yaml index d917b10..24553bb 100644 --- a/src/ZonyLrcTools.Cli/config.yaml +++ b/src/ZonyLrcTools.Cli/config.yaml @@ -4,6 +4,9 @@ globalOption: - '*.mp3' - '*.flac' - '*.wav' + - '*.m4a' + - '*.ogg' + - '*.opus' # 网络代理服务设置,仅支持 HTTP 代理。 networkOptions: isEnable: false # 是否启用代理。 From 14c78f9a83d55f8878b93d6979a1044dbbe847e9 Mon Sep 17 00:00:00 2001 From: Travis Lee Date: Mon, 11 Dec 2023 15:36:12 +0800 Subject: [PATCH 2/2] feat: build arm64 binaries --- src/ZonyLrcTools.Cli/publish.ps1 | 2 +- src/ZonyLrcTools.Cli/publish.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZonyLrcTools.Cli/publish.ps1 b/src/ZonyLrcTools.Cli/publish.ps1 index e3fb636..5806bab 100644 --- a/src/ZonyLrcTools.Cli/publish.ps1 +++ b/src/ZonyLrcTools.Cli/publish.ps1 @@ -1,4 +1,4 @@ -$Platforms = @('win-x64', 'linux-x64', 'osx-x64') +$Platforms = @('win-x64', 'linux-x64', 'osx-x64', 'win-arm64', 'linux-arm64', 'osx-arm64') if (-not (Test-Path ./TempFiles)) { New-Item -ItemType Directory -Path ./TempFiles | Out-Null diff --git a/src/ZonyLrcTools.Cli/publish.sh b/src/ZonyLrcTools.Cli/publish.sh index 9322cbb..829e1db 100755 --- a/src/ZonyLrcTools.Cli/publish.sh +++ b/src/ZonyLrcTools.Cli/publish.sh @@ -1,5 +1,5 @@ #!/bin/bash -Platforms=('win-x64' 'linux-x64' 'osx-x64') +Platforms=('win-x64' 'linux-x64' 'osx-x64' 'win-arm64' 'linux-arm64' 'osx-arm64') if ! [ -d './TempFiles' ]; then