mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
11 lines
350 B
Lua
11 lines
350 B
Lua
local response_received = false
|
|
|
|
network.get("https://api.github.com/repos/MihailRis/VoxelEngine-Cpp/releases/latest", function (s)
|
|
print(json.parse(s).name)
|
|
response_received = true
|
|
end, function (code)
|
|
print("respond with code", code)
|
|
response_received = true
|
|
end)
|
|
|
|
app.sleep_until(function () return response_received end, nil, 5)
|