discord / gamesdk-and-dispatch

Public issue tracker for the Discord Game SDK and Dispatch
22 stars 7 forks source link

Desktop shortcut opens a different Discord (PTB/Canary) when trying to launch #16

Open Variiuz opened 4 years ago

Variiuz commented 4 years ago

Describe the bug It seems that Discord launches all Discord instances that have the same branch of a game. I have a Discord PTB client and the Account on there has my game/the branch too. It seems Discord wants to launch both Clients before it runs that Game.

Steps to reproduce Steps to reproduce the behavior:

  1. Go to the Library
  2. Click on a game/branch and create a shortcut of said game/branch
  3. Click that shortcut and let it open
  4. It will open another Discord Instance where the account has that game/branch too.

Expected behavior Shortcut launches without opening another discord instance and will use the currently opened or it will open the one that has created the shortcut.

Possible Solution Maybe let the shortcut "know" which discord client has created that shortcut.

Additional context I didn't test which account will be used in the game, even if it detects the right account, it's still not a great experience to have to launch another instance before playing.

Jump-Suit commented 4 years ago

Alex, this is due to you possibly having this: https://discordapp.com/developers/docs/game-sdk/sdk-starter-guide#testing-locally-with-two-clients Your focusing the instance to a different one.

Variiuz commented 4 years ago

No this isn't it, I never used that before

Jump-Suit commented 4 years ago

Try it, it tells GameSDK what Instance to focus