Skip to content

Commit

Permalink
1.2.1 - fix encoding in pmc
Browse files Browse the repository at this point in the history
tried bunch of different things but the input name is still output as garbage. however, internally it works.
  • Loading branch information
dady8889 committed Mar 30, 2022
1 parent d15272f commit f460700
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
9 changes: 2 additions & 7 deletions Onova.Publisher.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Onova.Publisher</id>
<title>Onova.Publisher</title>
<version>1.2.0</version>
<version>1.2.1</version>
<authors>dady8889</authors>
<owners>dady8889</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -15,12 +15,7 @@
<group targetFramework="net5.0" />
<group targetFramework="net6.0" />
</dependencies>
<releaseNotes>* FIX: Fixed order of versions placed in manifest during rebuild.
* FIX: Fixed installing zips with empty files.
* NEW: Added Unicode support for the application name.
* NEW: Code signing support using -s or --sign. Read more in Onova.Publisher -h.
* CHANGE: Output argument -o or --output will now output generated files to the specified directory. (previously it would always create OnovaPublish folder)
* CHANGE: Maximum length of application name is now 31 characters, url is 1023 characters.
<releaseNotes>* FIX: Fixed encoding issue in VS Package Manager Console.
</releaseNotes>
</metadata>
<files>
Expand Down
6 changes: 1 addition & 5 deletions Onova.Publisher/Onova.Publisher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
<TargetFramework>net5.0</TargetFramework>
<Authors>dady8889</Authors>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageReleaseNotes>
* Fixed order of versions placed in manifest during rebuild
* Added Unicode support for application name
</PackageReleaseNotes>
<Version>1.2.0</Version>
<Version>1.2.1</Version>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<OutputPath>$(SolutionDir)bin\$(MSBuildProjectName)\$(Configuration)\$(Platform)\</OutputPath>
Expand Down
5 changes: 2 additions & 3 deletions Onova.Publisher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Text;
using System.Runtime.InteropServices;

namespace Onova.Publisher
{
class Program
{

static int Main(string[] args)
{
Console.OutputEncoding = System.Text.Encoding.Unicode;
Console.OutputEncoding = Encoding.Default;

var rootCommand = new RootCommand
{
Expand Down Expand Up @@ -82,7 +82,6 @@ static int CommandLineHandler(string name, string version, string url, string ta

if (url.Length >= InstallerConstant.ManifestUrlLength)
{

Console.Error.WriteLine("Manifest URL is too long.");
return 1;
}
Expand Down

0 comments on commit f460700

Please sign in to comment.