<feat: New release>

This commit is contained in:
Alessandro Autiero
2023-09-09 19:37:05 +02:00
parent 485e757e83
commit 64b85e4f6e
32 changed files with 586 additions and 223 deletions

View File

@@ -1,8 +1,9 @@
import 'dart:convert';
import 'dart:math';
import 'dart:typed_data';
import 'package:bcrypt/bcrypt.dart';
import 'package:pointycastle/export.dart';
import 'dart:convert';
const int _ivLength = 16;
const int _keyLength = 32;

View File

@@ -0,0 +1,3 @@
import 'package:url_launcher/url_launcher.dart';
Future<void> openPortTutorial() => launchUrl(Uri.parse("https://github.com/Auties00/reboot_launcher/blob/master/documentation/PortForwarding.md"));

View File

@@ -28,7 +28,7 @@ extension GameInstanceWatcher on GameInstance {
observerPid = await startBackgroundProcess(
executable: _executable,
args: [
_gameController.uuid,
_hostingController.uuid,
gamePid.toString(),
launcherPid?.toString() ?? "-1",
eacPid?.toString() ?? "-1",
@@ -50,6 +50,6 @@ extension GameInstanceWatcher on GameInstance {
_hostingController.instance.value?.kill();
await _supabase.from('hosts')
.delete()
.match({'id': _gameController.uuid});
.match({'id': _hostingController.uuid});
}
}