Skip to content

Commit

Permalink
[release]
Browse files Browse the repository at this point in the history
  • Loading branch information
crschnick committed Oct 17, 2024
1 parent 01bac9d commit aae09c2
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import io.xpipe.app.issue.ErrorEvent;
import io.xpipe.app.util.LocalShell;
import io.xpipe.core.process.CommandBuilder;
import io.xpipe.core.process.ShellDialects;
import io.xpipe.core.store.FileNames;

import java.nio.file.Files;
Expand All @@ -24,7 +25,14 @@ private static CommandBuilder toCommand(ExternalTerminalType.LaunchConfiguration
if (configuration.getColor() != null) {
cmd.add("--tabColor").addQuoted(configuration.getColor().toHexString());
}
return cmd.add("--title").addQuoted(fixedName).add(configuration.getDialectLaunchCommand());
// This is a fix for rare wt startup issues when using the full cmd launch command instead of just passing the .bat script
// This must be a bug on wt's side, so work around it by just passing the script file
var toExec = !ShellDialects.isPowershell(configuration.getScriptDialect())
? CommandBuilder.of().addFile(configuration.getScriptFile())
: CommandBuilder.of()
.add("powershell", "-ExecutionPolicy", "Bypass", "-File")
.addFile(configuration.getScriptFile());
return cmd.add("--title").addQuoted(fixedName).add(toExec);
}

@Override
Expand Down
6 changes: 5 additions & 1 deletion core/src/main/java/io/xpipe/core/process/ShellDialects.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ public static boolean isPowershell(ShellControl sc) {
return false;
}

return sc.getShellDialect().equals(POWERSHELL) || sc.getShellDialect().equals(POWERSHELL_CORE);
return isPowershell(sc.getShellDialect());
}

public static boolean isPowershell(ShellDialect d) {
return d == POWERSHELL || d == POWERSHELL_CORE;
}

public static Optional<ShellDialect> byNameIfPresent(String name) {
Expand Down
43 changes: 43 additions & 0 deletions dist/changelogs/12.3.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## Changes

- Add popup to automatically save file with sudo when permissions are denied in file browser
- You can now restart any ended terminal session by pressing R in the terminal
- Add support for the windows credential manager as a password manager
- Reuse existing shell session when adding new connection and searching for available connections
- Implement support for setting custom icons, thanks to [https://github.com/selfhst/icons](https://github.com/selfhst/icons)
- Replace deprecated wmic tool interaction on Windows
- Add button to log in as a different user for RDP tunnel connections
- Properly terminate all running connections when shutting down
- Improve color scheme contrast for light themes
- Improve connection hub styling
- Rework Windows OS name detection
- Improve script summary display
- Upgrade to GraalVM 22.0.2
- There is now a docker image with a web-based desktop environment for XPipe at [https://github.com/xpipe-io/xpipe-webtop](https://github.com/xpipe-io/xpipe-webtop)

## Fixes

- Fix csh, opnsense, pfsense shells being broken
- Fix VM start/stop actions only being visible when user credentials were supplied
- Fix tunnels failing to start when the remote login shell was fish
- Fix dashlane password manager configuration being wrong
- Fix some shell sessions staying open in the background when closing connection creation dialog
- Fix SSH bridge not launching on Linux with missing sshd
- Fix browser transfer progress flickering
- Fix powershell type not being able to be recognized in certain language modes
- Fix Cygwin/Msys2/GitForWindows not showing up in connection search sometimes
- Fix some startup checks not working
- Fix scrollbar not resetting when changing application tabs
- Fix file modified dates and color names not being translated

## Git vault improvements

- Add more extensive documentation to the remote git repository settings menu
- Add restart button to the sync settings menu
- Improve git failure messages
- Fix git CLI check not working on macOS due to xcode-select
- Fix git sync failing when multiple gpg programs were present in PATH

## Product hunt

XPipe will be on ProductHunt on October 22. If you interested, you can follow XPipe at [https://www.producthunt.com/products/xpipe](https://www.producthunt.com/products/xpipe) to get notified.
1 change: 1 addition & 0 deletions dist/changelogs/12.3.3_incremental.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is a hotfix release for the [12.3 release](https://github.com/xpipe-io/xpipe/releases/tag/12.3) to work around a Windows Terminal bug that is affecting some systems where all terminal launches seem to fail with cmd.
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.3.2
12.3.3

0 comments on commit aae09c2

Please sign in to comment.