Skip to content

Commit

Permalink
feat(splash screen) add taskbarIcon property for splash screen window
Browse files Browse the repository at this point in the history
  • Loading branch information
camc314 committed Jan 23, 2024
1 parent 5f9ac8c commit e73fd8c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions how-to/workspace-platform-starter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## v17.0.0

- Added support for dock submenus
- Added support for customizing the taskbar icon for the splash screen window

## v16.1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export async function open(): Promise<void> {
resizable: false,
saveWindowState: false,
showTaskbarIcon: true,
icon: customSettings?.splashScreenProvider?.taskbarIcon ?? icon,
customData: {
channelName,
style: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ export interface SplashScreenProviderOptions {
* The border color, defaults to theme border.
*/
borderColor?: string;

/**
* The taskbar icon. Falls back to icon if not provided.
*/
taskbarIcon?: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@ export interface SplashScreenProviderOptions {
* The border color, defaults to theme border.
*/
borderColor?: string;
/**
* The taskbar icon. Falls back to icon if not provided.
*/
taskbarIcon?: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4176,6 +4176,10 @@
"description": "This defaults to manifest.platform.icon if not provided.",
"type": "string"
},
"taskbarIcon": {
"description": "The taskbar icon. Falls back to icon if not provided.",
"type": "string"
},
"textColor": {
"description": "The text color, defaults to theme text.",
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4168,6 +4168,10 @@
"description": "This defaults to manifest.platform.icon if not provided.",
"type": "string"
},
"taskbarIcon": {
"description": "The taskbar icon. Falls back to icon if not provided.",
"type": "string"
},
"textColor": {
"description": "The text color, defaults to theme text.",
"type": "string"
Expand Down

0 comments on commit e73fd8c

Please sign in to comment.