Path.Join()

This commit is contained in:
Natsumi
2025-01-25 12:00:59 +13:00
parent ebb222e7bf
commit 5214522789
26 changed files with 91 additions and 91 deletions

View File

@@ -561,7 +561,7 @@ namespace VRCX
return err;
}
var iconPath = Path.Combine(Program.BaseDirectory, "VRCX.png");
var iconPath = Path.Join(Program.BaseDirectory, "VRCX.png");
err = overlay.SetOverlayFromFile(thumbnailHandle, iconPath);
if (err != EVROverlayError.None)
{

View File

@@ -489,7 +489,7 @@ namespace VRCX
return err;
}
var iconPath = Path.Combine(Program.BaseDirectory, "VRCX.png");
var iconPath = Path.Join(Program.BaseDirectory, "VRCX.png");
err = overlay.SetOverlayFromFile(thumbnailHandle, iconPath);
if (err != EVROverlayError.None)
{

View File

@@ -22,7 +22,7 @@ namespace VRCX
InitializeComponent();
_browser1 = new ChromiumWebBrowser(
Path.Combine(Program.BaseDirectory, "html/vr.html?1")
Path.Join(Program.BaseDirectory, "html/vr.html?1")
)
{
DragHandler = new CefNoopDragHandler(),
@@ -34,7 +34,7 @@ namespace VRCX
};
_browser2 = new ChromiumWebBrowser(
Path.Combine(Program.BaseDirectory, "html/vr.html?2")
Path.Join(Program.BaseDirectory, "html/vr.html?2")
)
{
DragHandler = new CefNoopDragHandler(),