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

Registering a mime-type for the defold-editor #48

Open
hardliner66 opened this issue Aug 16, 2024 · 1 comment
Open

Registering a mime-type for the defold-editor #48

hardliner66 opened this issue Aug 16, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@hardliner66
Copy link

Not sure if this is appropriate here, but I'm not sure where else to put this. If not, please just close it.

So, I installed Defold inside WSL by downloading it from the website and extracting it to a local folder. When I tried using the Open Defold Editor command, it always opened a text editor instead. After some digging I found out that the extension uses xdg-open to open the file, which obviously doesn't work because xdg-open doesn't know about Defold or where its located.

So I searched the internet a bit and found that you can just add a mime-type for the file, create a desktop file and use that as a default for the corresponding mime-type. This works, so I put it into a repository, so others with the same problem can use it as well. (https://github.com/hardliner66/defold-project-mime)

I think it might be a good idea to document this somewhere, so that other users can look up how to fix this.

@astrochili astrochili added the documentation Improvements or additions to documentation label Oct 31, 2024
@astrochili
Copy link
Owner

astrochili commented Oct 31, 2024

Thanks for the investigation because I don't use linux.

So what is the best way to inform users about this?
Maybe add a link to your repo to the documentation?

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

No branches or pull requests

2 participants