Skip to content

Commit

Permalink
symlink bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnSur committed Aug 15, 2023
1 parent 70efd04 commit 4d1bbde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private static void OnProjectWindowItemGUI(string guid, Rect r)
{
var path = AssetDatabase.GUIDToAssetPath(guid);

if (string.IsNullOrEmpty(path))
if (string.IsNullOrEmpty(path) || !File.Exists(path))
return;
var attributes = File.GetAttributes(path);
var nr = IMGUIUtility.CalculateRectAfterLabelText(r, path, true);
Expand Down Expand Up @@ -253,7 +253,7 @@ private static void ExecuteBashCommand(string command)
}
}
}

private enum SymlinkType
{
Junction,
Expand Down

0 comments on commit 4d1bbde

Please sign in to comment.