sqrldev / SQRLDotNetClient

A cross-platform SQRL Client and Library based on .NET Core
GNU General Public License v3.0
47 stars 7 forks source link

Change Installer Binaries to tar.gz for Mac and Linux #143

Open josegomez opened 4 years ago

josegomez commented 4 years ago

Some users have complained about having to set the executable bit on the binary downloads for the PlatformInstaller One option that we dismissed earlier was to use tar.gz to upload, this preserves the executable bit and makes it marginally easier to execute the installer, though it does add the complexity of having to generate this tar gz file.

See below how it would work from a user perspective TarGzip

Do we think this is worth it? (works the same for Mac and Linux) windows would remain an exe

alexhauser commented 4 years ago

Hmmm, good question. It's a mess. But it would remove one extra step that could cause troubles for non tech-savvy users who also don't rtfm. So yes, everything that helps UX should probably be on our TODO list.

alexhauser commented 4 years ago

@josegomez, I suppose we only close this one once we have 7-zip support baked into the script, right?

dxcSithLord commented 4 years ago

For Linux (not sure about MacOS), you can check that zip, or gzip, are installed - most distros have them by default, but you can use sudo apt install gzip to install gzip that will handle zip files tar is on linux, I can nearly guarantee that, since most files at some point on Linux/Unix get tar'd (Tape ARchive) To confirm/prerequisite: sudo apt install tar

You may be starting to see a theme here.

alexhauser commented 4 years ago

Are there really any relevant distros (apart from do-it-yourself distros like LFS etc. ) that doesn't support tar out of the box? I would be shocked.

josegomez commented 4 years ago

@dxcSithLord this issue isn't one of the code at all is just a reminder for us to update your build scripts to use tar.gz compression to preserve executable bit. Nothing to fix (other than the build scripts)