Skip to content

feat: add xz and tgz to supported archive extensions - #498

Merged
divyam234 merged 1 commit into
tgdrive:mainfrom
hassankhan2608:patch-2
Aug 15, 2025
Merged

feat: add xz and tgz to supported archive extensions#498
divyam234 merged 1 commit into
tgdrive:mainfrom
hassankhan2608:patch-2

Conversation

@hassankhan2608

Copy link
Copy Markdown
Contributor

Summary

This PR updates Teldrive’s file type detection to recognize .xz and .tgz archives.

Changes

  • Added xz and tgz to the archiveExtensions array.

Context

Previously, .xz and .tgz files were categorized as "others" instead of "archives".
These formats are widely used for distributing software packages and backups, especially in Linux/Unix environments.

Benefits

  • Ensures correct categorization of .xz and .tgz archives.
  • Improves compatibility for developers and users handling compressed tarballs.

- Added `.xz` and `.tgz` to archiveExtensions
- Improves compatibility with common Linux/Unix compressed archives
- Prevents these formats from being incorrectly categorized as "others"
@divyam234
divyam234 merged commit 39fd999 into tgdrive:main Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants