Skip to content

Commit

Permalink
Updated HarmonyX
Browse files Browse the repository at this point in the history
  • Loading branch information
CptMoore committed Jan 13, 2025
1 parent 6d70897 commit dc9097e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,8 @@ jobs:
cd -
dotnet clean --verbosity normal --configuration Release -p:BattleTechGameDir="$btdir"
}
mkdir ~/ModTekNuPackages
dotnet nuget add source --name ModTek ~/ModTekNuPackages
# dotnet nuget remove source ModTek
curl -OL https://github.com/BattletechModders/HarmonyX/releases/download/latest/HarmonyX.2.13.0-modtek-1.nupkg
dotnet nuget push --source ModTek HarmonyX.2.13.0-modtek-1.nupkg
rm HarmonyX.2.13.0-modtek-1.nupkg
# dotnet add ModTek.Preloader package HarmonyX -v 2.13.0-modtek-1 --source ModTek
BATTLETECH_DIR_OLD_HARMONY="${BATTLETECH_DIR}oldharmony"
cp -a "$BATTLETECH_DIR" "$BATTLETECH_DIR_OLD_HARMONY"
build_modtek "$BATTLETECH_DIR" "ModTek.zip"
#OLD_HARMONYX_VERSION="2.10.2"
#sed -i -r -e 's/Include="HarmonyX" Version="[^"]+?"/Include="HarmonyX" Version="'$OLD_HARMONYX_VERSION'"/g' Directory.Packages.props
#build_modtek "$BATTLETECH_DIR_OLD_HARMONY" "ModTek-old-HarmonyX-${OLD_HARMONYX_VERSION}.zip"
release-notes: |
> **Note**
> **ModTekInjector.exe was replaced by [UnityDoorstop](https://github.com/NeighTools/UnityDoorstop)**.
Expand Down
3 changes: 2 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.12.6" />
<PackageVersion Include="Krafs.Publicizer" Version="2.3.0" />
<PackageVersion Include="GitVersion.MsBuild" Version="5.12.0" />
<PackageVersion Include="HarmonyX" Version="2.13.0-modtek-1" />
<PackageVersion Include="HarmonyX" Version="2.14.0" />
<PackageVersion Include="Mono.Cecil" Version="[0.11.6,)" />
<PackageVersion Include="PolySharp" Version="1.15.0" />
</ItemGroup>
</Project>

0 comments on commit dc9097e

Please sign in to comment.