mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-23 09:46:36 +00:00
Small fixes
This commit is contained in:
@@ -152,7 +152,8 @@ public interface ExternalTerminalType extends PrefsChoiceValue {
|
||||
@Override
|
||||
public void launch(String name, String command) throws Exception {
|
||||
var custom = AppPrefs.get().customTerminalCommand().getValue();
|
||||
if (custom == null || custom.trim().isEmpty()) {
|
||||
if (custom == null || custom.isBlank()) {
|
||||
ErrorEvent.fromMessage("No custom terminal command specified").reportable(false).handle();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ package io.xpipe.core.util;
|
||||
|
||||
import io.xpipe.core.charsetter.NewLine;
|
||||
import io.xpipe.core.process.OsType;
|
||||
import io.xpipe.core.process.ShellDialects;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.io.StringWriter;
|
||||
@@ -104,7 +103,6 @@ public class Deobfuscator {
|
||||
return false;
|
||||
}
|
||||
|
||||
var t = ShellDialects.getPlatformDefault();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+2
-1
@@ -2,5 +2,6 @@
|
||||
|
||||
DIR="${0%/*}"
|
||||
EXTRA_ARGS=(JVM-ARGS)
|
||||
export CDS_JVM_OPTS="${EXTRA_ARGS[*]}"
|
||||
|
||||
"$DIR/../lib/runtime/bin/xpiped" "${EXTRA_ARGS[@]}" "$@"
|
||||
"$DIR/../lib/runtime/bin/xpiped" "$@"
|
||||
|
||||
Reference in New Issue
Block a user