win: Set app user model ID
This ID is used by Windows to identify your application.
This commit is contained in:
parent
78322b5231
commit
528f7bd45f
3 changed files with 24 additions and 1 deletions
|
@ -70,6 +70,10 @@ std::string Browser::GetName() const {
|
|||
|
||||
void Browser::SetName(const std::string& name) {
|
||||
name_override_ = name;
|
||||
|
||||
#if defined(OS_WIN)
|
||||
SetAppUserModelID(name);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Browser::OpenFile(const std::string& file_path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue