decentraland/explorer-desktop-launcher

Unsupported OS: linux

EibrielInv opened this issue · 2 comments

Hi, not sure if a bug or current limitation, but when running Decentraland.AppImage on Linux it outputs the following warning on the terminal: Unsupported OS: linux, and that is all it does.

Can't remember the exact release when this started to happen, but was around the Pride Month event

Took a look into the code, and to allow the launcher to run on Linux seems fairly easy. It fails when the function getAppBasePath returns a relative path.

Adding linux on the line

if (!process.platform || !['win32', 'darwin'].includes(process.platform)) {

Adding

else if (process.platform === 'linux') {
    return `/some/absolute/path`
}

at

Not sure what is the intended path for linux. Something like /home/${process.env.USER}/.config/${applicationFolderName}/ ?

Hey @EibrielInv feel free to open a PR if you find out how this should be configured, I think no one on the explorer team works with Linux and adding support for it hasn't been that much of a priority.

You can also try and use app.getPath('userData') to see if that also works