Skip to content

Commit

Permalink
Use System API
Browse files Browse the repository at this point in the history
  • Loading branch information
c0re100 committed Aug 3, 2024
1 parent 9519889 commit a18b281
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Config.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text.Json;
using Il2CppSystem.IO;
using Il2CppSystem.Text;
using System.IO;
using System.Text;
using System.Text.Json;

namespace IMYSHook;

Expand All @@ -14,7 +14,7 @@ public static void Read()
{
if (File.Exists("./BepInEx/plugins/config.json"))
{
var content = File.InternalReadAllText("./BepInEx/plugins/config.json", Encoding.UTF8);
var content = File.ReadAllText("./BepInEx/plugins/config.json", Encoding.UTF8);
var doc = JsonDocument.Parse(content);
var config = doc.RootElement;

Expand Down
4 changes: 2 additions & 2 deletions Patch.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.Text.RegularExpressions;
using System.IO;
using System.Text.RegularExpressions;
using BepInEx;
using Hachiroku.Novel;
using Hachiroku.Novel.UI;
using HarmonyLib;
using Il2CppSystem.IO;
using TMPro;
using UnityEngine;

Expand Down

0 comments on commit a18b281

Please sign in to comment.