mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-25 01:45:37 +00:00
Fix vscode it not opening in containers
This commit is contained in:
@@ -76,7 +76,13 @@ public interface ExternalEditorType extends PrefsChoiceValue {
|
||||
}
|
||||
};
|
||||
|
||||
LinuxPathType VSCODE_LINUX = new LinuxPathType("app.vscode", "code");
|
||||
LinuxPathType VSCODE_LINUX = new LinuxPathType("app.vscode", "code") {
|
||||
@Override
|
||||
public void launch(Path file) throws Exception {
|
||||
var builder = CommandBuilder.of().fixedEnvrironment("DONT_PROMPT_WSL_INSTALL", "No_Prompt_please").addFile(executable).addFile(file.toString());
|
||||
ExternalApplicationHelper.startAsync(builder);
|
||||
}
|
||||
};
|
||||
|
||||
LinuxPathType ZED_LINUX = new LinuxPathType("app.zed", "zed");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user