microsoft / shell-intune-samples

Sample shell scripts for Intune admins.
MIT License
670 stars 222 forks source link

tbz2 files are not supported #43

Closed denis111 closed 2 years ago

denis111 commented 2 years ago

I guess it would be almost the same as zip files.

theneiljohnson commented 2 years ago

Hi Denis, what are you trying to achieve exactly?

denis111 commented 2 years ago

Sorry for such a brief issue text. I mean support of installing apps from .tbz2/.tar.bz2 files like https://imageoptim.com/ImageOptim1.8.9a1.tar.bz2 . I've seen some app also packaged with tbz2 extension. For now only dmg, pkg and zip are supported. Si I guess it's almost identical to zip, only changing the command to extract archive.

theneiljohnson commented 2 years ago

See if this works. I've added in the detection logic and uncompressing but this isn't a file format I've seen many apps come in so have only been able to test with the one so far.

https://github.com/microsoft/shell-intune-samples/tree/master/Apps/ImageOptim