Skip to content

Commit

Permalink
create jtpatreon directory if it doesnt exist (#316)
Browse files Browse the repository at this point in the history
* i'm an idiot

* version bump
  • Loading branch information
mattpannella authored Jul 27, 2024
1 parent 3578ea7 commit 8b8caac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pupdate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<Version>3.11.0</Version>
<Version>3.11.1</Version>
<Description>Keep your Analogue Pocket up to date</Description>
<Copyright>2024 Matt Pannella</Copyright>
<Authors>Matt Pannella</Authors>
Expand Down
2 changes: 1 addition & 1 deletion src/services/AnalogizerSettingsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void RunAnalogizerSettings()
if (File.Exists(filepath))
{
string jtpatreon = Path.Combine(ServiceHelper.UpdateDirectory, "Assets", "jtpatreon", "common");
if (Directory.Exists(jtpatreon))
if (!Directory.Exists(jtpatreon))
{
Directory.CreateDirectory(jtpatreon);
}
Expand Down

0 comments on commit 8b8caac

Please sign in to comment.