open external link

This commit is contained in:
pypy
2020-03-21 15:30:13 +09:00
parent d10a149de5
commit 2db0d6294c
3 changed files with 22 additions and 6 deletions

View File

@@ -78,9 +78,12 @@ namespace VRCX
}
}
public void OpenRepository()
public void OpenLink(string url)
{
Process.Start("https://github.com/pypy-vrc/VRCX").Close();
if (url.StartsWith("http://") || url.StartsWith("https://"))
{
Process.Start(url).Close();
}
}
public void ShowVRForm()