Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portable(s) are not actually portable #2136

Open
elandorr opened this issue May 27, 2022 · 1 comment
Open

portable(s) are not actually portable #2136

elandorr opened this issue May 27, 2022 · 1 comment

Comments

@elandorr
Copy link

I didn't notice earlier since I try to go for fresh deploys, but that's a major dealbreaker for a '''portable'''. Users expected it to work like any https://portableapps.com/ and I was surprised it didn't. #2112 made me investigate again.

Windows zip

https://github.com/mattermost/desktop/releases/download/v5.0.4/mattermost-desktop-5.0.4-win-x64.zip

Creates a folder in %appdata%.

Still better than an installer, but not portable by any means. Users were surprised why they needed to enter server details all of a sudden, after moving the folder.

Linux binary

https://github.com/mattermost/desktop/releases/download/v5.0.4/mattermost-desktop-5.0.4-linux-x64.tar.gz

Creates one in ~/.config which isn't great, but expected on Linux. There's not a whole lot of typical user awareness (of any kind) on desktop Linux yet. Copy, paste, done. Still would be nice if a plain binary build would stick to a relative ./userdata/ until told otherwise.

At the very least, people need to be made aware of the Windows zip not actually being a portable as you'd expect by downloading a presumably self-contained zip. Almost every ordinary Windows user knows the 'self contained portable' concept and this is unexpected.

How about a default of ./userdata/ on both platforms, and a CLI parameter --datadir xyz to choose wherever?

@devinbinnie
Copy link
Member

@elandorr Technically the ZIP or tarball installations of Mattermost are not advertised as "portable", which is why they do create their own configuration directories just as the other installers do.

We could look into a more "portable" installation of Mattermost Desktop if that's something that has some interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants