Skip to content

Commit 7b88179

Browse files
Revert "v2.0.2"
This reverts commit 222735c.
1 parent 222735c commit 7b88179

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

EZCode/EZProj.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class EZProj
5151
/// <summary>
5252
/// Icon for project
5353
/// </summary>
54-
public string? IconPath { get; set; }
54+
public string IconPath { get; set; }
5555
/// <summary>
5656
/// Icon for project
5757
/// </summary>
@@ -186,8 +186,7 @@ public string ReadConvert(string? _filecontent = null)
186186
Debug = false;
187187
CloseOnEnd = true;
188188
Name ??= $"EZCode_v{EzCode.Version}";
189-
string iconpath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "EZCode", "EZCode", "EZCode_Logo.ico");
190-
IconPath ??= File.Exists(iconpath) ? iconpath : null;
189+
IconPath ??= Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "EZCode", "EZCode", "EZCode_Logo.ico");
191190

192191
string filecontent = FileContents;
193192
if (_filecontent != null) filecontent = _filecontent;

0 commit comments

Comments
 (0)