This commit is contained in:
Alessandro Autiero
2024-06-03 16:27:52 +02:00
parent 46034aa1fa
commit 93c5d6c56b
8 changed files with 9 additions and 8 deletions

View File

@@ -2,5 +2,5 @@ enum InjectableDll {
console,
cobalt,
reboot,
memoryFix
memory
}

View File

@@ -18,6 +18,7 @@ Future<bool> hasRebootDllUpdate(int? lastUpdateMs, {int hours = 24, bool force =
}
Future<void> downloadCriticalDll(String name, String outputPath) async {
print("https://github.com/Auties00/reboot_launcher/raw/master/gui/dependencies/dlls/$name");
final response = await http.get(Uri.parse("https://github.com/Auties00/reboot_launcher/raw/master/gui/dependencies/dlls/$name"));
if(response.statusCode != 200) {
throw Exception("Cannot download $name: status code ${response.statusCode}");