From: rnayabed Date: Tue, 09 Mar 2021 20:34:36 +0530 Subject: Updated run command action --- Updated run command action --- --- 'a/build.sh' +++ b/build.sh @@ -9,6 +9,8 @@ hotkey() { popd || exit } + + mediakey() { pushd . || exit cd mediakeyaction && mvn clean package --- 'a/runcommandaction/src/main/java/com/stream_pi/runcommandaction/RunCommandAction.java' +++ b/runcommandaction/src/main/java/com/stream_pi/runcommandaction/RunCommandAction.java @@ -14,8 +14,8 @@ public class RunCommandAction extends No setCategory("Essentials"); setAuthor("rnayabed"); setServerButtonGraphic("fas-terminal"); - setHelpLink("https://github.com/Stream-Pi/EssentialActions"); - setVersion(new Version(1,1,0)); + setHelpLink("https://github.com/stream-pi/essentialactions/tree/master/runcommandaction"); + setVersion(new Version(1,1,1)); } @Override @@ -47,6 +47,6 @@ public class RunCommandAction extends No private void runCommand(String command) throws Exception { Runtime rt = Runtime.getRuntime(); - Process pr = rt.exec(command); + rt.exec(command); } }