From 93d6dad52cfa2fd7e1169f3621292ea9dac8a929 Mon Sep 17 00:00:00 2001 From: yibei333 Date: Fri, 27 Sep 2024 13:42:33 +0800 Subject: [PATCH] rename target --- assets/version.txt | 2 +- src/SingleExe.Tool/BuildCommand.cs | 2 +- src/SingleExe.Tool/SingleExe.Tool.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/version.txt b/assets/version.txt index 7f20734..e6d5cb8 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -1.0.1 \ No newline at end of file +1.0.2 \ No newline at end of file diff --git a/src/SingleExe.Tool/BuildCommand.cs b/src/SingleExe.Tool/BuildCommand.cs index d9a3eb4..acee788 100644 --- a/src/SingleExe.Tool/BuildCommand.cs +++ b/src/SingleExe.Tool/BuildCommand.cs @@ -198,7 +198,7 @@ void CopyFileToTarget(IConsole console, string tempFolder) var fileName = EntrypointPath.GetFileName(); var filePath = tempFolder.CombinePath($"bin\\Release\\net472\\{fileName}"); Output.CreateDirectoryIfNotExist(); - var targetPath = Output.CombinePath(fileName); + var targetPath = Output.CombinePath($"{Name}.exe"); File.Copy(filePath, targetPath, true); console.WriteSuccess($"生成成功,文件位置'{targetPath}'"); } diff --git a/src/SingleExe.Tool/SingleExe.Tool.csproj b/src/SingleExe.Tool/SingleExe.Tool.csproj index 0bef718..e7ccb9a 100644 --- a/src/SingleExe.Tool/SingleExe.Tool.csproj +++ b/src/SingleExe.Tool/SingleExe.Tool.csproj @@ -17,7 +17,7 @@ MIT True True - 1.0.1 + 1.0.2 False Nuget.md single-exe