diff --git a/app/src/main/java/io/xpipe/app/prefs/ExternalTerminalType.java b/app/src/main/java/io/xpipe/app/prefs/ExternalTerminalType.java index c9de0b87..011f53ff 100644 --- a/app/src/main/java/io/xpipe/app/prefs/ExternalTerminalType.java +++ b/app/src/main/java/io/xpipe/app/prefs/ExternalTerminalType.java @@ -15,11 +15,11 @@ import java.util.stream.Stream; public interface ExternalTerminalType extends PrefsChoiceValue { - public static final ExternalTerminalType CMD = new SimpleType("cmd", "cmd", "cmd.exe") { + public static final ExternalTerminalType CMD = new SimpleType("cmd", "cmd.exe", "cmd.exe") { @Override protected String toCommand(String name, String file) { - return "cmd.exe /C \"" + file + "\""; + return "/C \"" + file + "\""; } @Override @@ -29,11 +29,11 @@ public interface ExternalTerminalType extends PrefsChoiceValue { }; public static final ExternalTerminalType POWERSHELL = - new SimpleType("powershell", "powershell", "PowerShell") { + new SimpleType("powershell", "powershell.exe", "PowerShell") { @Override protected String toCommand(String name, String file) { - return "powershell.exe -ExecutionPolicy Bypass -Command \"" + file + "\""; + return "-ExecutionPolicy Bypass -Command \"" + file + "\""; } @Override diff --git a/dist/changelogs/0.5.34.md b/dist/changelogs/0.5.34.md new file mode 100644 index 00000000..848026ca --- /dev/null +++ b/dist/changelogs/0.5.34.md @@ -0,0 +1,19 @@ +## Changes in 0.5.34 +- Fix drag and drop sometimes having the wrong target +- Fix PowerShell execution policy errors in some cases +- Fix terminal open not working when script file path contains spaces + +## Changes in 0.5.33 +- Fix backward and forward buttons not working in file browser +- Add F5 shortcut to refresh file browser +- Add + shortcut to create a file/directory +- Add automated VirusTotal analysis to download page + +## Changes in 0.5.32 +- Add file type icons to file browser +- Add shift-select ability to select range of files to file browser +- Fix various file browser bugs +- Improve memory footprint +- Properly update last used time for connections +- Show changelog when prompting for an update installation +- Improve icon semantics in connection overview diff --git a/version b/version index 924b649c..2f3ca5f9 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.5.33 \ No newline at end of file +0.5.34 \ No newline at end of file