mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-19 23:46:55 +08:00
fix: root installation and foreground task and improve installer a bit
This commit is contained in:
@ -40,13 +40,12 @@ class GithubAPI {
|
||||
|
||||
Future<List<Contributor>> getContributors(String org, repoName) async {
|
||||
try {
|
||||
var contributors = await github.repositories.listContributors(
|
||||
var contributors = github.repositories.listContributors(
|
||||
RepositorySlug(org, repoName),
|
||||
);
|
||||
return contributors.toList();
|
||||
} on Exception {
|
||||
print(Exception);
|
||||
return [];
|
||||
return List.empty();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user