Skip to content

Commit

Permalink
Fix issue loading config when users have a space in their Windows use…
Browse files Browse the repository at this point in the history
…rname.
  • Loading branch information
Soapwood committed Aug 2, 2024
1 parent 182f6bc commit 346cd75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions VXMusic/LogParser/Model/ConfigurationModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ namespace VXMusic.LogParser.VRChat
{
public class ConfigurationModel
{
public const string UserFolderPath = @"%AppData%\..\Local\VirtualXtensions\VXMusic";
public static string ExpandedUserFolderPath = Environment.ExpandEnvironmentVariables(UserFolderPath);
public static string ExpandedUserFolderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "VirtualXtensions", "VXMusic");
private static object ConfigMutex = new object();

[Annotation("Polling frequency for individual log file updates.", true, "GENERAL CONFIGURATION")]
Expand Down
2 changes: 1 addition & 1 deletion VXMusicDesktop/VXMusicDesktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageIcon>VXLogo.png</PackageIcon>
<ApplicationIcon>Images\VXLogoIcon.ico</ApplicationIcon>
<RunPostBuildEvent>Always</RunPostBuildEvent>
<Version>0.6.5.2</Version>
<Version>0.6.5.3</Version>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Title>VXMusicDesktop</Title>
<Authors>VirtualXtensions</Authors>
Expand Down

0 comments on commit 346cd75

Please sign in to comment.