#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)

. /etc/profile
oe_setup_addon tools.dotnet-runtime

DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="1" \
LD_LIBRARY_PATH="$ADDON_DIR/libs:$LD_LIBRARY_PATH" \
dotnet "$@"
