Give AgentCompany its own face: the pixel office tower icon
A new icon generated for the brand: an isometric pixel-art office building with warm lit windows and the app's violet-blue accent wall on deep indigo - the office floor is the product's signature, now it is the identity too. The generated artwork is rebuilt into a clean 1024 square master (resources/icon.png, Linux and the packaged base), a Big Sur rounded variant with transparent corners for macOS (icon-mac.png), and a multi-size Windows icon.ico (16-256). electron-builder wires each platform to its variant, the icon ships inside the package, and Windows/Linux windows carry it at runtime including dev. Verified by extracting the icon back out of a packaged AgentCompany.exe.
This commit is contained in:
1 parent
07d0b4587d
commit
3246ea5f98
5 files changed
+6
No files matched your search
@@ -7,9 +7,11 @@ directories:
|
|||||||
files:
|
files:
|
||||||
- out/**/*
|
- out/**/*
|
||||||
- package.json
|
- package.json
|
||||||
|
- resources/icon.png
|
||||||
asar: true
|
asar: true
|
||||||
mac:
|
mac:
|
||||||
category: public.app-category.business
|
category: public.app-category.business
|
||||||
|
icon: resources/icon-mac.png
|
||||||
hardenedRuntime: true
|
hardenedRuntime: true
|
||||||
gatekeeperAssess: false
|
gatekeeperAssess: false
|
||||||
entitlements: resources/entitlements.mac.plist
|
entitlements: resources/entitlements.mac.plist
|
||||||
@@ -24,6 +26,7 @@ mac:
|
|||||||
- x64
|
- x64
|
||||||
- arm64
|
- arm64
|
||||||
win:
|
win:
|
||||||
|
icon: resources/icon.ico
|
||||||
target:
|
target:
|
||||||
- target: nsis
|
- target: nsis
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 427 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 371 KiB |
@@ -15,6 +15,9 @@ export function createMainWindow(options: CreateWindowOptions): BrowserWindow {
|
|||||||
minWidth: 980,
|
minWidth: 980,
|
||||||
minHeight: 700,
|
minHeight: 700,
|
||||||
title: "AgentCompany",
|
title: "AgentCompany",
|
||||||
|
// macOS takes the window image from the app bundle; Windows and Linux
|
||||||
|
// want it on the window itself (dev runs included).
|
||||||
|
...(process.platform === "darwin" ? {} : { icon: join(__dirname, "../../resources/icon.png") }),
|
||||||
show: false,
|
show: false,
|
||||||
titleBarStyle: process.platform === "darwin" ? "hiddenInset" : "hidden",
|
titleBarStyle: process.platform === "darwin" ? "hiddenInset" : "hidden",
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
|
|||||||
Reference in new issue
Block a user