From 9055b56c3d2c6ae65833e086b761928e15ebb615 Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 20 Nov 2024 10:04:29 +0000 Subject: [PATCH] Fix updater [release] --- .../io/xpipe/app/update/AppInstaller.java | 9 ++-- .../app/update/UpdateChangelogAlert.java | 2 +- .../java/io/xpipe/app/util/Hyperlinks.java | 1 + dist/changelogs/13.1.1.md | 47 +++++++++++++++++++ dist/changelogs/13.1.1_incremental.md | 9 ++++ version | 2 +- 6 files changed, 64 insertions(+), 6 deletions(-) create mode 100644 dist/changelogs/13.1.1.md create mode 100644 dist/changelogs/13.1.1_incremental.md diff --git a/app/src/main/java/io/xpipe/app/update/AppInstaller.java b/app/src/main/java/io/xpipe/app/update/AppInstaller.java index 0f2712d06..b278fba5a 100644 --- a/app/src/main/java/io/xpipe/app/update/AppInstaller.java +++ b/app/src/main/java/io/xpipe/app/update/AppInstaller.java @@ -136,18 +136,19 @@ public class AppInstaller { } private String getPowershellCommand(String file, String logFile, String exec, boolean systemWide) { - var args = systemWide ? "ALLUSERS=1" : ""; + var property = systemWide ? " ALLUSERS=1" : ""; + var startProcessProperty = systemWide ? ", ALLUSERS=1" : ""; return String.format( """ echo Installing %s ... cd "$env:HOMEDRIVE\\$env:HOMEPATH" - echo '+ msiexec /i "%s" /lv "%s" /qb %s' - Start-Process msiexec -Wait -ArgumentList "/i", "`"%s`"", "/lv", "`"%s`"", "/qb", %s + echo '+ msiexec /i "%s" /lv "%s" /qb%s' + Start-Process msiexec -Wait -ArgumentList "/i", "`"%s`"", "/lv", "`"%s`"", "/qb"%s echo 'Starting XPipe ...' echo '+ "%s"' Start-Process -FilePath "%s" """, - file, file, logFile, args, file, logFile, args, exec, exec); + file, file, logFile, property, file, logFile, startProcessProperty, exec, exec); } } diff --git a/app/src/main/java/io/xpipe/app/update/UpdateChangelogAlert.java b/app/src/main/java/io/xpipe/app/update/UpdateChangelogAlert.java index 033ba5d6f..d58d74619 100644 --- a/app/src/main/java/io/xpipe/app/update/UpdateChangelogAlert.java +++ b/app/src/main/java/io/xpipe/app/update/UpdateChangelogAlert.java @@ -26,7 +26,7 @@ public class UpdateChangelogAlert { Note that you can also install the latest version manually from %s if there are any problems with the automatic update installation. """ - .formatted(Hyperlinks.GITHUB + "/releases/latest")) + .formatted(Hyperlinks.GITHUB_LATEST)) .handle(); return; } diff --git a/app/src/main/java/io/xpipe/app/util/Hyperlinks.java b/app/src/main/java/io/xpipe/app/util/Hyperlinks.java index 0db1996d1..13e190098 100644 --- a/app/src/main/java/io/xpipe/app/util/Hyperlinks.java +++ b/app/src/main/java/io/xpipe/app/util/Hyperlinks.java @@ -8,6 +8,7 @@ public class Hyperlinks { public static final String AGENT_SETUP = "https://docs.xpipe.io/ssh-agent-socket"; public static final String GITHUB = "https://github.com/xpipe-io/xpipe?ref=xpipe.app"; public static final String GITHUB_PTB = "https://github.com/xpipe-io/xpipe-ptb?ref=xpipe.app"; + public static final String GITHUB_LATEST = "https://github.com/xpipe-io/xpipe/releases/latest"; public static final String PRIVACY = "https://docs.xpipe.io/privacy-policy"; public static final String EULA = "https://docs.xpipe.io/end-user-license-agreement"; public static final String SECURITY = "https://docs.xpipe.io/security"; diff --git a/dist/changelogs/13.1.1.md b/dist/changelogs/13.1.1.md new file mode 100644 index 000000000..2547c6004 --- /dev/null +++ b/dist/changelogs/13.1.1.md @@ -0,0 +1,47 @@ +## VMs + +- There is now support for KVM/QEMU virtual machines that can be accessed via the libvirt CLI tools `virsh`. This includes support for other driver URLs as well aside from KVM and QEMU. This integration is available starting from the homelab plan and can be used for free for two weeks after this release using the new release preview +- You can now override a VM IP if you're using an advanced networking setup where the default IP detection is not suitable +- Fix remote VM SSH connections not being able to use the keys and identities from the local system +- There is now a new restart button for containers and VMs + +## File browser + +- There is now a new option in the context menu of a tab to pin it, allowing for having a split view with two different file systems +- There is now the option to dock terminals in the file browser (this is only available on Windows for now). You can disable this in Settings -> File browser -> Terminal docking if you don't like it +- The previous system history tab is now always shown +- You can now change the default download location for the move to downloads button + +## Shell sessions + +Many improvements have been implemented for reusability of shell sessions running in the background. Whenever you access a system or a parent system, XPipe will connect to it just as before but keep this session open in the background for some time, under the assumption that you will typically perform multiple actions shortly afterward. This will improve the speed of many actions and also results in less authentication prompts when you are using something like 2FA. + +## Terminals + +- Closing a terminal tab/window while the session is loading will now cancel the loading process in XPipe as well +- A newly opened terminal will now regain focus after any password prompt was entered in xpipe + +## Security updates + +There's now a new mechanism in place for checking for security updates separately from the normal update check. This is important going forward, to be able to act quickly when any security patch is published, so that all users have the possibility to get notified even if they don't follow announcements on the GitHub repo or on Discord. You can also disable this functionality in the settings if you want. + +## Other + +- The application style has been reworked +- The settings menu now shows a restart button when a setting has been changed that requires a restart to apply +- There is now an intro to scripts to provide some more information before using scripts +- Add ability to enable agent forwarding when using the SSH-Agent for identities +- The .rpm releases are now signed + +## Fixes + +- Fix Proxmox detection not working when not logging in as root +- Fix tunnels not closing properly when having to be closed forcefully +- Fix vmware integration failing when files other than .vmx were in the VM directories +- Fix Tabby not launching properly on Windows +- Fix SSH and docker issues with home assistant systems +- Fix git readme not showing connections in nested children categories +- Fix Windows Terminal Preview and Canary not being recognized +- Fix style issues with the mocha theme +- Fix color contrast for some themes +- Fix system dark mode changes not being applied if they were changed while XPipe was not running diff --git a/dist/changelogs/13.1.1_incremental.md b/dist/changelogs/13.1.1_incremental.md new file mode 100644 index 000000000..4018353a7 --- /dev/null +++ b/dist/changelogs/13.1.1_incremental.md @@ -0,0 +1,9 @@ +- Rework Windows msi installer to support both per-user and system-wide installations. The installer will also now respect the properties `ALLUSERS`. This makes it possible to install XPipe with tools such as intune +- Add pin tab button to the file browser menu bar to make tab splitting more prominent +- Add file browser setting to automatically start up with local machine tab pinned +- Add download context menu action in file browser as an alternative to dragging files to the download box +- Add warning message when the incompatible coreutils homebrew package is in the PATH on macOS +- Fix git sync failing when it required a password prompt +- Fix proxmox detection not working when not using the PVE distro and not logging in as root +- Fix startup check for user directory permissions not working +- Fix various small bugs diff --git a/version b/version index cdb4ac409..21b80e995 100644 --- a/version +++ b/version @@ -1 +1 @@ -13.1 +13.1.1