Optimized GhostRecorder and Supabase Manager

This commit is contained in:
Thorbjoern
2025-07-11 01:59:51 +02:00
parent ea4fec53a6
commit 8e711ca067
2 changed files with 4 additions and 2 deletions
@@ -70,10 +70,10 @@ namespace GhostSystem
else
{
email = string.IsNullOrEmpty(SystemInfo.deviceUniqueIdentifier)
? $"{Guid.NewGuid()}@device.local"
? $"{Guid.NewGuid()}@device.local" // Fallback, generiert theoretisch bei jeder Neuinstallation der App einen anderen User.
: $"{SystemInfo.deviceUniqueIdentifier}@device.local";
password = Convert.ToBase64String(Guid.NewGuid().ToByteArray());
password = email; // selbe GUID, damit das Passwort sich nicht pro App-Version verändern kann.
await UniTask.Run(() => File.WriteAllLines(path, new[] { email, password }));
}