diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index e9ab1d8..1bc471d 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -19,7 +19,7 @@ on: default: 'main' env: - DOTNET_SDK_VERSION: "7.0.*" + DOTNET_SDK_VERSION: "8.0.*" jobs: build-win-x64-arm64: @@ -82,7 +82,7 @@ jobs: with: dotnet-version: ${{ env.DOTNET_SDK_VERSION }} include-prerelease: true - - run: dotnet publish src/N_m3u8DL-RE -r linux-arm64 -c Release -p:CppCompilerAndLinker=clang-9 -p:SysRoot=/crossrootfs/arm64 -o artifact + - run: dotnet publish src/N_m3u8DL-RE -r linux-arm64 -c Release -p:StripSymbols=true -p:CppCompilerAndLinker=clang-9 -p:SysRoot=/crossrootfs/arm64 -o artifact - name: Upload Artifact[linux-arm64] uses: actions/upload-artifact@v1.0.0 @@ -95,17 +95,14 @@ jobs: steps: - uses: actions/checkout@v2 - - run: rm src/N_m3u8DL-RE/Directory.Build.props - name: Set up dotnet uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ env.DOTNET_SDK_VERSION }} include-prerelease: true -# - run: dotnet publish src/N_m3u8DL-RE -r osx-arm64 -c Release -o artifact-arm64 -p:PublishTrimmed=true -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true -# - run: dotnet publish src/N_m3u8DL-RE -r osx-x64 -c Release -o artifact-x64 -p:PublishTrimmed=true -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true - - run: dotnet publish src/N_m3u8DL-RE -r osx-arm64 -c Release -o artifact-arm64 -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true - - run: dotnet publish src/N_m3u8DL-RE -r osx-x64 -c Release -o artifact-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true + - run: dotnet publish src/N_m3u8DL-RE -r osx-arm64 -c Release -o artifact-arm64 + - run: dotnet publish src/N_m3u8DL-RE -r osx-x64 -c Release -o artifact-x64 - name: Upload Artifact[osx-x64] uses: actions/upload-artifact@v1.0.0 diff --git a/README.md b/README.md index b12a614..92cae19 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ yay -Syu n-m3u8dl-re-git # 命令行参数 ``` Description: - N_m3u8DL-RE (Beta version) 20230412 + N_m3u8DL-RE (Beta version) 20230615 Usage: N_m3u8DL-RE [options] @@ -45,7 +45,8 @@ Options: --binary-merge 二进制合并 [default: False] --del-after-done 完成后删除临时文件 [default: True] --no-date-info 混流时不写入日期信息 [default: False] - --write-meta-json 解析后的信息是否输出json文件 [default: False] + --no-log 关闭日志文件输出 [default: False] + --write-meta-json 解析后的信息是否输出json文件 [default: True] --append-url-params 将输入Url的Params添加至分片, 对某些网站很有用, 例如 kakao.com [default: False] -mt, --concurrent-download 并发下载已选择的音频、视频和字幕 [default: False] -H, --header
为HTTP请求设置特定的请求头, 例如: diff --git a/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs b/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs index 59c3271..0d4c26d 100644 --- a/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs +++ b/src/N_m3u8DL-RE/CommandLine/CommandInvoker.cs @@ -18,7 +18,7 @@ namespace N_m3u8DL_RE.CommandLine { internal partial class CommandInvoker { - public const string VERSION_INFO = "N_m3u8DL-RE (Beta version) 20230601"; + public const string VERSION_INFO = "N_m3u8DL-RE (Beta version) 20230615"; [GeneratedRegex("((best|worst)\\d*|all)")] private static partial Regex ForStrRegex(); diff --git a/src/N_m3u8DL-RE/N_m3u8DL-RE.csproj b/src/N_m3u8DL-RE/N_m3u8DL-RE.csproj index ebdc3c7..de46170 100644 --- a/src/N_m3u8DL-RE/N_m3u8DL-RE.csproj +++ b/src/N_m3u8DL-RE/N_m3u8DL-RE.csproj @@ -2,12 +2,12 @@ Exe - net7.0 + net8.0 N_m3u8DL_RE enable preview enable - 0.1.6 + 0.1.7 AnyCPU;x64