diff --git a/XnaFontTextureGenerator.sln b/XnaFontTextureGenerator.sln
index bd972f8..c46a341 100644
--- a/XnaFontTextureGenerator.sln
+++ b/XnaFontTextureGenerator.sln
@@ -5,7 +5,9 @@ VisualStudioVersion = 17.7.34031.279
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C9087A8A-F8A3-4A2A-9F6C-07E35F8F887C}"
ProjectSection(SolutionItems) = preProject
+ build.ps1 = build.ps1
Directory.Build.props = Directory.Build.props
+ get-version.ps1 = get-version.ps1
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "XnaFontTextureGenerator", "src\XnaFontTextureGenerator\XnaFontTextureGenerator.csproj", "{1A23875A-E339-4969-9838-435DFBC8597D}"
diff --git a/build.ps1 b/build.ps1
index b862e67..bdad888 100644
--- a/build.ps1
+++ b/build.ps1
@@ -4,6 +4,20 @@ Push-Location $PSScriptRoot
try
{
+ if ([System.Environment]::OSVersion.Platform -eq [PlatformID]::Win32NT) {
+
+ $Cygwin = "$env:SystemDrive\cygwin64\bin";
+
+ if (-not (Test-Path $Cygwin)) {
+ Write-Error "Cygwin can not be found or not installed."
+ exit -1
+ }
+
+ if (($env:Path -split ';') -notcontains $Cygwin) {
+ $env:Path = $env:Path.TrimEnd(';') + ";" + $Cygwin
+ }
+ }
+
$Version = ./get-version.ps1
Write-Host -ForegroundColor Yellow "`r`n#### Test ####`r`n"
@@ -22,6 +36,7 @@ try
-p:PublishProfile=$Profile -p:VersionPrefix="$($Version.Prefix)" -p:VersionSuffix="$($Version.Suffix)" -c Release `
-o "build/$Profile" -p:DebugType=None -p:DebugSymbols=false
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
+
}
dir "build" -Include *.zip, *.tgz -Recurse | move -Destination "build" -Force
diff --git a/src/XnaFontTextureGenerator.Desktop/Properties/PublishProfiles/osx-x64.pubxml b/src/XnaFontTextureGenerator.Desktop/Properties/PublishProfiles/osx-x64.pubxml
index 72e6b8f..3365c92 100644
--- a/src/XnaFontTextureGenerator.Desktop/Properties/PublishProfiles/osx-x64.pubxml
+++ b/src/XnaFontTextureGenerator.Desktop/Properties/PublishProfiles/osx-x64.pubxml
@@ -16,7 +16,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
true
- xfontgen
+ $(Description)
$(Description)
com.yariker.xfontgen
$(VersionPrefix)
@@ -29,7 +29,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
true
-
+
diff --git a/src/XnaFontTextureGenerator.Desktop/XnaFontTextureGenerator.Desktop.csproj b/src/XnaFontTextureGenerator.Desktop/XnaFontTextureGenerator.Desktop.csproj
index b3456aa..b34966f 100644
--- a/src/XnaFontTextureGenerator.Desktop/XnaFontTextureGenerator.Desktop.csproj
+++ b/src/XnaFontTextureGenerator.Desktop/XnaFontTextureGenerator.Desktop.csproj
@@ -10,7 +10,7 @@
-
+
Always
Never
diff --git a/src/XnaFontTextureGenerator/App.axaml b/src/XnaFontTextureGenerator/App.axaml
index 4ee7cab..9b5b44f 100644
--- a/src/XnaFontTextureGenerator/App.axaml
+++ b/src/XnaFontTextureGenerator/App.axaml
@@ -2,13 +2,14 @@
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:views="clr-namespace:XnaFontTextureGenerator.Views"
+ Name="XNA Font Texture Generator"
RequestedThemeVariant="Default">
-
-
+
+