mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-03 19:30:31 +00:00
Fix system-wide check
This commit is contained in:
@@ -114,7 +114,7 @@ public class ChocoUpdater extends UpdateHandler {
|
||||
AppCache.update("performedUpdate", performedUpdate);
|
||||
OperationMode.executeAfterShutdown(() -> {
|
||||
var systemWide =
|
||||
!Files.exists(XPipeInstallation.getCurrentInstallationBasePath().resolve("system"));
|
||||
Files.exists(XPipeInstallation.getCurrentInstallationBasePath().resolve("system"));
|
||||
var propertiesArguments = systemWide ? ", --install-arguments=`\"'ALLUSERS=1'`\"" : "";
|
||||
TerminalLauncher.openDirectFallback("XPipe Updater", sc -> {
|
||||
var pkg = "xpipe";
|
||||
|
||||
Reference in New Issue
Block a user