Skip to content

Commit

Permalink
Merge pull request #771 from slxdy/metadata-versioning
Browse files Browse the repository at this point in the history
Workflow Versions
  • Loading branch information
HerpDerpinstine authored Oct 20, 2024
2 parents b6d35c7 + f05c252 commit 3c26264
Show file tree
Hide file tree
Showing 43 changed files with 362 additions and 766 deletions.
364 changes: 172 additions & 192 deletions .github/workflows/build.yml

Large diffs are not rendered by default.

26 changes: 0 additions & 26 deletions .github/workflows/nuget.yml

This file was deleted.

6 changes: 1 addition & 5 deletions Dependencies/CompatibilityLayers/Demeo/Demeo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@
<PropertyGroup>
<RootNamespace>MelonLoader.CompatibilityLayers</RootNamespace>
<TargetFramework>net472</TargetFramework>
<LangVersion>Latest</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(SolutionDir)Output\$(Configuration)\MelonLoader\Dependencies\CompatibilityLayers\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\MelonLoader\MelonLoader.csproj" Private="false" />
<PackageReference Include="HarmonyX" Version="2.10.2">
<ExcludeAssets>Runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="HarmonyX" Version="2.10.2" ExcludeAssets="Runtime" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions Dependencies/CompatibilityLayers/Demeo/Module.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
using System.Reflection;
using MelonLoader.Modules;

[assembly: MelonLoader.PatchShield]

