fix: lock version

This commit is contained in:
əlemi 2024-09-21 12:53:44 +02:00
parent bf59d71e3b
commit ce65e7e01a
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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