Small changes

This commit is contained in:
Natsumi
2024-08-21 09:23:55 +12:00
parent baebfe2041
commit 3baf00af27
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ namespace VRCX
public bool OpenVrcAppDataFolder() public bool OpenVrcAppDataFolder()
{ {
var path = GetVRChatAppDataLocation(); var path = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + @"Low\VRChat\VRChat";
if (!Directory.Exists(path)) if (!Directory.Exists(path))
return false; return false;
+1 -1
View File
@@ -140,7 +140,7 @@ namespace VRCX
var messageBoxResult = MessageBox.Show(cpuError.Value.Item1, "Potentially Faulty CPU Detected", MessageBoxButtons.YesNo, MessageBoxIcon.Error); var messageBoxResult = MessageBox.Show(cpuError.Value.Item1, "Potentially Faulty CPU Detected", MessageBoxButtons.YesNo, MessageBoxIcon.Error);
if (messageBoxResult == DialogResult.Yes) if (messageBoxResult == DialogResult.Yes)
{ {
Process.Start(cpuError.Value.Item2); AppApi.Instance.OpenLink(cpuError.Value.Item2);
} }
} }
logger.Fatal(e, "Unhandled Exception, program dying"); logger.Fatal(e, "Unhandled Exception, program dying");
+2 -2
View File
@@ -125,11 +125,11 @@
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24" /> <PackageReference Include="DiscordRichPresence" Version="1.2.1.24" />
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.3" /> <PackageReference Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NLog" Version="5.3.2" /> <PackageReference Include="NLog" Version="5.3.3" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" /> <PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" />
<PackageReference Include="SharpDX.Mathematics" Version="4.2.0" /> <PackageReference Include="SharpDX.Mathematics" Version="4.2.0" />
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.118" /> <PackageReference Include="System.Data.SQLite.Core" Version="1.0.118" />
<PackageReference Include="System.Drawing.Common" Version="8.0.7" /> <PackageReference Include="System.Drawing.Common" Version="8.0.8" />
<PackageReference Include="System.Net.Http" Version="4.3.4" /> <PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Text.Json" Version="8.0.4" /> <PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" /> <PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
+2
View File
@@ -30750,6 +30750,8 @@ speechSynthesis.getVoices();
if (typeof ref !== 'undefined') { if (typeof ref !== 'undefined') {
json.user = ref; json.user = ref;
json.$displayName = ref.displayName; json.$displayName = ref.displayName;
} else {
json.$displayName = json.user?.displayName;
} }
} }
} }