namespace MelonLoader.CompatibilityLayers
{
internal class Demeo_Module : MelonModule
Expand Down
13 changes: 0 additions & 13 deletions Dependencies/CompatibilityLayers/Demeo/Properties/AssemblyInfo.cs

This file was deleted.

2 changes: 0 additions & 2 deletions Dependencies/CompatibilityLayers/IPA/IPA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
<PropertyGroup>
<RootNamespace>MelonLoader.CompatibilityLayers</RootNamespace>
<TargetFramework>net35</TargetFramework>
<LangVersion>Latest</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(SolutionDir)Output\$(Configuration)\MelonLoader\Dependencies\CompatibilityLayers\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
2 changes: 2 additions & 0 deletions Dependencies/CompatibilityLayers/IPA/Module.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
using MelonLoader.Modules;
using MelonLoader.Resolver;

[assembly: MelonLoader.PatchShield]

namespace MelonLoader.CompatibilityLayers
{
internal class IPA_Module : MelonModule
Expand Down
13 changes: 0 additions & 13 deletions Dependencies/CompatibilityLayers/IPA/Properties/AssemblyInfo.cs

This file was deleted.

2 changes: 2 additions & 0 deletions Dependencies/CompatibilityLayers/Muse_Dash_Mono/Module.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
using ModHelper;
using MelonLoader.Resolver;

[assembly: MelonLoader.PatchShield]

namespace MelonLoader.CompatibilityLayers
{
internal class Muse_Dash_Mono_Module : MelonModule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
<PropertyGroup>
<RootNamespace>MelonLoader.CompatibilityLayers</RootNamespace>
<TargetFramework>net35</TargetFramework>
<LangVersion>Latest</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(SolutionDir)Output\$(Configuration)\MelonLoader\Dependencies\CompatibilityLayers\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using MelonLoader.Modules;
using System.Collections.Generic;

[assembly: MelonLoader.PatchShield]

namespace MelonLoader.CompatibilityLayers
{
internal class SLZ_Module : MelonModule
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
<PropertyGroup>
<RootNamespace>MelonLoader.CompatibilityLayers</RootNamespace>
<TargetFramework>net472</TargetFramework>
<LangVersion>Latest</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(SolutionDir)Output\$(Configuration)\MelonLoader\Dependencies\CompatibilityLayers\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand All @@ -17,9 +15,9 @@
<DefineConstants />
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\MelonLoader\MelonLoader.csproj">
<Private>false</Private>
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
</ProjectReference>
<ProjectReference Include="..\..\..\MelonLoader\MelonLoader.csproj">
<Private>false</Private>
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
</ProjectReference>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
<PropertyGroup>
<RootNamespace>MelonLoader.Il2CppAssemblyGenerator</RootNamespace>
<TargetFramework>net6</TargetFramework>
<LangVersion>Latest</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(SolutionDir)Output\$(Configuration)\MelonLoader\Dependencies\Il2CppAssemblyGenerator\</OutputPath>
Expand Down
12 changes: 0 additions & 12 deletions Dependencies/Il2CppAssemblyGenerator/Properties/AssemblyInfo.cs

This file was deleted.

47 changes: 23 additions & 24 deletions Dependencies/MelonStartScreen/MelonStartScreen.csproj
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<RootNamespace>MelonLoader.MelonStartScreen</RootNamespace>
<TargetFrameworks>net35;net6</TargetFrameworks>
<LangVersion>Latest</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<OutputPath>$(SolutionDir)Output\$(Configuration)\MelonLoader\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Loading_Lemon.dat" />
<EmbeddedResource Include="Resources\Loading_Melon.dat" />
<EmbeddedResource Include="Resources\Logo_Lemon.dat" />
<EmbeddedResource Include="Resources\Logo_Melon.dat" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MelonLoader\MelonLoader.csproj" Private="false" />
<PackageReference Include="AssetRipper.VersionUtilities" Version="1.5.0" ExcludeAssets="Runtime" />
<PackageReference Include="Samboy063.Tomlet" Version="5.4.0">
<ExcludeAssets>Runtime</ExcludeAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<RootNamespace>MelonLoader.MelonStartScreen</RootNamespace>
<TargetFrameworks>net35;net6</TargetFrameworks>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<OutputPath>$(SolutionDir)Output\$(Configuration)\MelonLoader\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Loading_Lemon.dat" />
<EmbeddedResource Include="Resources\Loading_Melon.dat" />
<EmbeddedResource Include="Resources\Logo_Lemon.dat" />
<EmbeddedResource Include="Resources\Logo_Melon.dat" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MelonLoader\MelonLoader.csproj" Private="false" />
<PackageReference Include="AssetRipper.VersionUtilities" Version="1.5.0"
ExcludeAssets="Runtime" />
<PackageReference Include="Samboy063.Tomlet" Version="5.4.0">
<ExcludeAssets>Runtime</ExcludeAssets>
</PackageReference>
</ItemGroup>
</Project>
12 changes: 0 additions & 12 deletions Dependencies/MelonStartScreen/Properties/AssemblyInfo.cs

This file was deleted.

26 changes: 11 additions & 15 deletions Dependencies/SupportModules/Il2Cpp/Il2Cpp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,16 @@
<PropertyGroup>
<RootNamespace>MelonLoader.Support</RootNamespace>
<TargetFramework>net6</TargetFramework>
<LangVersion>Latest</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<OutputPath>$(SolutionDir)Output\$(Configuration)\MelonLoader\Dependencies\SupportModules\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>embedded</DebugType>
<DefineConstants>SM_Il2Cpp</DefineConstants>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

<RestoreAdditionalProjectSources>
https://nuget.bepinex.dev/v3/index.json
</RestoreAdditionalProjectSources>
<RestoreAdditionalProjectSources>https://nuget.bepinex.dev/v3/index.json</RestoreAdditionalProjectSources>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Libs\**" />
<EmbeddedResource Remove="Libs\**" />
<None Remove="Libs\**" />
</ItemGroup>
<ItemGroup>
<Reference Include="Il2Cppmscorlib">
<HintPath>Libs\Il2Cppmscorlib.dll</HintPath>
Expand All @@ -44,13 +35,18 @@
<ItemGroup>
<ProjectReference Include="..\..\..\MelonLoader\MelonLoader.csproj" Private="false" />
<PackageReference Include="HarmonyX" Version="2.10.2" ExcludeAssets="Runtime" />
<PackageReference Include="AssetRipper.VersionUtilities" Version="1.5.0" ExcludeAssets="Runtime" />
<PackageReference Include="AssetRipper.VersionUtilities" Version="1.5.0"
ExcludeAssets="Runtime" />
<PackageReference Include="Iced" Version="1.21.0" ExcludeAssets="Runtime" />
<PackageReference Include="Il2CppInterop.Common" Version="1.4.6-ci.579" ExcludeAssets="Runtime" />
<PackageReference Include="Il2CppInterop.Runtime" Version="1.4.6-ci.579" ExcludeAssets="Runtime" />
<PackageReference Include="Il2CppInterop.HarmonySupport" Version="1.4.6-ci.579" ExcludeAssets="Runtime" />
<PackageReference Include="Il2CppInterop.Common" Version="1.4.6-ci.579"
ExcludeAssets="Runtime" />
<PackageReference Include="Il2CppInterop.Runtime" Version="1.4.6-ci.579"
ExcludeAssets="Runtime" />
<PackageReference Include="Il2CppInterop.HarmonySupport" Version="1.4.6-ci.579"
ExcludeAssets="Runtime" />
<PackageReference Include="Mono.Cecil" Version="0.11.5" ExcludeAssets="Runtime" />
<PackageReference Include="MonoMod.RuntimeDetour" Version="22.7.31.1" ExcludeAssets="Runtime" />
<PackageReference Include="MonoMod.RuntimeDetour" Version="22.7.31.1"
ExcludeAssets="Runtime" />
<PackageReference Include="MonoMod.Utils" Version="22.7.31.1" ExcludeAssets="Runtime" />
<PackageReference Include="Samboy063.Tomlet" Version="5.4.0" ExcludeAssets="Runtime" />
</ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions Dependencies/SupportModules/Il2Cpp/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
using MelonLoader.Utils;
using System.IO;

[assembly: MelonLoader.PatchShield]

#pragma warning disable CS0618 // Type or member is obsolete

namespace MelonLoader.Support
Expand Down
13 changes: 0 additions & 13 deletions Dependencies/SupportModules/Il2Cpp/Properties/AssemblyInfo.cs

This file was deleted.

2 changes: 2 additions & 0 deletions Dependencies/SupportModules/Mono/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
using MelonLoader.Support.Preferences;
using UnityEngine;

[assembly: MelonLoader.PatchShield]

namespace MelonLoader.Support
{
internal static class Main
Expand Down
Loading

0 comments on commit 3c26264

Please sign in to comment.