From: rnayabed Date: Sun, 07 Mar 2021 10:14:53 +0530 Subject: Updated hotkey --- Updated hotkey --- --- 'a/hotkeyaction/src/main/java/com/stream_pi/hotkeyaction/HotkeyAction.java' +++ b/hotkeyaction/src/main/java/com/stream_pi/hotkeyaction/HotkeyAction.java @@ -24,8 +24,8 @@ public class HotkeyAction extends Normal setCategory("Essentials"); setAuthor("rnayabed"); setServerButtonGraphic("far-keyboard"); - setHelpLink("https://github.com/prubiella/essentialactions/tree/master/hotkeyaction/README.md"); - setVersion(new Version(1,0,0)); + setHelpLink("https://github.com/stream-pi/essentialactions/blob/master/hotkeyaction/README.md"); + setVersion(new Version(1,0,1)); } @Override @@ -57,6 +57,7 @@ public class HotkeyAction extends Normal press(keyCombination.getStringValue() .toUpperCase() .replace("?","SHIFT,/") + .replace("|","SHIFT,\\") .split(",") ); } @@ -146,8 +147,7 @@ public class HotkeyAction extends Normal case "[": return OPEN_BRACKET; case "]": return CLOSE_BRACKET; case "{": return OPEN_BRACKET; - case "}": return CLOSE_BRACKET; - case "|": return PIPE; + case "}": return CLOSE_BRACKET; case ";": return SEMICOLON; case ":": return COLON; case "\\": return BACK_SLASH; --- 'a/mediakeyaction/pom.xml' +++ b/mediakeyaction/pom.xml @@ -6,7 +6,7 @@ com.stream-pi mediakeyaction - 1.0.0 + 1.0.1 --- 'a/runcommandaction/pom.xml' +++ b/runcommandaction/pom.xml @@ -6,7 +6,7 @@ com.stream-pi runcommandaction - 1.0.0 + 1.1.0 --- 'a/runcommandaction/src/main/java/com/stream_pi/runcommandaction/RunCommandAction.java' +++ b/runcommandaction/src/main/java/com/stream_pi/runcommandaction/RunCommandAction.java @@ -15,7 +15,7 @@ public class RunCommandAction extends No setAuthor("rnayabed"); setServerButtonGraphic("fas-terminal"); setHelpLink("https://github.com/Stream-Pi/EssentialActions"); - setVersion(new Version(1,0,0)); + setVersion(new Version(1,1,0)); } @Override @@ -35,9 +35,7 @@ public class RunCommandAction extends No @Override public void onActionClicked() throws Exception { - int rv = runCommand(getClientProperties().getSingleProperty("command").getStringValue()); - - System.out.println(rv); + runCommand(getClientProperties().getSingleProperty("command").getStringValue()); } @Override @@ -46,10 +44,9 @@ public class RunCommandAction extends No } - private int runCommand(String command) throws Exception + private void runCommand(String command) throws Exception { Runtime rt = Runtime.getRuntime(); Process pr = rt.exec(command); - return pr.waitFor(); } } --- 'a/twitch/twitch-chat-connect/pom.xml' +++ b/twitch/twitch-chat-connect/pom.xml @@ -11,8 +11,8 @@ 11 11 - 1.0.0 - 1.0.0 + 1.0.0-SNAPSHOT + 1.0.0-SNAPSHOT 0.6.3 @@ -71,4 +71,4 @@ - \ No newline at end of file +