Skip to content

Commit

Permalink
✨ 更新
Browse files Browse the repository at this point in the history
  • Loading branch information
xinansky committed Jun 24, 2024
1 parent dac7ee2 commit bb44fb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Editor/General/Utils/Program/U.Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static void ChangeTitle(string title)
/// <param name="icon">图标路径</param>
public static void ChangeICON(string icon)
{
if (!File.Exists(icon)) throw new IOException(icon);
if (!File.Exists(icon)) return;
#if UNITY_EDITOR_WIN
var result = ExtractIcon(0, icon.Replace('\\', '/'), 0);
try
Expand Down Expand Up @@ -118,4 +118,4 @@ private static bool EnumWindCallback(IntPtr hwnd, IntPtr lParam)

#endregion
}
}
}

0 comments on commit bb44fb8

Please sign in to comment.