mirror of
https://github.com/XorTroll/uLaunch
synced 2024-11-22 20:03:08 +00:00
Fix specifying user
This commit is contained in:
parent
6d7b4913e7
commit
71b7d03b41
1 changed files with 2 additions and 2 deletions
|
@ -40,6 +40,8 @@ void CommonSleepHandle()
|
|||
am::QDaemonStatus CreateStatus()
|
||||
{
|
||||
am::QDaemonStatus status = {};
|
||||
memcpy(&status.selected_user, &selected_uid, sizeof(selected_uid));
|
||||
|
||||
cfg::TitleType tmptype = cfg::TitleType::Invalid;
|
||||
if(am::ApplicationIsActive())
|
||||
{
|
||||
|
@ -50,8 +52,6 @@ am::QDaemonStatus CreateStatus()
|
|||
if(tmptype == cfg::TitleType::Installed) status.app_id = am::ApplicationGetId();
|
||||
else if(tmptype == cfg::TitleType::Homebrew) memcpy(&status.input, &hbapplaunch_copy, sizeof(hbapplaunch_copy));
|
||||
|
||||
status.selected_user = selected_uid;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue