Skip to content

Moved preloader/harmony logging formatting outside of the critical se… #175

Moved preloader/harmony logging formatting outside of the critical se…

Moved preloader/harmony logging formatting outside of the critical se… #175

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/mod-builder.yml
with:
checkout-directory: 'ModTek'
build-script: |
dotnet build --verbosity normal --configuration Release -p:BattleTechGameDir="$BATTLETECH_DIR"
cd "$BATTLETECH_DIR"
rm -fr "BattleTech_Data/"
find . -type f -printf "%m:%p\n"
# set permissions and also check if files exist (chmod 644)
chmod 755 run.sh
chmod 644 winhttp.dll
chmod 644 Mods/ModTek/lib/*.dll
7z a -tzip -mx9 "$DIST_DIR/ModTek.zip" -ir!.
release-notes: |
> **Note**
> **ModTekInjector.exe was replaced by [UnityDoorstop](https://github.com/NeighTools/UnityDoorstop)**.
> Injectors must not be run manually, that is now done by the `ModTekPreloader` automatically during the games startup.
ModTek.zip contains the ModTek tools. Unzip the contents into your game's location, so that `winhttp.dll` appears in the same folder as `BattleTech.exe`.
See [Changes](https://github.com/BattletechModders/ModTek/blob/master/CHANGES.md) and [Readme](https://github.com/BattletechModders/ModTek/blob/master/README.md).
secrets: inherit