tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.23k stars 128 forks source link

"Open installation directory" opens VS Code instead of Dolphin #668

Closed WorldTeacher closed 1 year ago

WorldTeacher commented 1 year ago
Expected behavior

clicking "Open installation directory" should open default File Manager instead of VS Code

Actual behavior

it opens the installation directory in VS Code

Steps to reproduce
  1. click "open installation directory"
  2. (probably be me)
  3. see it happen
Version and environment
- GameHub
    Version: 0.16.3-9327885-makepkg
    Branch:  makepkg
    Commit:  9327885393f022fd1cccb219a19c0f87ae5e0f5a
- Environment
    Distro:  XeroLinux
    DE:      KDE
    GTK:     3.24.36
JustinTJones commented 1 year ago

I had this problem too and it turned out to be caused by the default file associations set by my desktop environment. I had to to tell my desktop environment to open directory with my file manager instead of VS Code.

This is not the fault of GameHub, it's actually the fault of VS Code, which modifies default file associations upon install.

Assuming that you're using KDE Plasma based on your reference of Dolphin, see this article for help changing that on KDE Plasma: https://userbase.kde.org/System_Settings/File_Associations/en

WorldTeacher commented 1 year ago

this fixed it, thanks

Assuming that you're using KDE Plasma based on your reference of Dolphin, see this article for help changing that on KDE Plasma: https://userbase.kde.org/System_Settings/File_Associations/en

JustinTJones commented 1 year ago

You're welcome!