mirror of
https://github.com/Jacobwasbeast/LegacyWeaveLoader.git
synced 2026-09-23 10:03:36 +00:00
Rebrand LegacyForge to Weave Loader
Rename across entire codebase: - LegacyForge -> WeaveLoader (identifiers, namespaces, classes, DLLs) - LegacyForgeRuntime -> WeaveLoaderRuntime (C++ project) - LegacyForge.API/Core/Launcher -> WeaveLoader.API/Core/Launcher (C# projects) - [LegacyForge] -> [WeaveLoader] (log prefixes) - legacyforge -> weaveloader (config files, log files, backup suffixes) - Display name "Weave Loader" in README, CONTRIBUTING, LICENSE
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>WeaveLoader.Launcher</RootNamespace>
|
||||
<AssemblyName>WeaveLoader</AssemblyName>
|
||||
<Description>WeaveLoader launcher - injects the mod loader runtime into Minecraft Legacy Edition</Description>
|
||||
<Version>1.0.0</Version>
|
||||
<OutputPath>..\build</OutputPath>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Build the C++ runtime DLL via CMake before the launcher -->
|
||||
<Target Name="BuildNativeRuntime" BeforeTargets="Build">
|
||||
<Message Importance="high" Text="[WeaveLoader] Configuring C++ runtime with CMake..." />
|
||||
<Exec Command="cmake -B "$(MSBuildThisFileDirectory)..\WeaveLoaderRuntime\build" -S "$(MSBuildThisFileDirectory)..\WeaveLoaderRuntime" -A x64"
|
||||
WorkingDirectory="$(MSBuildThisFileDirectory)..\WeaveLoaderRuntime" />
|
||||
<Message Importance="high" Text="[WeaveLoader] Building C++ runtime..." />
|
||||
<Exec Command="cmake --build "$(MSBuildThisFileDirectory)..\WeaveLoaderRuntime\build" --config $(Configuration)"
|
||||
WorkingDirectory="$(MSBuildThisFileDirectory)..\WeaveLoaderRuntime" />
|
||||
</Target>
|
||||
|
||||
<!-- Copy the runtimeconfig.json to the build output -->
|
||||
<Target Name="CopyRuntimeConfig" AfterTargets="Build">
|
||||
<Copy SourceFiles="$(MSBuildThisFileDirectory)..\WeaveLoader.Core\WeaveLoader.Core.runtimeconfig.json"
|
||||
DestinationFolder="$(OutputPath)"
|
||||
SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user