Skip to content

Commit 079f5ba

Browse files
committed
Rename IsFirstRun to CreateIfMissing function
1 parent 20a23f8 commit 079f5ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DevProxy/Proxy/ProxyEngine.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private void FirstRunSetup()
179179
{
180180
if (!RunTime.IsMac ||
181181
_config.NoFirstRun ||
182-
!HasRunFlag.IsFirstRun() ||
182+
!HasRunFlag.CreateIfMissing() ||
183183
!_config.InstallCert)
184184
{
185185
return;
@@ -619,7 +619,7 @@ internal static class HasRunFlag
619619
{
620620
private static readonly string filename = Path.Combine(ProxyUtils.AppFolder!, ".hasrun");
621621

622-
public static bool IsFirstRun()
622+
public static bool CreateIfMissing()
623623
{
624624
if (File.Exists(filename))
625625
{

0 commit comments

Comments
 (0)