Skip to content

Commit

Permalink
Added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
DiFFoZ committed Apr 24, 2024
1 parent 35d022a commit ab587f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BepInExFasterLoadAssetBundles/Managers/AssetBundleManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ private void RecompressAssetBundleInternal(WorkAsset workAsset)

if (DriveHelper.HasDriveSpaceOnPath(CachePath, 10))
{
Patcher.Logger.LogDebug($"Queued recompress of \"{Path.GetFileName(workAsset.Path)}\" assetbundle");

m_WorkAssets.Enqueue(workAsset);
StartRunner();
return;
Expand Down Expand Up @@ -237,6 +239,8 @@ private async Task DecompressAssetBundleAsync(WorkAsset workAsset)
return;
}

Patcher.Logger.LogDebug($"Assetbundle \"{originalFileName}\" is now uncompressed!");

metadata.UncompressedAssetBundleName = outputName;
Patcher.MetadataManager.SaveMetadata(metadata);
}
Expand Down

0 comments on commit ab587f7

Please sign in to comment.