mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 23:44:55 +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
|
local arch = os_uname.machine
|
||||||
|
|
||||||
|
if arch == "arm64" then arch = "aarch64" end
|
||||||
|
|
||||||
local platform = string.lower(os_uname.sysname)
|
local platform = string.lower(os_uname.sysname)
|
||||||
if platform == "mac" then
|
if platform == "darwin" then
|
||||||
platform = "darwin"
|
platform = "darwin"
|
||||||
elseif platform == "windows_nt" then
|
elseif platform == "windows_nt" then
|
||||||
platform = "windows-msvc"
|
platform = "windows-msvc"
|
||||||
|
|
Loading…
Reference in a new issue