public static void RemoveAllInstalledMods() { if (IOUtilities.DeleteDirectory(ModManager.installationDirectory)) { Debug.Log("[mod.io] Mod Installation Data removed."); } }
public static void ClearCache() { if (IOUtilities.DeleteDirectory(CacheClient.cacheDirectory)) { Debug.Log("[mod.io] Cache Cleared."); } }
public static void ClearCachedModData() { string modDir = IOUtilities.CombinePath(CacheClient.cacheDirectory, "mods"); if (IOUtilities.DeleteDirectory(modDir)) { Debug.Log("[mod.io] Cached Mod Data Deleted."); } }
public static void ClearCachedUserProfiles() { string usersDir = IOUtilities.CombinePath(CacheClient.cacheDirectory, "users"); if (IOUtilities.DeleteDirectory(usersDir)) { Debug.Log("[mod.io] Cached User Profiles Deleted."); } }