27 lines
703 B
C#
27 lines
703 B
C#
using System;
|
|
using System.IO;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Platforms.Standalone
|
|
{
|
|
// Token: 0x0200240A RID: 9226
|
|
[Token(Token = "0x200240A")]
|
|
public static class DeleteLegacyLogs
|
|
{
|
|
// Token: 0x0600EE1B RID: 60955 RVA: 0x0036C698 File Offset: 0x0036A898
|
|
[Token(Token = "0x600EE1B")]
|
|
[Address(RVA = "0xE27870", Offset = "0xE26670", VA = "0x180E27870")]
|
|
[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);
|
|
}
|
|
}
|
|
}
|
|
}
|