This commit is contained in:
nilaoda 2023-06-15 01:09:22 +08:00
parent ca5757b2db
commit 0e51294862
4 changed files with 10 additions and 12 deletions

View File

@ -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

View File

@ -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 <input> [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 <header> 为HTTP请求设置特定的请求头, 例如:

View File

@ -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();

View File

@ -2,12 +2,12 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>N_m3u8DL_RE</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<Version>0.1.6</Version>
<Version>0.1.7</Version>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>