v0.1.7
This commit is contained in:
parent
ca5757b2db
commit
0e51294862
|
@ -19,7 +19,7 @@ on:
|
||||||
default: 'main'
|
default: 'main'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DOTNET_SDK_VERSION: "7.0.*"
|
DOTNET_SDK_VERSION: "8.0.*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-win-x64-arm64:
|
build-win-x64-arm64:
|
||||||
|
@ -82,7 +82,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
|
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
|
||||||
include-prerelease: true
|
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]
|
- name: Upload Artifact[linux-arm64]
|
||||||
uses: actions/upload-artifact@v1.0.0
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
@ -95,17 +95,14 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: rm src/N_m3u8DL-RE/Directory.Build.props
|
|
||||||
|
|
||||||
- name: Set up dotnet
|
- name: Set up dotnet
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
|
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
|
||||||
include-prerelease: true
|
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-arm64 -c Release -o artifact-arm64
|
||||||
# - 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-x64 -c Release -o artifact-x64
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: Upload Artifact[osx-x64]
|
- name: Upload Artifact[osx-x64]
|
||||||
uses: actions/upload-artifact@v1.0.0
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
|
|
@ -23,7 +23,7 @@ yay -Syu n-m3u8dl-re-git
|
||||||
# 命令行参数
|
# 命令行参数
|
||||||
```
|
```
|
||||||
Description:
|
Description:
|
||||||
N_m3u8DL-RE (Beta version) 20230412
|
N_m3u8DL-RE (Beta version) 20230615
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
N_m3u8DL-RE <input> [options]
|
N_m3u8DL-RE <input> [options]
|
||||||
|
@ -45,7 +45,8 @@ Options:
|
||||||
--binary-merge 二进制合并 [default: False]
|
--binary-merge 二进制合并 [default: False]
|
||||||
--del-after-done 完成后删除临时文件 [default: True]
|
--del-after-done 完成后删除临时文件 [default: True]
|
||||||
--no-date-info 混流时不写入日期信息 [default: False]
|
--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]
|
--append-url-params 将输入Url的Params添加至分片, 对某些网站很有用, 例如 kakao.com [default: False]
|
||||||
-mt, --concurrent-download 并发下载已选择的音频、视频和字幕 [default: False]
|
-mt, --concurrent-download 并发下载已选择的音频、视频和字幕 [default: False]
|
||||||
-H, --header <header> 为HTTP请求设置特定的请求头, 例如:
|
-H, --header <header> 为HTTP请求设置特定的请求头, 例如:
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace N_m3u8DL_RE.CommandLine
|
||||||
{
|
{
|
||||||
internal partial class CommandInvoker
|
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)")]
|
[GeneratedRegex("((best|worst)\\d*|all)")]
|
||||||
private static partial Regex ForStrRegex();
|
private static partial Regex ForStrRegex();
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net7.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<RootNamespace>N_m3u8DL_RE</RootNamespace>
|
<RootNamespace>N_m3u8DL_RE</RootNamespace>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<LangVersion>preview</LangVersion>
|
<LangVersion>preview</LangVersion>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Version>0.1.6</Version>
|
<Version>0.1.7</Version>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue