Skip to content

Commit

Permalink
Fix MacOS imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dan0v committed Feb 25, 2024
1 parent 1988596 commit 672a6fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Helpers/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ public async void SaveCurrent()
if (!Directory.Exists(MainWindow.XDELTA3_APP_STORAGE))
{
#if MacOS
var oldLocalAppData = Path.Join(GetFolderPath(SpecialFolder.UserProfile, SpecialFolderOption.DoNotVerify), ".local/share/xdelta3-cross-gui");
var oldLocalAppData = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile, Environment.SpecialFolderOption.DoNotVerify), ".local/share/xdelta3-cross-gui");

if (Directory.Exists(oldLocalAppData))
{
Directory.Move(oldLocalAppData, XDELTA3_APP_STORAGE);
Directory.Move(oldLocalAppData, MainWindow.XDELTA3_APP_STORAGE);
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion xdelta3_cross_gui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Authors>dan0v</Authors>
<Description>A cross-platform graphical user interface for xDelta3 patching</Description>
<ApplicationIcon>Icon.ico</ApplicationIcon>
<Version>1.5.0</Version>
<Version>1.5.1</Version>
<CopyOutputSymbolsToPublishDirectory>false</CopyOutputSymbolsToPublishDirectory>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>partial</TrimMode>
Expand Down

0 comments on commit 672a6fd

Please sign in to comment.