Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -32,9 +32,9 @@ def check_dotnet_installed():
|
|
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):
|
|
|
32 |
def install_dotnet():
|
33 |
print("Installing .NET SDK...")
|
34 |
|
35 |
+
subprocess.run(["sudo", "apt-get", "update"], check=True, shell=True)
|
36 |
+
subprocess.run(["sudo", "apt-get", "install", "-y", "dotnet-sdk-8.0"], check=True, shell=True)
|
37 |
+
subprocess.run(["sudo", "apt-get", "install", "-y", "dotnet-runtime-8.0"], check=True, shell=True)
|
38 |
|
39 |
print(".NET SDK has been installed.")
|
40 |
def compile(cs):
|