Skip to content

Commit a18b281

Browse files
committed
Use System API
1 parent 9519889 commit a18b281

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Config.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using System.Text.Json;
2-
using Il2CppSystem.IO;
3-
using Il2CppSystem.Text;
1+
using System.IO;
2+
using System.Text;
3+
using System.Text.Json;
44

55
namespace IMYSHook;
66

@@ -14,7 +14,7 @@ public static void Read()
1414
{
1515
if (File.Exists("./BepInEx/plugins/config.json"))
1616
{
17-
var content = File.InternalReadAllText("./BepInEx/plugins/config.json", Encoding.UTF8);
17+
var content = File.ReadAllText("./BepInEx/plugins/config.json", Encoding.UTF8);
1818
var doc = JsonDocument.Parse(content);
1919
var config = doc.RootElement;
2020

Patch.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
using System.Text.RegularExpressions;
1+
using System.IO;
2+
using System.Text.RegularExpressions;
23
using BepInEx;
34
using Hachiroku.Novel;
45
using Hachiroku.Novel.UI;
56
using HarmonyLib;
6-
using Il2CppSystem.IO;
77
using TMPro;
88
using UnityEngine;
99

0 commit comments

Comments
 (0)