From 2ac3118d92e60eb67168073b1864775c04922d07 Mon Sep 17 00:00:00 2001 From: CreepyCrafter24 <33260128+CreepyCrafter24@users.noreply.github.com> Date: Sun, 8 Mar 2020 09:34:42 +0100 Subject: [PATCH] Add post-build script for package tools --- UpTool build tool/Program.cs | 1 - UpTool build tool/UpTool build tool.csproj | 103 ++++++++++----------- 2 files changed, 49 insertions(+), 55 deletions(-) diff --git a/UpTool build tool/Program.cs b/UpTool build tool/Program.cs index 5c203ac..4ed44f3 100644 --- a/UpTool build tool/Program.cs +++ b/UpTool build tool/Program.cs @@ -24,7 +24,6 @@ namespace UpTool_build_tool string targetFileName = args[2]; string packageFile = args.Length > 3 ? args[3] : Path.Combine(targetDir, "package.zip"); string tempPath = Path.Combine(args.Length > 4 ? args[4] : Path.GetTempPath(), "UpTool2Pkg"); - string quote = "\""; Console.WriteLine("Removing previous files..."); if (File.Exists(packageFile)) File.Delete(packageFile); diff --git a/UpTool build tool/UpTool build tool.csproj b/UpTool build tool/UpTool build tool.csproj index 1695f99..7f39799 100644 --- a/UpTool build tool/UpTool build tool.csproj +++ b/UpTool build tool/UpTool build tool.csproj @@ -1,56 +1,51 @@  - - - Debug - AnyCPU - {AAB8D6BA-3A43-4DC4-95EE-6757482B77FD} - Exe - Properties - UpTool_build_tool - pkgtool - v4.8 - 512 - 8 - enable - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - + + + Debug + AnyCPU + {AAB8D6BA-3A43-4DC4-95EE-6757482B77FD} + Exe + Properties + UpTool_build_tool + pkgtool + v4.8 + 512 + 8 + enable + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + "$(TargetPath)" build "$(TargetDir)\" "$(TargetPath)" + + \ No newline at end of file