mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-29 07:20:35 +00:00
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\
This commit is contained in:
@@ -65,7 +65,6 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||||||
|
|
||||||
var perMachine = AppSystemInfo.ofWindows()
|
var perMachine = AppSystemInfo.ofWindows()
|
||||||
.getProgramFiles()
|
.getProgramFiles()
|
||||||
.resolve("Programs")
|
|
||||||
.resolve("VSCodium");
|
.resolve("VSCodium");
|
||||||
return perMachine;
|
return perMachine;
|
||||||
},
|
},
|
||||||
@@ -85,7 +84,6 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||||||
|
|
||||||
var perMachine = AppSystemInfo.ofWindows()
|
var perMachine = AppSystemInfo.ofWindows()
|
||||||
.getProgramFiles()
|
.getProgramFiles()
|
||||||
.resolve("Programs")
|
|
||||||
.resolve("Antigravity");
|
.resolve("Antigravity");
|
||||||
return perMachine;
|
return perMachine;
|
||||||
},
|
},
|
||||||
@@ -105,7 +103,6 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||||||
|
|
||||||
var perMachine = AppSystemInfo.ofWindows()
|
var perMachine = AppSystemInfo.ofWindows()
|
||||||
.getProgramFiles()
|
.getProgramFiles()
|
||||||
.resolve("Programs")
|
|
||||||
.resolve("cursor");
|
.resolve("cursor");
|
||||||
return perMachine;
|
return perMachine;
|
||||||
},
|
},
|
||||||
@@ -125,7 +122,6 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||||||
|
|
||||||
var perMachine = AppSystemInfo.ofWindows()
|
var perMachine = AppSystemInfo.ofWindows()
|
||||||
.getProgramFiles()
|
.getProgramFiles()
|
||||||
.resolve("Programs")
|
|
||||||
.resolve("Void");
|
.resolve("Void");
|
||||||
return perMachine;
|
return perMachine;
|
||||||
},
|
},
|
||||||
@@ -145,7 +141,6 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||||||
|
|
||||||
var perMachine = AppSystemInfo.ofWindows()
|
var perMachine = AppSystemInfo.ofWindows()
|
||||||
.getProgramFiles()
|
.getProgramFiles()
|
||||||
.resolve("Programs")
|
|
||||||
.resolve("Windsurf");
|
.resolve("Windsurf");
|
||||||
return perMachine;
|
return perMachine;
|
||||||
},
|
},
|
||||||
@@ -165,7 +160,6 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||||||
|
|
||||||
var perMachine = AppSystemInfo.ofWindows()
|
var perMachine = AppSystemInfo.ofWindows()
|
||||||
.getProgramFiles()
|
.getProgramFiles()
|
||||||
.resolve("Programs")
|
|
||||||
.resolve("Kiro");
|
.resolve("Kiro");
|
||||||
return perMachine;
|
return perMachine;
|
||||||
},
|
},
|
||||||
@@ -220,7 +214,6 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||||||
|
|
||||||
var perMachine = AppSystemInfo.ofWindows()
|
var perMachine = AppSystemInfo.ofWindows()
|
||||||
.getProgramFiles()
|
.getProgramFiles()
|
||||||
.resolve("Programs")
|
|
||||||
.resolve("Trae");
|
.resolve("Trae");
|
||||||
return perMachine;
|
return perMachine;
|
||||||
},
|
},
|
||||||
@@ -240,7 +233,6 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||||||
|
|
||||||
var perMachine = AppSystemInfo.ofWindows()
|
var perMachine = AppSystemInfo.ofWindows()
|
||||||
.getProgramFiles()
|
.getProgramFiles()
|
||||||
.resolve("Programs")
|
|
||||||
.resolve("Microsoft VS Code");
|
.resolve("Microsoft VS Code");
|
||||||
return perMachine;
|
return perMachine;
|
||||||
},
|
},
|
||||||
@@ -260,7 +252,6 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
|||||||
|
|
||||||
var perMachine = AppSystemInfo.ofWindows()
|
var perMachine = AppSystemInfo.ofWindows()
|
||||||
.getProgramFiles()
|
.getProgramFiles()
|
||||||
.resolve("Programs")
|
|
||||||
.resolve("Microsoft VS Code Insiders");
|
.resolve("Microsoft VS Code Insiders");
|
||||||
return perMachine;
|
return perMachine;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user