mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-02-19 16:50:09 +01:00
Фикс #473
Добавил глобальную константу версии мода. Для новых версий теперь более маленькие кружочки. В будущем возможно получится найти им замену,
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user