Remove custom commands and fix libappindicator3sharpglue-x.so

This commit is contained in:
Melon 2021-03-23 22:26:01 +00:00
parent 337fb5b78f
commit b05cce4fd7

View File

@ -19,15 +19,6 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget> <PlatformTarget>x86</PlatformTarget>
<CustomCommands>
<CustomCommands>
<Command>
<type>AfterBuild</type>
<command>cp "${SolutionDir}/MelonVPNClient/net-libs/libappindicator3sharpglue-12.10.0.so" "${TargetDir}/libappindicator3sharpglue-12.10.0.so"</command>
<workingdir>${SolutionDir}</workingdir>
</Command>
</CustomCommands>
</CustomCommands>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<Optimize>true</Optimize> <Optimize>true</Optimize>
@ -35,15 +26,6 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget> <PlatformTarget>x86</PlatformTarget>
<CustomCommands>
<CustomCommands>
<Command>
<type>AfterBuild</type>
<command>rm appindicator3-sharp.dll</command>
<workingdir>${TargetDir}</workingdir>
</Command>
</CustomCommands>
</CustomCommands>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System" /> <Reference Include="System" />
@ -121,6 +103,14 @@
<None Include="MelonVPNDesktopIcon.png"> <None Include="MelonVPNDesktopIcon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
<None Include="net-libs\libnotify.net.dll" />
<None Include="net-libs\appindicator3-sharp.dll" />
<None Include="net-libs\Newtonsoft.Json.dll" />
<None Include="net-libs\libappindicator3sharpglue-12.10.0.so">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>libappindicator3sharpglue-12.10.0.so</Link>
</None>
<None Include="net-libs\Newtonsoft.Json.xml" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project> </Project>