mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Add dotnet runtime install to Linux agent install.
This commit is contained in:
parent
a1ae252d53
commit
9007df5706
@ -276,7 +276,7 @@ namespace Remotely.Agent.Services
|
||||
var whoLine = whoString.Split('\n', StringSplitOptions.RemoveEmptyEntries).First();
|
||||
var whoSplit = whoLine.Split(' ', StringSplitOptions.RemoveEmptyEntries);
|
||||
username = whoSplit[0];
|
||||
display = whoSplit[1];
|
||||
display = whoSplit.Last().Trim('(').Trim(')');
|
||||
args = $"-u {username} {args}";
|
||||
}
|
||||
var psi = new ProcessStartInfo()
|
||||
|
||||
@ -12,6 +12,16 @@ if [ "$1" = "--uninstall" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
UbuntuVersion=$(lsb_release -r -s)
|
||||
|
||||
wget -q https://packages.microsoft.com/config/ubuntu/$UbuntuVersion/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
|
||||
dpkg -i packages-microsoft-prod.deb
|
||||
apt-get update
|
||||
apt-get install apt-transport-https
|
||||
apt-get update
|
||||
apt-get install dotnet-runtime-3.1
|
||||
rm packages-microsoft-prod.deb
|
||||
|
||||
apt-get -y install unzip
|
||||
apt-get -y install libc6-dev
|
||||
apt-get -y install libgdiplus
|
||||
|
||||
@ -1,7 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo "WARNING: This script won't work until the ASP.NET Core runtime version is updated in the package manager to version 3.1.1."
|
||||
read -p "Press Enter to exit."
|
||||
exit
|
||||
echo "Thanks for trying remotely! If you have any questions, feel free to email me at Translucency_Software@outlook.com."
|
||||
echo
|
||||
read -p "Enter path where the Remotely server files are located (typically /var/www/remotely): " appRoot
|
||||
|
||||
Loading…
Reference in New Issue
Block a user