Skip to content

Commit

Permalink
Fix VRChat not connecting to desktopclient, and thus OSC ChatBox noti…
Browse files Browse the repository at this point in the history
…fications not working.
  • Loading branch information
Soapwood committed Aug 12, 2024
1 parent 3f184c7 commit 6abf725
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion VXMusic/LogParser/Model/ConfigurationModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ namespace VXMusic.LogParser.VRChat
public class ConfigurationModel
{
public static string ExpandedUserFolderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "VirtualXtensions", "VXMusic");
public static string VrChatRuntimeLogPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "AppData", "LocalLow", "VRChat", "VRChat");

private static object ConfigMutex = new object();

[Annotation("Polling frequency for individual log file updates.", true, "GENERAL CONFIGURATION")]
Expand Down Expand Up @@ -92,7 +94,7 @@ public ConfigurationModel()
{
ParseFrequencyMilliseconds = 300;
DirectoryPollFrequencyMilliseconds = 5000;
OutputLogRoot = @"%AppData%\..\LocalLow\VRChat\vrchat";
OutputLogRoot = VrChatRuntimeLogPath;
LogNotificationEvents = true;
Opacity = 0.75f;

Expand Down
2 changes: 1 addition & 1 deletion VXMusic/LogParser/VRChat/VRChatLogParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class VRChatLogParser : INotifyPropertyChanged

static volatile bool IsExiting = false;

private static bool VrChatRuntimeLogDirExists => Directory.Exists(Configuration.OutputLogRoot);
private static bool VrChatRuntimeLogDirExists => Directory.Exists(ConfigurationModel.VrChatRuntimeLogPath);

static Task DispatchTask;

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.8</Version>
<Version>0.6.5.9</Version>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Title>VXMusicDesktop</Title>
<Authors>VirtualXtensions</Authors>
Expand Down

0 comments on commit 6abf725

Please sign in to comment.