mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[Run] remove KillPowerLauncher pre-build event (#9167)
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Target Name="KillPowerLauncher" BeforeTargets="PreBuildEvent;BeforeClean">
|
||||
<Message Text="Killing process 'PowerLauncher.exe'" Importance="normal" ContinueOnError="false" />
|
||||
<Exec Command="tasklist /FI "IMAGENAME eq PowerLauncher.exe" 2>NUL | find /I /N "PowerLauncher.exe">NUL 
 if %25ERRORLEVEL%25==0 ( taskkill /f /im PowerLauncher.exe )"
|
||||
IgnoreExitCode="true">
|
||||
<Output TaskParameter="ExitCode" PropertyName="ErrorCode"/>
|
||||
</Exec>
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user