mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Small fixes
This commit is contained in:
parent
aa95c746b9
commit
3b3f238b68
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
3
dist/debug/linux/xpiped_debug.sh
vendored
3
dist/debug/linux/xpiped_debug.sh
vendored
|
@ -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" "$@"
|
||||
|
|
Loading…
Reference in a new issue