We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efcb657 commit baebb67Copy full SHA for baebb67
Server.lua
@@ -11,9 +11,15 @@ else
11
scriptPath = utils.script_path()
12
end
13
local libDir
14
-if not getScriptPath or tonumber(string.match(getInfoParam("VERSION"), "%d+[.]%d+")) >= 8.5 then
+local quikVer
15
+if getScriptPath then
16
+ quikVer = tonumber(string.match(getInfoParam("VERSION"), "(%d+)[.]")) * 100 +
17
+ tonumber(string.match(getInfoParam("VERSION"), "%d+[.](%d+)[.]"))
18
+end
19
+
20
+if not getScriptPath or quikVer >= 805 then
21
libDir = "53"
-elseif tonumber(string.match(getInfoParam("VERSION"), "%d+[.]%d+")) >= 8 then
22
+elseif quikVer >= 800 then
23
libDir = "51-x64"
24
else
25
libDir = "51-x86"
0 commit comments