Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions FinalSuspect/Modules/Resources/PathManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.IO;
using BepInEx;
using FinalSuspect.Attributes;

namespace FinalSuspect.Modules.Resources;
Expand All @@ -15,7 +16,7 @@ public static class PathManager
#else
private const string LocalPath_Data = "Final Suspect_Data/";
public const string LANGUAGE_FOLDER_NAME = LocalPath_Data + "Language";
private const string DependsSavePath = "BepInEx/core/";
private static readonly string DependsSavePath = Paths.BepInExAssemblyDirectory;
public const string BAN_LIST_PATH = LocalPath_Data + "BanList.txt";
#endif

Expand All @@ -40,7 +41,7 @@ public static class PathManager

public const string DownloadUrl_FangKuaiRemote =
"https://dl.amongusclub.cn/FinalSuspect/FinalSuspect.dll";
// 下载URL保持不变
// 下载URL保持不变
#endif
public static readonly string BANEDWORDS_FILE_PATH = GetBanFilesPath("BanWords.json");
public static readonly string DENY_NAME_LIST_PATH = GetBanFilesPath("DenyName.json");
Expand Down Expand Up @@ -284,4 +285,4 @@ public enum LocalType
Resources,
BepInEx,
NameTag
}
}
Loading