This commit is contained in:
Alessandro Autiero
2024-05-22 16:49:03 +02:00
parent 9f5590d41c
commit d478650e9b
20 changed files with 383 additions and 229 deletions

View File

@@ -28,7 +28,7 @@ extension GameInstanceWatcher on GameInstance {
}
});
observerPid = await startBackgroundProcess(
final process = await startProcess(
executable: _executable,
args: [
hostingController.uuid,
@@ -36,8 +36,10 @@ extension GameInstanceWatcher on GameInstance {
launcherPid?.toString() ?? "-1",
eacPid?.toString() ?? "-1",
hosting.toString()
]
],
);
observerPid = process.pid;
}
bool get _nestedHosting {

View File

@@ -11,7 +11,7 @@ import 'package:reboot_launcher/src/util/translations.dart';
final UpdateController _updateController = Get.find<UpdateController>();
Future<void> downloadCriticalDllInteractive(String filePath) async {
try {
final fileName = path.basename(filePath);
final fileName = path.basename(filePath).toLowerCase();
if (fileName == "reboot.dll") {
_updateController.update(true);
return;