mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-23 17:56:29 +00:00
Fix local install detection
This commit is contained in:
@@ -79,10 +79,7 @@ public class AppExtensionManager {
|
||||
|
||||
private void determineExtensionDirectories() throws Exception {
|
||||
if (!AppProperties.get().isFullVersion()) {
|
||||
var localInstallation =
|
||||
!AppProperties.get().isStaging() && AppProperties.get().isLocatePtb()
|
||||
? AppInstallation.ofDefault(true)
|
||||
: AppInstallation.ofCurrent();
|
||||
var localInstallation = AppInstallation.ofDefault(AppProperties.get().isLocatePtb());
|
||||
Path p = localInstallation.getBaseInstallationPath();
|
||||
if (!Files.exists(p)) {
|
||||
throw new IllegalStateException(
|
||||
|
||||
Reference in New Issue
Block a user