mirinjs 0.1.0-alpha.19 → 0.1.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/config/manifest.ts +10 -4
package/package.json
CHANGED
package/src/config/manifest.ts
CHANGED
|
@@ -91,10 +91,16 @@ export interface MirinConfig {
|
|
|
91
91
|
main: string;
|
|
92
92
|
/**
|
|
93
93
|
* App icon, relative to the project root. Accepts a `.icns`, a `.iconset`
|
|
94
|
-
* directory,
|
|
95
|
-
* `.icns` embedded in the bundle for the
|
|
96
|
-
* and sets it as the window's
|
|
97
|
-
* `.ico` for the exe and window.
|
|
94
|
+
* directory, a single square `.png` (≥512px), or an Icon Composer `.icon`
|
|
95
|
+
* document. macOS renders it into an `.icns` embedded in the bundle for the
|
|
96
|
+
* Dock and Finder; Linux resolves a PNG and sets it as the window's
|
|
97
|
+
* `_NET_WM_ICON` (taskbar/dock); Windows uses the `.ico` for the exe and window.
|
|
98
|
+
*
|
|
99
|
+
* An `.icon` document additionally compiles to an `Assets.car`, which is the
|
|
100
|
+
* only way macOS 26+ resolves light / dark / tinted appearance variants. That
|
|
101
|
+
* step needs `actool` from a full Xcode — with Command Line Tools alone the
|
|
102
|
+
* build warns and falls back to the plain `.icns`, so it never fails a build.
|
|
103
|
+
* On Linux and Windows an `.icon` is skipped; give those a `.png`/`.ico`.
|
|
98
104
|
*/
|
|
99
105
|
icon?: string;
|
|
100
106
|
/** CEF runtime packaging options. Omit to bundle every locale. */
|