Skip to content

Commit

Permalink
Move back to local appdata, but without version
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark committed May 28, 2024
1 parent 31d0e0f commit 4affeca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions windows/QMK Toolbox/Helpers/EmbeddedResourceHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public static class EmbeddedResourceHelper

public static string GetResourceFolder()
{
string programData = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
return Path.Combine(programData, "QMK Toolbox");
string appData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
return Path.Combine(appData, "QMK", "Toolbox");
}

public static void InitResourceFolder()
Expand All @@ -40,8 +40,8 @@ public static void InitResourceFolder()
if (Directory.Exists(toolboxData))
{
Directory.Delete(toolboxData, true);
Directory.CreateDirectory(toolboxData);
}
Directory.CreateDirectory(toolboxData);
ExtractResources(Resources);
}

Expand Down

0 comments on commit 4affeca

Please sign in to comment.