From 3bc1dc6cade326032a3fab2c6c9a713412fd289a Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 2 May 2024 20:19:14 +0000 Subject: [PATCH] Small fixes --- .../java/io/xpipe/app/browser/fs/OpenFileSystemModel.java | 7 ++++++- build.gradle | 4 ++-- lang/app/strings/translations_en.properties | 2 -- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/browser/fs/OpenFileSystemModel.java b/app/src/main/java/io/xpipe/app/browser/fs/OpenFileSystemModel.java index 878136f4..6503840f 100644 --- a/app/src/main/java/io/xpipe/app/browser/fs/OpenFileSystemModel.java +++ b/app/src/main/java/io/xpipe/app/browser/fs/OpenFileSystemModel.java @@ -304,7 +304,12 @@ public final class OpenFileSystemModel extends BrowserSessionTab { if (dir != null) { startIfNeeded(); - var stream = getFileSystem().listFiles(dir); + var fs = getFileSystem(); + if (fs == null) { + return; + } + + var stream = fs.listFiles(dir); consumer.accept(stream); } else { consumer.accept(Stream.of()); diff --git a/build.gradle b/build.gradle index 1a7f2df5..16323f9a 100644 --- a/build.gradle +++ b/build.gradle @@ -95,10 +95,10 @@ project.ext { productName = isStage ? 'XPipe PTB' : 'XPipe' kebapProductName = isStage ? 'xpipe-ptb' : 'xpipe' 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.' 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' javafxVersion = '22.0.1' platformName = getPlatformName() diff --git a/lang/app/strings/translations_en.properties b/lang/app/strings/translations_en.properties index 0b0793df..46007b67 100644 --- a/lang/app/strings/translations_en.properties +++ b/lang/app/strings/translations_en.properties @@ -447,7 +447,5 @@ retryAll=Retry all replace=Replace replaceAll=Replace all copyPassword=copyPassword -#force -#context: when computer sleeps 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.