mirror of
https://github.com/clangen/musikcube.git
synced 2025-03-29 19:20:28 +00:00
Fixed lastfm on Linux. Need to test macOS and FreeBSD next.
This commit is contained in:
parent
d2ab0a84f2
commit
386eae43df
@ -310,10 +310,10 @@ namespace musik { namespace core {
|
||||
#ifdef WIN32
|
||||
ShellExecuteA(nullptr, nullptr, path.c_str(), nullptr, nullptr, SW_SHOWNORMAL);
|
||||
#elif __APPLE__
|
||||
std::string command = "open " + path;
|
||||
std::string command = "open '" + path + "' > /dev/null 2> /dev/null";
|
||||
system(command.c_str());
|
||||
#else
|
||||
std::string command = "xdg-open " + path;
|
||||
std::string command = "xdg-open '" + path + "' > /dev/null 2> /dev/null";
|
||||
system(command.c_str());
|
||||
#endif
|
||||
}
|
||||
|
@ -70,7 +70,7 @@
|
||||
"settings_last_fm_dialog_message_obtaining_token": "contacting last.fm for an account link token...",
|
||||
"settings_last_fm_dialog_message_waiting_for_user": "press 'o' to open the account link page in your default browser, or manually navigate to the following url:\n\n{{link}}\n\nafter granting permission, press 'ENTER' to continue.\n\n(note: you may be asked to sign into your last.fm account.)",
|
||||
"settings_last_fm_dialog_message_registering_session": "getting a session token, please wait...",
|
||||
"settings_last_fm_dialog_message_registered": "registered with account: '{{username}}'.\n\ngo listen to some music!",
|
||||
"settings_last_fm_dialog_message_registered": "registered with account: '{{username}}'\n\ngo listen to some music!",
|
||||
"settings_last_fm_dialog_message_link_error": "failed to get an account link token from last.fm.\n\nplease try again later.",
|
||||
"settings_last_fm_dialog_message_register_error": "failed link your last.fm account.\n\nplease make sure you open the following url and grant permission:\n\n{{link}}\n\npress ENTER to try again.",
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user