Fixed run script to support new Steam compat wrappers. #187
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |