mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2025-12-23 15:55:06 +01:00
Add registry key to simplify launching
This commit is contained in:
parent
fbb9828538
commit
1f6fd05884
4 changed files with 87 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue