get_manifest = function() live.send_to_app('MANIFEST') local response repeat love.timer.sleep(0.01) response = live.receive_from_app() until response local result = {} if #response == 0 then -- error; retry return result else -- stop retrying Manifest_navigator.reload = false end local app_name local manifest_version = json.decode(response) for name, value in pairs(manifest_version) do if not starts_with(name, 'fw_') then table.insert(result, name) elseif name == 'fw_app' then app_name = value end end return result, app_name end