Files
oni-priority-ux/mod/build
2026-03-11 19:38:43 +01:00

20 lines
362 B
Plaintext
Executable File

#/bin/bash
ROOT=$( cd "$(dirname "$0")" ; pwd -P )
pushd $ROOT
# Do the build (need to use mono)
dotnet build -c Release
set -x
rm -rf dist
mkdir dist
# cp bin/Debug/net48/oni-prio.dll dist/
cp bin/Release/net48/oni-prio.dll dist/
cp -r meta/* dist/
MODPATH=../OxygenNotIncludedData/mods/Local/PriorityUX
rm -rf $MODPATH
mkdir -p $MODPATH
cp dist/* $MODPATH