diff --git a/ApplicationPublisher/Program.cs b/ApplicationPublisher/Program.cs index 68beb5d..3226fcb 100644 --- a/ApplicationPublisher/Program.cs +++ b/ApplicationPublisher/Program.cs @@ -6,6 +6,8 @@ var repoDir = Path.Combine(Environment.CurrentDirectory, "..", "..", "..", ".."); +const string readmeFileName = "README.md"; +var readmePath = Path.GetFullPath(Path.Combine(repoDir, readmeFileName)); var projectPath = Path.GetFullPath(Path.Combine(repoDir, "JsonPowerInspector")); var publishDir = Path.GetFullPath(Path.Combine(repoDir, "Build", $"Json Power Inspector v{programVersion}")); var publishPath = $"../Build/\"Json Power Inspector v{programVersion}\"/\"Json Power Inspector.exe\""; @@ -14,6 +16,7 @@ Console.WriteLine( $""" Publishing version: {programVersion}, + Readme Path: {readmePath}, Project Path: {projectPath}, Publish Path: {publishPath}, Godot Path: {args[0]} @@ -21,7 +24,7 @@ ); Directory.CreateDirectory(publishDir); - +File.Copy(readmePath, Path.Combine(publishDir, readmeFileName)); var processStartInfo = new ProcessStartInfo { diff --git a/README.md b/README.md index 5b0736c..a80b1e9 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ # Json Power Inspector for Typed Programing Languauge +[![GitHub Release](https://img.shields.io/github/v/release/Delsin-Yu/Json-Power-Inspector)](https://github.com/Delsin-Yu/Json-Power-Inspector/releases/latest) [![Stars](https://img.shields.io/github/stars/Delsin-Yu/Json-Power-Inspector?color=brightgreen)](https://github.com/Delsin-Yu/Json-Power-Inspector/stargazers) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Delsin-Yu/Json-Power-Inspector/blob/main/LICENSE) + Json Power Inspector is a JSON editor that offers advanced GUI editing experience based on the serialization information created from a typed language. ## Using the application @@ -20,6 +22,8 @@ We provide a serializer Nuget package for `C#/dotnet8` developers, you are more ### Documentation for `JsonPowerInspector.Template` Nuget Package Users +[![NuGet Version](https://img.shields.io/nuget/v/JsonPowerInspector.Template)](https://www.nuget.org/packages/JsonPowerInspector.Template) ![NuGet Downloads](https://img.shields.io/nuget/dt/JsonPowerInspector.Template) + #### Usage - Install the [JsonPowerInspector.Template](https://www.nuget.org/packages/JsonPowerInspector.Template) Nuget package into the C# project that contains the data structure you wish to work with, for demonstration purpose, let's use this `MyItem` type as an example.