mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2025-12-22 13:56:38 +01: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…
Add table
Add a link
Reference in a new issue