From b26f863e4a961c8b8a3d93b35acea311dd19c8a0 Mon Sep 17 00:00:00 2001 From: mikoto2000 Date: Thu, 13 Jun 2024 23:05:58 +0000 Subject: [PATCH] =?UTF-8?q?AppImage=20=E5=B1=95=E9=96=8B=E6=99=82=E3=81=AE?= =?UTF-8?q?=E6=A8=99=E6=BA=96=E5=87=BA=E5=8A=9B=E3=82=92=20/dev/null=20?= =?UTF-8?q?=E3=81=B8=E5=87=BA=E5=8A=9B=E3=81=99=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E4=BF=AE=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- devcontainer/devcontainer.go | 2 +- docker/docker.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devcontainer/devcontainer.go b/devcontainer/devcontainer.go index d582ca7..3fbdada 100644 --- a/devcontainer/devcontainer.go +++ b/devcontainer/devcontainer.go @@ -114,7 +114,7 @@ func ExecuteDevcontainer(args []string, devcontainerPath string, vimFilePath str workspaceFolder, "sh", "-c", - "cd ~; /" + vimFileName + " --appimage-extract; cd -; ~/squashfs-root/AppRun -S /SendToTcp.vim -S /vimrc"} + "cd ~; /" + vimFileName + " --appimage-extract > /dev/null; cd -; ~/squashfs-root/AppRun -S /SendToTcp.vim -S /vimrc"} fmt.Printf("Start vim: `%s \"%s\"`\n", devcontainerPath, strings.Join(dockerVimArgs, "\" \"")) dockerExec := exec.CommandContext(ctx, devcontainerPath, dockerVimArgs...) dockerExec.Stdin = os.Stdin diff --git a/docker/docker.go b/docker/docker.go index 956a015..7a518d7 100644 --- a/docker/docker.go +++ b/docker/docker.go @@ -103,7 +103,7 @@ func Run(args []string, vimFilePath string, cdrPath string, configDirForDocker s containerId, "sh", "-c", - "cd ~; /" + vimFileName + " --appimage-extract; cd -; ~/squashfs-root/AppRun -S /SendToTcp.vim -S /vimrc", + "cd ~; /" + vimFileName + " --appimage-extract > /dev/null; cd -; ~/squashfs-root/AppRun -S /SendToTcp.vim -S /vimrc", } fmt.Printf("Start vim: `%s \"%s\"`\n", CONTAINER_COMMAND, strings.Join(dockerVimArgs, "\" \"")) dockerExec := exec.CommandContext(ctx, CONTAINER_COMMAND, dockerVimArgs...)