import 'dart:io'; import 'package:revanced_manager/constants.dart'; import 'package:revanced_manager/services/github_api.dart'; class ManagerAPI { final GithubAPI _githubAPI = GithubAPI(); Future downloadPatches() async { return await _githubAPI.latestRelease(ghOrg, patchesRepo); } Future downloadIntegrations() async { return await _githubAPI.latestRelease(ghOrg, integrationsRepo); } Future downloadManager() async { return await _githubAPI.latestRelease(ghOrg, managerRepo); } }