Skip to content

Commit 058158e

Browse files
committed
try appending runtimeidentifier instead of removing unused runtimes
1 parent 87bca71 commit 058158e

File tree

1 file changed

+1
-38
lines changed

1 file changed

+1
-38
lines changed

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

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1212
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1313
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
14+
<RuntimeIdentifier>win</RuntimeIdentifier>
1415
<UseWindowsForms>true</UseWindowsForms>
1516
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1617
</PropertyGroup>
@@ -36,44 +37,6 @@
3637
<Prefer32Bit>false</Prefer32Bit>
3738
</PropertyGroup>
3839

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="RemoveUnnecessaryRuntimesAfterPublish" AfterTargets="Publish">
59-
<RemoveDir Directories="$(PublishDir)runtimes\browser-wasm;
60-
$(PublishDir)runtimes\linux-arm;
61-
$(PublishDir)runtimes\linux-arm64;
62-
$(PublishDir)runtimes\linux-armel;
63-
$(PublishDir)runtimes\linux-mips64;
64-
$(PublishDir)runtimes\linux-musl-arm;
65-
$(PublishDir)runtimes\linux-musl-arm64;
66-
$(PublishDir)runtimes\linux-musl-x64;
67-
$(PublishDir)runtimes\linux-ppc64le;
68-
$(PublishDir)runtimes\linux-s390x;
69-
$(PublishDir)runtimes\linux-x64;
70-
$(PublishDir)runtimes\linux-x86;
71-
$(PublishDir)runtimes\maccatalyst-arm64;
72-
$(PublishDir)runtimes\maccatalyst-x64;
73-
$(PublishDir)runtimes\osx-arm64;
74-
$(PublishDir)runtimes\osx-x64"/>
75-
</Target>
76-
7740
<ItemGroup>
7841
<None Include="plugin.json">
7942
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)