Improve zip progress tracking and remove redundant JSON DLL

 PROGRESS TRACKING IMPROVEMENTS:
  • Added two-layer progress tracking for zip operations:
    - Collection progress: 'Processing file X of Y' with percentage
    - Individual file progress: Current file compression with bytes processed
  • Enhanced collection progress messages with file counters
  • Added overall progress percentage calculation based on file count
  • Improved progress status messages with speed information

 DEPENDENCY OPTIMIZATION:
  • Removed redundant Newtonsoft.Json.dll (not used in codebase)
  • Only System.Text.Json.dll is needed and used for JSON operations
  • Updated module manifest to reflect minimal dependencies
  • Reduced module footprint and eliminated unused dependencies

 TECHNICAL IMPROVEMENTS:
  • Added _totalFiles field to track collection size
  • Enhanced progress calculation logic for better user experience
  • Maintained existing progress event structure for compatibility
  • Fixed CompressedLength access timing issue in previous commit

Now zip operations show proper 'Processing file 3 of 10' style progress
with both collection and individual file progress bars.
This commit is contained in:
PSMinIO Developer
2025-07-14 12:50:10 -04:00
parent 98778cc8e1
commit 62fb785ecd
5 changed files with 19 additions and 12 deletions
-1
View File
@@ -100,7 +100,6 @@
'bin\PSMinIO.dll',
'bin\PSMinIO.pdb',
'bin\System.Text.Json.dll',
'bin\Newtonsoft.Json.dll',
'types\PSMinIO.Types.ps1xml',
'types\PSMinIO.Format.ps1xml'
)
Binary file not shown.
Binary file not shown.
Binary file not shown.