This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,26 @@
using System;
using System.IO;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Platforms.Standalone
{
// Token: 0x020024EE RID: 9454
[Token(Token = "0x20024EE")]
public static class DeleteLegacyLogs
{
// Token: 0x0600F234 RID: 62004 RVA: 0x00375C6C File Offset: 0x00373E6C
[Token(Token = "0x600F234")]
[Address(RVA = "0x19D4AC0", Offset = "0x19D3AC0", VA = "0x1819D4AC0")]
[RuntimeInitializeOnLoadMethod]
private static void DeleteLegacyStandaloneLogs()
{
string text = Path.Combine(Application.persistentDataPath, "output_log.txt");
if (File.Exists(text))
{
Debug.LogWarning("Deleting legacy log file from path: " + text);
File.Delete(text);
}
}
}
}