Far less jank fix to previous pr (#1246)

* Check if Vrchat path is stale

* Check if Vrchat path is stale

* Fixed `Open Folder` opening file

* Fixed Open Folder opening file

* Fix `Open Folder` opening file
This commit is contained in:
HelloHidnf
2025-05-26 09:52:10 +01:00
committed by GitHub
parent 7ca45c1168
commit 5812b37c17

View File

@@ -230,7 +230,7 @@ namespace VRCX
public override void OpenFolderAndSelectItem(string path, bool isFolder = false)
{
path = Path.GetFullPath(path);
path = Path.GetDirectoryName(path);
if (!File.Exists(path) && !Directory.Exists(path))
return;