Add registry key to simplify launching

This commit is contained in:
Chris Marsh
2017-07-27 11:56:19 -07:00
parent fbb9828538
commit 1f6fd05884
4 changed files with 87 additions and 2 deletions

View File

@ -95,8 +95,11 @@ static void gameLoop()
}
}
int main()
int main(int argc, char* argv[])
{
/* This would typically be in an installer and/or wrapped to only run once */
Discord_Register(APPLICATION_ID);
DiscordEventHandlers handlers;
memset(&handlers, 0, sizeof(handlers));
handlers.ready = handleDiscordReady;