summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer/assets/unix-install.sh
blob: 07df4e6c1af3199a0f6dcdb79fb395c52618707e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# Move to script's directory
cd "`dirname "$0"`"

# make sure .NET 5 is installed
if ! command -v dotnet >/dev/null 2>&1; then
    echo "Oops! You must have .NET 5 installed to use SMAPI: https://dotnet.microsoft.com/download";
    read
    exit 1
fi

# run installer
dotnet internal/unix/SMAPI.Installer.dll