Skip to content

Commit 11d7ebf

Browse files
committed
Add .hasrun flag removal along with certificates removal (#1241)
1 parent d6e31c8 commit 11d7ebf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

DevProxy/Commands/CertCommand.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using System.CommandLine.Parsing;
1010
using System.Diagnostics;
1111
using Titanium.Web.Proxy.Helpers;
12+
using static DevProxy.Proxy.ProxyEngine;
1213

1314
namespace DevProxy.Commands;
1415

@@ -136,5 +137,7 @@ private static void RemoveTrustedCertificateOnMac()
136137
using var process = new Process() { StartInfo = startInfo };
137138
_ = process.Start();
138139
process.WaitForExit();
140+
141+
HasRunFlag.RemoveFlag();
139142
}
140143
}

0 commit comments

Comments
 (0)