diff --git a/publish.bat b/publish.bat index 30b1f93..db36a62 100644 --- a/publish.bat +++ b/publish.bat @@ -1,3 +1,4 @@ +::https://docs.microsoft.com/zh-cn/dotnet/core/tools/dotnet-publish cd ./src/Ray.BiliBiliTool.Console @@ -5,8 +6,9 @@ dotnet publish --configuration Release --self-contained false -o ./bin/Publish/n echo "dotnet Ray.BiliBiliTool.Console.dll" > ./bin/Publish/net5-dependent/start.bat ::dotnet publish --configuration Release --runtime win-x86 --self-contained true -p:PublishTrimmed=true -o ./bin/Publish/win-x86-x64 -::dotnet publish --configuration Release --runtime linux-arm --self-contained true -p:PublishTrimmed=true -o ./bin/Publish/linux-arm ::dotnet publish --configuration Release --runtime linux-x64 --self-contained true -p:PublishTrimmed=true -o ./bin/Publish/linux-x64 +::dotnet publish --configuration Release --runtime linux-arm --self-contained true -p:PublishTrimmed=true -o ./bin/Publish/linux-arm +::dotnet publish --configuration Release --runtime linux-arm64 --self-contained true -p:PublishTrimmed=true -o ./bin/Publish/linux-arm64 ::dotnet publish --configuration Release --runtime osx-x64 --self-contained true -p:PublishTrimmed=true -o ./bin/Publish/osx-x64 pause diff --git a/src/Ray.BiliBiliTool.Console/HostedServices/PreCheckHostedService.cs b/src/Ray.BiliBiliTool.Console/HostedServices/PreCheckHostedService.cs index d08de07..359fd2d 100644 --- a/src/Ray.BiliBiliTool.Console/HostedServices/PreCheckHostedService.cs +++ b/src/Ray.BiliBiliTool.Console/HostedServices/PreCheckHostedService.cs @@ -39,7 +39,7 @@ public Task StartAsync(CancellationToken cancellationToken) //目标任务 var tasks = _configuration["RunTasks"] .Split("&", options: StringSplitOptions.RemoveEmptyEntries); - _logger.LogInformation("【任务】{tasks}", _configuration["RunTasks"]); + _logger.LogInformation("【目标任务】{tasks}", _configuration["RunTasks"]); if (!tasks.Any()) return Task.CompletedTask; //Cookie