msciotti / discord-game-sdk-test-apps

A repo full of various Discord GameSDK sample apps
67 stars 38 forks source link

RegisterCommand not working #10

Open anupbelambe opened 3 years ago

anupbelambe commented 3 years ago

In the given example tried adding following code in the main.cpp before UpdateActivity to set the game launch link state.core->ActivityManager().RegisterCommand("chrome.exe https://google.com"); and state.core->ActivityManager().RegisterCommand("https://google.com");

Neither of above command worked to reflect the game launch link in the users rich presence. Does the registerCommand support http or https protocol?