Open RedXi opened 3 years ago
Has nothing todo with FwL per se , it`s a Pain in the A.... to Implement SSL / luasec things in this case to support all OS ;-)
Think like this, this is what i use to update my Script´s --> found in WWW
`local query = nil local url = xsil_Github.domain .. xsil_Github.activbranch .. xsil_Github.filename-- Validation API URL -- check if windows or not windows if package.config:sub(1,1) == "\" then -- TODO fix the annoying cmd window that pops up here query = io.popen("powershell (wget " .. url .. ").Content", "r") else -- not windows, assuming posix query = io.popen("curl -s '" .. url .. "'", "r") end
local httpsResult = query:read("*all")
query:close()
end`
ATC frequencies and airplane positions do not load from VATSIM network as they changed the endpoint. The new endpoint provides the information in a diffent format (JSON instad of CSV). It also uses HTTPS instead of HTTP, which is currently not supported by FlyWithLua.