* Stage production icons for desktop builds and publish - add shared brand asset paths and a Windows .ico asset - stage Linux/Windows icons in desktop artifact builds - override and restore publish favicon during server CLI publish * 'blip' * Fix PR review issues for publish icon staging * Refactor brand assets and harden Windows desktop build setup * Apply remaining server orchestration updates * Fix production mac icon asset Co-authored-by: Theo Browne <[email protected]> --------- Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: Theo Browne <[email protected]>
58 lines
2.2 KiB
TypeScript
58 lines
2.2 KiB
TypeScript
export const BRAND_ASSET_PATHS = {
|
|
productionMacIconPng: "assets/prod/black-macos-1024.png",
|
|
productionLinuxIconPng: "assets/prod/black-universal-1024.png",
|
|
productionWindowsIconIco: "assets/prod/t3-black-windows.ico",
|
|
productionWebFaviconIco: "assets/prod/t3-black-web-favicon.ico",
|
|
productionWebFavicon16Png: "assets/prod/t3-black-web-favicon-16x16.png",
|
|
productionWebFavicon32Png: "assets/prod/t3-black-web-favicon-32x32.png",
|
|
productionWebAppleTouchIconPng: "assets/prod/t3-black-web-apple-touch-180.png",
|
|
developmentWindowsIconIco: "assets/dev/blueprint-windows.ico",
|
|
developmentWebFaviconIco: "assets/dev/blueprint-web-favicon.ico",
|
|
developmentWebFavicon16Png: "assets/dev/blueprint-web-favicon-16x16.png",
|
|
developmentWebFavicon32Png: "assets/dev/blueprint-web-favicon-32x32.png",
|
|
developmentWebAppleTouchIconPng: "assets/dev/blueprint-web-apple-touch-180.png",
|
|
} as const;
|
|
|
|
export interface IconOverride {
|
|
readonly sourceRelativePath: string;
|
|
readonly targetRelativePath: string;
|
|
}
|
|
|
|
export const DEVELOPMENT_ICON_OVERRIDES: ReadonlyArray<IconOverride> = [
|
|
{
|
|
sourceRelativePath: BRAND_ASSET_PATHS.developmentWebFaviconIco,
|
|
targetRelativePath: "dist/client/favicon.ico",
|
|
},
|
|
{
|
|
sourceRelativePath: BRAND_ASSET_PATHS.developmentWebFavicon16Png,
|
|
targetRelativePath: "dist/client/favicon-16x16.png",
|
|
},
|
|
{
|
|
sourceRelativePath: BRAND_ASSET_PATHS.developmentWebFavicon32Png,
|
|
targetRelativePath: "dist/client/favicon-32x32.png",
|
|
},
|
|
{
|
|
sourceRelativePath: BRAND_ASSET_PATHS.developmentWebAppleTouchIconPng,
|
|
targetRelativePath: "dist/client/apple-touch-icon.png",
|
|
},
|
|
];
|
|
|
|
export const PUBLISH_ICON_OVERRIDES: ReadonlyArray<IconOverride> = [
|
|
{
|
|
sourceRelativePath: BRAND_ASSET_PATHS.productionWebFaviconIco,
|
|
targetRelativePath: "dist/client/favicon.ico",
|
|
},
|
|
{
|
|
sourceRelativePath: BRAND_ASSET_PATHS.productionWebFavicon16Png,
|
|
targetRelativePath: "dist/client/favicon-16x16.png",
|
|
},
|
|
{
|
|
sourceRelativePath: BRAND_ASSET_PATHS.productionWebFavicon32Png,
|
|
targetRelativePath: "dist/client/favicon-32x32.png",
|
|
},
|
|
{
|
|
sourceRelativePath: BRAND_ASSET_PATHS.productionWebAppleTouchIconPng,
|
|
targetRelativePath: "dist/client/apple-touch-icon.png",
|
|
},
|
|
];
|