use cached path

This commit is contained in:
pypy
2020-11-08 14:47:53 +09:00
parent 6c923d6a53
commit c05e884cb5
7 changed files with 17 additions and 10 deletions

View File

@@ -36,8 +36,8 @@ namespace VRCX
catch
{
}
// AppDomain.CurrentDomain.BaseDirectory + "/html/index.html"
Browser = new ChromiumWebBrowser(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "html/index.html"))
// Program.BaseDirectory + "/html/index.html"
Browser = new ChromiumWebBrowser(Path.Combine(Program.BaseDirectory, "html/index.html"))
{
DragHandler = new NoopDragHandler(),
BrowserSettings =