From 5274d58c36cb049249e7f98f57f03de6368e99cf Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 6 Dec 2023 01:40:24 +0000 Subject: [PATCH] [release] --- .../xpipe/app/launcher/LauncherCommand.java | 8 +++- dist/changelogs/1.7.10.md | 41 ++++++++++++++++++- 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/launcher/LauncherCommand.java b/app/src/main/java/io/xpipe/app/launcher/LauncherCommand.java index 83ee7b46a..24a062c2d 100644 --- a/app/src/main/java/io/xpipe/app/launcher/LauncherCommand.java +++ b/app/src/main/java/io/xpipe/app/launcher/LauncherCommand.java @@ -122,9 +122,15 @@ public class LauncherCommand implements Callable { @SneakyThrows public Integer call() { checkStart(); + // Initialize base mode first to have access to the preferences to determine effective mode OperationMode.switchToSyncOrThrow(OperationMode.BACKGROUND); - OperationMode.switchToSyncOrThrow(OperationMode.map(getEffectiveMode())); + + var effective = OperationMode.map(getEffectiveMode()); + if (effective != OperationMode.BACKGROUND) { + OperationMode.switchToSyncOrThrow(effective); + } + LauncherInput.handle(inputs); // URL open operations have to be handled in a special way on macOS! diff --git a/dist/changelogs/1.7.10.md b/dist/changelogs/1.7.10.md index 8935e45c0..10e95c62b 100644 --- a/dist/changelogs/1.7.10.md +++ b/dist/changelogs/1.7.10.md @@ -1,5 +1,44 @@ +## Changes in 1.7.10 + +- Fix application freezing under heavy load, usually with the git storage +- Fix git storage asking multiple times for login information when needed +- Fix git storage push failing when login information was required +- Fix rpm installation upgrade removing desktop file +- Make exit timeout always run to quit after max 30 seconds +- Improve readme description for causes of an empty git storage +- Add chmod file browser action +- Many other small miscellaneous fixes and improvements + +## Changes in 1.7.9 + +### Git storage rework + +The git storage functionality has been in a bad state, hopefully this update will change that. +First of all, several bugs and inconsistencies have been fixed. + +Furthermore, the authentication options have been greatly expanded. +You can now supply both HTTP and SSH git URLs. If any input is required like a username/password/passphrase, XPipe will show a prompt. +If you chose to use an SSH git URL, you can also set key-based authentication options just as for other ssh connections. + +Lastly, there is now a general data directory as well in which you can put any additional files like SSH keys that you want to include in the repository. You can then refer to them just as normal within XPipe but their file paths are automatically adapted on any system you clone the repository to. You can open this data directory from the settings menu. + +It is recommended to start with a remote git repository from scratch though to properly fix previous issues. ### Other changes -- Add chmod file browser action +- Fix new daemon instances getting stuck when trying to communicate with an already running daemon that does not respond +- Fix daemon not properly exiting when stuck on shutdown +- Fix elevated commands getting stuck if no sudo password was available +- Fix some commands getting stuck under rare conditions on Linux and macOS +- Fix some windows being shown outside of screen bounds when display scaling values were set very high +- Fix macOS .pkg installers requiring Rosetta to be installed on ARM even though it wasn't needed +- Fix powerlevel10k breaking terminal integrations on macOS +- Fix screen clear on terminal launch sometimes breaking terminal formatting +- Fix process exit codes outside of signed 32-bit int causing errors +- Fix local shell process not restarting if it somehow died +- Fix errors not showing when GUI could not be initialized +- Fix some NullPointerExceptions +- Fix file browser execute action not launching scripts +- Fix some license related errors +- Fix Windows os detection on remote servers if cmd was not available - Many other small miscellaneous fixes and improvements