hyeongyun0916 / GZIP_Decompressor

MIT License
12 stars 7 forks source link

Support customizing extension name? #4

Open ingjieye opened 3 years ago

hyeongyun0916 commented 3 years ago

I can't understand. What does it mean?

ingjieye commented 3 years ago

Sorry. Currently, it will show up the options to decompress only if the file's extension is ".gz". https://github.com/hyeongyun0916/GZIP_Decompressor/blob/e7a5b2f3fc77c403619f57a00148a0bfa3e698e6/package.json#L61-L70 But there are chances that the "gz" file is not using the ".gz" extension. Ends up with can't use this plugin to decompress. (For example ".zip" or ".gzip")

hyeongyun0916 commented 3 years ago

Sorry for late. If you list up the extensions you need and I'll add them.

Looooong commented 3 years ago

@hyeongyun0916 Please make a setting to configure the extensions or regex patterns to match the file name and path. Some applications might compress their files using gzip and use their own extensions for these files.

hyeongyun0916 commented 7 months ago

@Looooong solved the issue in https://github.com/hyeongyun0916/GZIP_Decompressor/pull/7 and I released a new version. Could you please confirm?