From df9683d2df25a38c0df00442ce0452712064167a Mon Sep 17 00:00:00 2001 From: Timo Ley Date: Sun, 27 Feb 2022 19:41:39 +0000 Subject: [PATCH] Add execute as unstable feature --- docs/concepts/install.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/concepts/install.md b/docs/concepts/install.md index 3fa34f5..3bd7d12 100644 --- a/docs/concepts/install.md +++ b/docs/concepts/install.md @@ -36,6 +36,18 @@ In contrast to libraries, `inject` will not add that file to the classpath, but will also overwrite classes, which are already contained in the game jar, if they are also in injected file. +### execute + +args: + +- `[location]` +- `[jar arguments]` + +`execute` can be used with an executable jar file. The jar file will be executed with the given arguments and +the given location as working directory. A client should inform the user before just executing the file and +ask them for permission to do so and/or it should execute the jar in a closed environment like a container +to prevent malicous code from running. + ### launch `launch` can be used to mark the selected file as the launch file for a specific side. Files having this