Добавил глобальную константу версии мода. Для новых версий теперь более маленькие кружочки. В будущем возможно получится найти им замену,
This commit is contained in:
Axeer
2022-09-13 05:01:39 +03:00
parent 8ca422cbce
commit 3b15a5d712
2 changed files with 7 additions and 2 deletions

View File

@@ -3174,6 +3174,7 @@ _G.print = function(...)
system.consoleWindow:focus()
end
_G._OCVERSION = tonumber(tostring(filesystem.read("/lib/core/boot.lua"):match("OpenOS %d+.%d+.%d+"):match("%d+.%d+.%d+"):gsub("%.", "")))
--------------------------------------------------------------------------------
return system