From 7e99d7cac60e8cc2fc4e8b3a2b49aa8a236d4f6b Mon Sep 17 00:00:00 2001 From: Merlyn <1927249+Merlyn42@users.noreply.github.com> Date: Thu, 28 May 2026 13:51:00 +0100 Subject: [PATCH] Fix trying to open "Programs folder in C:\Program Files (#846) Programs are not typically installed into a Programs folder inside the the Program Files folder. The Programs folder is only used when installing into the local app data folder e.g. %LocalAppData%\Programs\Microsoft VS Code\ --- .../main/java/io/xpipe/app/prefs/ExternalEditorType.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/prefs/ExternalEditorType.java b/app/src/main/java/io/xpipe/app/prefs/ExternalEditorType.java index 94a4211a6..d84c1bca9 100644 --- a/app/src/main/java/io/xpipe/app/prefs/ExternalEditorType.java +++ b/app/src/main/java/io/xpipe/app/prefs/ExternalEditorType.java @@ -65,7 +65,6 @@ public interface ExternalEditorType extends PrefsChoiceValue { var perMachine = AppSystemInfo.ofWindows() .getProgramFiles() - .resolve("Programs") .resolve("VSCodium"); return perMachine; }, @@ -85,7 +84,6 @@ public interface ExternalEditorType extends PrefsChoiceValue { var perMachine = AppSystemInfo.ofWindows() .getProgramFiles() - .resolve("Programs") .resolve("Antigravity"); return perMachine; }, @@ -105,7 +103,6 @@ public interface ExternalEditorType extends PrefsChoiceValue { var perMachine = AppSystemInfo.ofWindows() .getProgramFiles() - .resolve("Programs") .resolve("cursor"); return perMachine; }, @@ -125,7 +122,6 @@ public interface ExternalEditorType extends PrefsChoiceValue { var perMachine = AppSystemInfo.ofWindows() .getProgramFiles() - .resolve("Programs") .resolve("Void"); return perMachine; }, @@ -145,7 +141,6 @@ public interface ExternalEditorType extends PrefsChoiceValue { var perMachine = AppSystemInfo.ofWindows() .getProgramFiles() - .resolve("Programs") .resolve("Windsurf"); return perMachine; }, @@ -165,7 +160,6 @@ public interface ExternalEditorType extends PrefsChoiceValue { var perMachine = AppSystemInfo.ofWindows() .getProgramFiles() - .resolve("Programs") .resolve("Kiro"); return perMachine; }, @@ -220,7 +214,6 @@ public interface ExternalEditorType extends PrefsChoiceValue { var perMachine = AppSystemInfo.ofWindows() .getProgramFiles() - .resolve("Programs") .resolve("Trae"); return perMachine; }, @@ -240,7 +233,6 @@ public interface ExternalEditorType extends PrefsChoiceValue { var perMachine = AppSystemInfo.ofWindows() .getProgramFiles() - .resolve("Programs") .resolve("Microsoft VS Code"); return perMachine; }, @@ -260,7 +252,6 @@ public interface ExternalEditorType extends PrefsChoiceValue { var perMachine = AppSystemInfo.ofWindows() .getProgramFiles() - .resolve("Programs") .resolve("Microsoft VS Code Insiders"); return perMachine; },