asynchronousai commited on
Commit
e058145
·
verified ·
1 Parent(s): 0d2fbdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -32,11 +32,9 @@ def check_dotnet_installed():
32
  def install_dotnet():
33
  print("Installing .NET SDK...")
34
 
35
- subprocess.run(["wget", "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb", "-O", "packages-microsoft-prod.deb"], check=True)
36
- subprocess.run(["sudo", "dpkg", "-i", "packages-microsoft-prod.deb"], check=True)
37
-
38
  subprocess.run(["sudo", "apt-get", "update"], check=True)
39
  subprocess.run(["sudo", "apt-get", "install", "-y", "dotnet-sdk-8.0"], check=True)
 
40
 
41
  print(".NET SDK has been installed.")
42
  def compile(cs):
 
32
  def install_dotnet():
33
  print("Installing .NET SDK...")
34
 
 
 
 
35
  subprocess.run(["sudo", "apt-get", "update"], check=True)
36
  subprocess.run(["sudo", "apt-get", "install", "-y", "dotnet-sdk-8.0"], check=True)
37
+ subprocess.run(["sudo", "apt-get", "install", "-y", "dotnet-runtime-8.0"], check=True)
38
 
39
  print(".NET SDK has been installed.")
40
  def compile(cs):