fix outfunc handling better

This commit is contained in:
Phantop 2024-08-19 02:00:57 -04:00
parent a9d91c3471
commit 76daa9ca27
2 changed files with 4 additions and 0 deletions

View file

@ -21,6 +21,7 @@ VER=$(curl $LINK/"$VER"/latest.version)
LINK="$LINK/$VER/dotnet-$TYPE-$VER-linux-x64.tar.gz"
ungz
script="$0"
apprun() {
export DOTNET_ROOT="$APPDIR"
case "$(basename "$ARGV0")" in
@ -32,4 +33,5 @@ esac
}
appa
script="$(which appdwarf)"
appmk

View file

@ -17,6 +17,7 @@ t=winetricks
wget -O"$DIR"/bin/$t github.com/$t/$t/raw/master/src/$t
chmod +x "$DIR"/bin/$t
script="$0"
apprun() {
export PATH="$APPDIR"/bin:"$PATH"
export LD_LIBRARY_PATH="$APPDIR"/lib64:"$APPDIR"/lib:"$LD_LIBRARY_PATH"
@ -37,4 +38,5 @@ if [ "$PREFIX" ]; then
appa
fi
script="$(which appdwarf)"
appmk