feat: allow setting working directory in app.setUserTasks() / app.setJumpList() (#18148)
This commit is contained in:
parent
326215e1f1
commit
3a5e6f2551
8 changed files with 20 additions and 3 deletions
|
@ -85,6 +85,7 @@ struct Converter<Browser::UserTask> {
|
|||
return false;
|
||||
dict.Get("arguments", &(out->arguments));
|
||||
dict.Get("description", &(out->description));
|
||||
dict.Get("workingDirectory", &(out->working_dir));
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
@ -158,6 +159,7 @@ struct Converter<JumpListItem> {
|
|||
|
||||
dict.Get("args", &(out->arguments));
|
||||
dict.Get("description", &(out->description));
|
||||
dict.Get("workingDirectory", &(out->working_dir));
|
||||
return true;
|
||||
|
||||
case JumpListItem::Type::SEPARATOR:
|
||||
|
@ -184,6 +186,7 @@ struct Converter<JumpListItem> {
|
|||
dict.Set("iconPath", val.icon_path);
|
||||
dict.Set("iconIndex", val.icon_index);
|
||||
dict.Set("description", val.description);
|
||||
dict.Set("workingDirectory", val.working_dir);
|
||||
break;
|
||||
|
||||
case JumpListItem::Type::SEPARATOR:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue