mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 15:10:23 +00:00
Fix vscode it not opening in containers
This commit is contained in:
parent
b8a2d80b60
commit
c430d9857c
1 changed files with 7 additions and 1 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue