Skip to content

Commit

Permalink
feat(splash screen) add taskbarIcon property for splash screen wind…
Browse files Browse the repository at this point in the history
…ow (#673)
  • Loading branch information
camc314 authored Jan 24, 2024
1 parent 2d45521 commit a79b8d0
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 @@ -4180,6 +4180,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 @@ -4172,6 +4172,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 a79b8d0

Please sign in to comment.