From 84c2abe237d1b05413232db421515f6fe018053e Mon Sep 17 00:00:00 2001 From: David Fallah Date: Sun, 8 Oct 2017 21:54:28 +0100 Subject: [PATCH 1/2] Set Platforms property in .csproj This allows the application to be built for x86. --- Everlook/Everlook.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Everlook/Everlook.csproj b/Everlook/Everlook.csproj index 15e95fd..1cb5072 100644 --- a/Everlook/Everlook.csproj +++ b/Everlook/Everlook.csproj @@ -5,7 +5,7 @@ net461 false true - x86 + x86 $(DefineConstants);GTK3; true ..\stylecop.ruleset From ae3dfdf8f7687ea15e3c634e8eb794ee8e952249 Mon Sep 17 00:00:00 2001 From: David Fallah Date: Sun, 8 Oct 2017 21:58:18 +0100 Subject: [PATCH 2/2] Fix bug with accessing URI of export directory Ensures that the full path to the export directory is resolved, and the URI resolved against that. --- Everlook/UI/EverlookPreferences.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Everlook/UI/EverlookPreferences.cs b/Everlook/UI/EverlookPreferences.cs index 836273c..ef2cad9 100644 --- a/Everlook/UI/EverlookPreferences.cs +++ b/Everlook/UI/EverlookPreferences.cs @@ -269,8 +269,8 @@ private void LoadConfigurationValues() } } - this.DefaultExportDirectoryFileChooserButton.SetUri(new Uri(this.Config.DefaultExportDirectory).AbsoluteUri); - //this.DefaultExportDirectoryFileChooserButton.SetFilename(this.Config.DefaultExportDirectory); + string fullExportPath = System.IO.Path.GetFullPath(this.Config.DefaultExportDirectory); + this.DefaultExportDirectoryFileChooserButton.SetUri(new Uri(fullExportPath).AbsoluteUri); this.DefaultModelExportFormatComboBox.Active = (int)this.Config.DefaultModelExportFormat; this.DefaultImageExportFormatComboBox.Active = (int)this.Config.DefaultImageExportFormat;