Skip to content

Commit 3cb28d1

Browse files
committed
Potential fix for AppVeyor not deleting directories for BrowserBookmark plugin
1 parent 28ec03c commit 3cb28d1

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/Flow.Launcher.Plugin.BrowserBookmark.csproj

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,26 @@
3636
<Prefer32Bit>false</Prefer32Bit>
3737
</PropertyGroup>
3838

39-
<Target Name="RemoveUnnecessaryRuntimes" AfterTargets="Publish">
39+
<Target Name="RemoveUnnecessaryRuntimesAfterBuild" AfterTargets="Build">
40+
<RemoveDir Directories="$(OutputPath)runtimes\browser-wasm;
41+
$(OutputPath)runtimes\linux-arm;
42+
$(OutputPath)runtimes\linux-arm64;
43+
$(OutputPath)runtimes\linux-armel;
44+
$(OutputPath)runtimes\linux-mips64;
45+
$(OutputPath)runtimes\linux-musl-arm;
46+
$(OutputPath)runtimes\linux-musl-arm64;
47+
$(OutputPath)runtimes\linux-musl-x64;
48+
$(OutputPath)runtimes\linux-ppc64le;
49+
$(OutputPath)runtimes\linux-s390x;
50+
$(OutputPath)runtimes\linux-x64;
51+
$(OutputPath)runtimes\linux-x86;
52+
$(OutputPath)runtimes\maccatalyst-arm64;
53+
$(OutputPath)runtimes\maccatalyst-x64;
54+
$(OutputPath)runtimes\osx-arm64;
55+
$(OutputPath)runtimes\osx-x64"/>
56+
</Target>
57+
58+
<Target Name="RemoveUnnecessaryRuntimesAfterDeploy" AfterTargets="Deploy">
4059
<RemoveDir Directories="$(PublishDir)runtimes\browser-wasm;
4160
$(PublishDir)runtimes\linux-arm;
4261
$(PublishDir)runtimes\linux-arm64;

0 commit comments

Comments
 (0)