mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
fix: lock version
This commit is contained in:
parent
bf59d71e3b
commit
ce65e7e01a
1 changed files with 3 additions and 1 deletions
|
@ -38,9 +38,11 @@ end
|
||||||
local sep = '/'
|
local sep = '/'
|
||||||
if os_uname.sysname == "Windows_NT" then sep = '\\' end
|
if os_uname.sysname == "Windows_NT" then sep = '\\' end
|
||||||
|
|
||||||
|
local version = "v0.7.0"
|
||||||
|
|
||||||
local native_path = plugin_dir..sep.."lua"..sep.."codemp"..sep.."new-native."..ext
|
local native_path = plugin_dir..sep.."lua"..sep.."codemp"..sep.."new-native."..ext
|
||||||
local replace_native_path = plugin_dir..sep.."lua"..sep.."codemp"..sep.."native."..ext
|
local replace_native_path = plugin_dir..sep.."lua"..sep.."codemp"..sep.."native."..ext
|
||||||
local download_url_native = string.format("https://codemp.dev/releases/lua/codemp-lua-%s-%s.%s", arch, platform, ext)
|
local download_url_native = string.format("https://codemp.dev/releases/lua/codemp-lua-%s-%s-%s.%s", version, arch, platform, ext)
|
||||||
|
|
||||||
print("downloading codemp native lua extension from '" .. download_url_native .. "' ...")
|
print("downloading codemp native lua extension from '" .. download_url_native .. "' ...")
|
||||||
if os_uname.sysname == "Windows_NT" then
|
if os_uname.sysname == "Windows_NT" then
|
||||||
|
|
Loading…
Reference in a new issue