mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1484] Feature Request: Add language version to scripting system #925
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#925
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NiceGuyIT on GitHub (Apr 15, 2023).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1484
Is your feature request related to a problem? Please describe.
Some languages interpret the entire file before executing, and thus will fail if the script uses something in a later version of the language. Because of this, the script cannot detect if it's compatible and produce a friendly error message. Instead, it just errors out.
Describe the solution you'd like
It would be nice if the Tactical scripting system had a field that represents the minimum language version the script supports. For example, if a script uses PowerShell 7, then Tactical should generate an suitable error message when the script is run on a system that doesn't have PowerShell 7.
Describe alternatives you've considered
Some languages can't use conditionals to "use" keywords implemented in a later version of the language.
Additional context
Related to issue #1470.