-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCopyHyperlink.csproj
52 lines (47 loc) · 2.5 KB
/
CopyHyperlink.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Authors>djsime1 / Zenuru</Authors>
<Product>CopyHyperlink</Product>
<Description>Adds a "Copy Link" button to the hyperlink popup</Description>
<Version>1.0.1</Version>
<Copyright>$(Authors)</Copyright>
<AssemblyVersion>$(Version)</AssemblyVersion>
<AssemblyTitle>$(Product)</AssemblyTitle>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<!--This will test for the default Steam installation paths for Resonite on Windows and Linux.-->
<PropertyGroup Condition="'$(ResonitePath)'==''">
<ResonitePath Condition="'$(OS)' == 'Windows_NT' and Exists('C:\Program Files (x86)\Steam\steamapps\common\Resonite\')">C:\Program Files (x86)\Steam\steamapps\common\Resonite\</ResonitePath>
<ResonitePath Condition="'$(OS)' != 'Windows_NT' and Exists('$(HOME)/.local/share/Steam/steamapps/common/Resonite/')">$(HOME)/.local/share/Steam/steamapps/common/Resonite/</ResonitePath>
<!--If neither path above exists, you can define your custom Resonite install directory here -->
<ResonitePath Condition="'$(ResonitePath)'==''">/Custom/Resonite/Install/Path/</ResonitePath>
</PropertyGroup>
<ItemGroup>
<Reference Include="ResoniteModLoader">
<HintPath>$(ResonitePath)Libraries\ResoniteModLoader.dll</HintPath>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(ResonitePath)0Harmony.dll</HintPath>
<HintPath Condition="Exists('$(ResonitePath)rml_libs\0Harmony.dll')">$(ResonitePath)rml_libs\0Harmony.dll</HintPath>
<HintPath Condition="Exists('$(ResonitePath)Libraries\0Harmony.dll')">$(ResonitePath)Libraries\0Harmony.dll</HintPath>
</Reference>
<Reference Include="FrooxEngine">
<HintPath>$(ResonitePath)Resonite_Data\Managed\FrooxEngine.dll</HintPath>
</Reference>
<Reference Include="Elements.Core">
<HintPath>$(ResonitePath)Resonite_Data\Managed\Elements.Core.dll</HintPath>
</Reference>
<Reference Include="Elements.Assets">
<HintPath>$(ResonitePath)Resonite_Data\Managed\Elements.Assets.dll</HintPath>
</Reference>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(OutDir)$(TargetFileName)" DestinationFolder="$(ResonitePath)rml_mods" />
<Message Text="Copied $(TargetFileName) to $(GamePath)rml_mods" Importance="high" />
</Target>
</Project>