mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Various fixes
This commit is contained in:
parent
67fd51f240
commit
fb11db6a66
6 changed files with 14 additions and 2 deletions
|
@ -9,6 +9,7 @@ public interface ShellStore extends DataStore, FileSystemStore, ValidatableStore
|
|||
default ShellControl getOrStartSession() throws Exception {
|
||||
var session = getSession();
|
||||
if (session != null) {
|
||||
session.getShellControl().refreshRunningState();
|
||||
if (!session.isRunning()) {
|
||||
stopSessionIfNeeded();
|
||||
} else {
|
||||
|
|
|
@ -178,6 +178,11 @@ public class WrapperShellControl implements ShellControl {
|
|||
return parent.prepareTerminalOpen(config, workingDirectory);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void refreshRunningState() {
|
||||
parent.refreshRunningState();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void closeStdin() throws IOException {
|
||||
parent.closeStdin();
|
||||
|
|
|
@ -37,6 +37,10 @@
|
|||
-fx-padding: 0.1em 0.2em;
|
||||
}
|
||||
|
||||
.browser .transfer .label .ikonli-font-icon {
|
||||
-fx-icon-color: -color-fg-default;
|
||||
}
|
||||
|
||||
.root.nord .transfer > * {
|
||||
-fx-background-radius: 0;
|
||||
-fx-border-radius: 0;
|
||||
|
|
|
@ -165,6 +165,6 @@
|
|||
-fx-fill: rgb(30, 180, 30, 0.7);
|
||||
}
|
||||
|
||||
.custom-text-field .font-icon, .custom-text-field .ikonli-font-icon, .label .ikonli-font-icon {
|
||||
.custom-text-field .font-icon, .custom-text-field .ikonli-font-icon {
|
||||
-fx-icon-color: -color-fg-default;
|
||||
}
|
||||
|
|
|
@ -17,6 +17,8 @@ public interface ProcessControl extends AutoCloseable {
|
|||
String prepareTerminalOpen(TerminalInitScriptConfig config, WorkingDirectoryFunction workingDirectory)
|
||||
throws Exception;
|
||||
|
||||
void refreshRunningState();
|
||||
|
||||
void closeStdin() throws IOException;
|
||||
|
||||
boolean isStdinClosed();
|
||||
|
|
2
dist/build.gradle
vendored
2
dist/build.gradle
vendored
|
@ -2,7 +2,7 @@
|
|||
plugins {
|
||||
id 'org.beryx.jlink' version '3.0.1'
|
||||
id "org.asciidoctor.jvm.convert" version "4.0.3"
|
||||
id 'org.jreleaser' version '1.14.0'
|
||||
id 'org.jreleaser' version '1.15.0'
|
||||
id("com.netflix.nebula.ospackage") version "11.10.0"
|
||||
id 'org.gradle.crypto.checksum' version '1.4.0'
|
||||
id 'signing'
|
||||
|
|
Loading…
Reference in a new issue