Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
RayWangQvQ committed Apr 18, 2021
1 parent 0b6daa1 commit 56a84da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion publish.bat
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
::https://docs.microsoft.com/zh-cn/dotnet/core/tools/dotnet-publish

cd ./src/Ray.BiliBiliTool.Console

dotnet publish --configuration Release --self-contained false -o ./bin/Publish/net5-dependent
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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56a84da

Please sign in to comment.