更新星尘发布脚本,自动检测并安装net7运行时
大石头 authored at 2023-02-19 00:03:25
222.00 B
Stardust

#!/bin/bash

echo "Install Stardust on Linux"

if [ ! -d "/usr/share/dotnet/" ]; then
	curl https://x.newlifex.com/dotnet/net7-x64.sh | sudo bash
fi

sudo dotnet agent\StarAgent.dll -install -server http://127.0.0.1:6600