mirror of
https://github.com/yuzu-emu/discord-rpc
synced 2024-11-23 02:03:46 +00:00
Fix unused result
This commit is contained in:
parent
0ea7ddbd5a
commit
a1ab6c96f2
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@ extern "C" void Discord_Register(const char* applicationId, const char* command)
|
||||||
"xdg-mime default discord-%s.desktop x-scheme-handler/discord-%s",
|
"xdg-mime default discord-%s.desktop x-scheme-handler/discord-%s",
|
||||||
applicationId,
|
applicationId,
|
||||||
applicationId);
|
applicationId);
|
||||||
system(xdgMimeCommand);
|
if (system(xdgMimeCommand) < 0) {
|
||||||
|
fprintf(stderr, "Failed to register mime handler\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void Discord_RegisterSteamGame(const char* applicationId, const char* steamId)
|
extern "C" void Discord_RegisterSteamGame(const char* applicationId, const char* steamId)
|
||||||
|
|
Loading…
Reference in a new issue