Skip to content

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

Description

@hardliner66

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions