Finished Launcher

Everything is smooth and the UI is perfect
This commit is contained in:
Alessandro Autiero
2022-09-14 18:55:41 +02:00
parent df4bd5772f
commit 1c6137a4d9
13 changed files with 132 additions and 92 deletions

View File

@@ -26,8 +26,8 @@ Future<File> downloadRebootDll() async {
}
var response = await http.get(Uri.parse(_rebootUrl));
var tempZip = File("${Platform.environment["Temp"]}/reboot.zip")
..writeAsBytesSync(response.bodyBytes);
var tempZip = File("${Platform.environment["Temp"]}/reboot.zip");
await tempZip.writeAsBytes(response.bodyBytes);
await extractFileToDisk(tempZip.path, safeBinariesDirectory);
var pdb = await loadBinary("Project Reboot.pdb", true);
pdb.delete();