diff --git a/README.md b/README.md index f0e19970..84cc3540 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Demo database resets every hour. A lot of features are disabled for obvious reas - Teamviewer-like remote desktop control - Real-time remote shell - Remote file browser (download and upload files) -- Remote command and script execution (batch, powershell and python scripts) +- Remote command and script execution (batch, powershell, python, nushell and deno scripts) - Event log viewer - Services management - Windows patch management diff --git a/api/tacticalrmm/scripts/views.py b/api/tacticalrmm/scripts/views.py index ddd48a0f..8bf30ad9 100644 --- a/api/tacticalrmm/scripts/views.py +++ b/api/tacticalrmm/scripts/views.py @@ -190,6 +190,10 @@ def download(request, pk): ext = ".py" case ScriptShell.SHELL: ext = ".sh" + case ScriptShell.NUSHELL: + ext = ".nu" + case ScriptShell.DENO: + ext = ".ts" case _: ext = "" diff --git a/api/tacticalrmm/tacticalrmm/constants.py b/api/tacticalrmm/tacticalrmm/constants.py index e80cf8b4..119cf7c7 100644 --- a/api/tacticalrmm/tacticalrmm/constants.py +++ b/api/tacticalrmm/tacticalrmm/constants.py @@ -131,6 +131,8 @@ class ScriptShell(models.TextChoices): CMD = "cmd", "Batch (CMD)" PYTHON = "python", "Python" SHELL = "shell", "Shell" + NUSHELL = "nushell", "Nushell" + DENO = "deno", "Deno" class ScriptType(models.TextChoices):