il2cpp transition (this commit is still in mono)

fix ipc touch not working under il2cpp;
fix bat wont start under il2cpp;
This commit is contained in:
xpeng
2022-11-08 23:43:35 +01:00
parent 92ef73ee3a
commit d23ae3be82
15 changed files with 548 additions and 286 deletions
@@ -3,12 +3,15 @@ using System.Collections.Generic;
using UnityEngine;
using System.Diagnostics;
using System.IO;
using Lavender.Systems;
public class StartBatchManager : MonoBehaviour
{
private void Start()
{
ConfigManager.EnsureInitialization();
Process.Start(Path.GetFullPath(ConfigManager.config.batFileLocation));
if (ConfigManager.config.batFileLocation != "")
StartExternalProcess.Start(ConfigManager.config.batFileLocation);
//Process.Start(Path.GetFullPath(ConfigManager.config.batFileLocation));
}
}