mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 15:34:53 +01:00
fix: mac is aarch64 and not -gnu
This commit is contained in:
parent
f2d2f706f7
commit
41e065e157
1 changed files with 3 additions and 1 deletions
|
@ -15,8 +15,10 @@ local os_uname = vim.loop.os_uname()
|
|||
|
||||
local arch = os_uname.machine
|
||||
|
||||
if arch == "arm64" then arch = "aarch64" end
|
||||
|
||||
local platform = string.lower(os_uname.sysname)
|
||||
if platform == "mac" then
|
||||
if platform == "darwin" then
|
||||
platform = "darwin"
|
||||
elseif platform == "windows_nt" then
|
||||
platform = "windows-msvc"
|
||||
|
|
Loading…
Reference in a new issue