mirror of
https://github.com/Phantop/appdwarf.git
synced 2025-01-09 05:37:04 +00:00
11 lines
357 B
Plaintext
11 lines
357 B
Plaintext
|
#!/bin/bash
|
||
|
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||
|
DIR=/tmp/appdwarf/dotnet
|
||
|
mkdir -p $DIR
|
||
|
VER=$(curl https://dotnetcli.azureedge.net/dotnet/Runtime/LTS/latest.version)
|
||
|
curl https://dotnetcli.azureedge.net/dotnet/Runtime/$VER/dotnet-runtime-$VER-linux-x64.tar.gz | tar xz -C$DIR
|
||
|
ln -s dotnet $DIR/AppRun
|
||
|
appdwarf $DIR
|
||
|
mv $DIR.sh dotnet
|
||
|
rm -rf $DIR
|