Small fixes

This commit is contained in:
crschnick 2024-05-02 20:19:14 +00:00
parent 366a6e74e7
commit 3bc1dc6cad
3 changed files with 8 additions and 5 deletions

View file

@ -304,7 +304,12 @@ public final class OpenFileSystemModel extends BrowserSessionTab<FileSystemStore
BooleanScope.executeExclusive(busy, () -> { BooleanScope.executeExclusive(busy, () -> {
if (dir != null) { if (dir != null) {
startIfNeeded(); startIfNeeded();
var stream = getFileSystem().listFiles(dir); var fs = getFileSystem();
if (fs == null) {
return;
}
var stream = fs.listFiles(dir);
consumer.accept(stream); consumer.accept(stream);
} else { } else {
consumer.accept(Stream.of()); consumer.accept(Stream.of());

View file

@ -95,10 +95,10 @@ project.ext {
productName = isStage ? 'XPipe PTB' : 'XPipe' productName = isStage ? 'XPipe PTB' : 'XPipe'
kebapProductName = isStage ? 'xpipe-ptb' : 'xpipe' kebapProductName = isStage ? 'xpipe-ptb' : 'xpipe'
publisher = 'XPipe UG (haftungsbeschränkt)' publisher = 'XPipe UG (haftungsbeschränkt)'
shortDescription = 'Your entire server infrastructure at your fingertips' shortDescription = isStage ? 'XPipe PTB (Public Test Build)' : 'Your entire server infrastructure at your fingertips'
longDescription = 'XPipe is a new type of shell connection hub and remote file manager that allows you to access your entire server infrastructure from your local machine. It works on top of your installed command-line programs that you normally use to connect and does not require any setup on your remote systems.' longDescription = 'XPipe is a new type of shell connection hub and remote file manager that allows you to access your entire server infrastructure from your local machine. It works on top of your installed command-line programs that you normally use to connect and does not require any setup on your remote systems.'
website = 'https://xpipe.io' website = 'https://xpipe.io'
sourceWebsite = 'https://github.com/xpipe-io/xpipe' sourceWebsite = isStage ? 'https://github.com/xpipe-io/xpipe-ptb' : 'https://github.com/xpipe-io/xpipe'
authors = 'Christopher Schnick' authors = 'Christopher Schnick'
javafxVersion = '22.0.1' javafxVersion = '22.0.1'
platformName = getPlatformName() platformName = getPlatformName()

View file

@ -447,7 +447,5 @@ retryAll=Retry all
replace=Replace replace=Replace
replaceAll=Replace all replaceAll=Replace all
copyPassword=copyPassword copyPassword=copyPassword
#force
#context: when computer sleeps
lockVaultOnHibernation=Lock vault on computer hibernation lockVaultOnHibernation=Lock vault on computer hibernation
lockVaultOnHibernationDescription=When enabled, the vault will automatically be locked once your computer is put into hibernation/to sleep. Upon wake up, you will have to enter your vault passphrase again. lockVaultOnHibernationDescription=When enabled, the vault will automatically be locked once your computer is put into hibernation/to sleep. Upon wake up, you will have to enter your vault passphrase again.