From 65c234131f8677433281ffb953e66bea6a6fad65 Mon Sep 17 00:00:00 2001 From: Jae-Heon Ji <32578710+jaeheonji@users.noreply.github.com> Date: Tue, 5 Apr 2022 00:58:48 +0900 Subject: [PATCH] Fix: Neovide.app not working in Finder (#1242) * fix: update command execution for macos * feat: support brew for macos users * fix: add refetence for M1 brew --- README.md | 1 + src/bridge/command.rs | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 49c72a9..bdfca69 100644 --- a/README.md +++ b/README.md @@ -253,6 +253,7 @@ snap install neovide ## Troubleshooting - Neovide requires that a font be set in `init.vim` otherwise errors might be encountered. This can be fixed by adding `set guifont=Your\ Font\ Name:h15` in init.vim file. Reference issue [#527](https://github.com/neovide/neovide/issues/527). +- If you installed `neovim` via Apple Silicon (M1)-based `brew`, you have to add the `brew prefix` to `$PATH` to run `Neovide.app` in GUI. Please see the [homebrew documentation](https://docs.brew.sh/FAQ#my-mac-apps-dont-find-homebrew-utilities). Reference issue [#1242](https://github.com/neovide/neovide/pull/1242) ### Linux-specific - If you recieve errors complaining about DRI3 settings, please reference issue [#44](https://github.com/neovide/neovide/issues/44#issuecomment-578618052). diff --git a/src/bridge/command.rs b/src/bridge/command.rs index 2aef371..4e8a56f 100644 --- a/src/bridge/command.rs +++ b/src/bridge/command.rs @@ -56,8 +56,11 @@ fn create_platform_shell_command(command: &str, args: &[&str]) -> Option