You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Unsupported actool version. Must be on actool 26.0.0 or higher but found ${acToolVersion}. Install XCode 26 or higher to get a supported version of actool.`,
Copy file name to clipboardExpand all lines: src/types.ts
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -434,10 +434,14 @@ export interface Options {
434
434
helperBundleId?: string;
435
435
/**
436
436
* The local path to the icon file, if the target platform supports setting embedding an icon.
437
+
*
438
+
* Only macOS supports multiple paths, every other platform must be a single path. On macOS you can provide
439
+
* **both** an `.icns` and an `.icon` file. The `.icns` file will be used on macOS < 26 and `.icon` will be used
440
+
* on macOS >= 26.
437
441
*
438
442
* Currently you must look for conversion tools in order to supply an icon in the format required by the platform:
439
443
*
440
-
* - macOS: `.icns`
444
+
* - macOS: `.icon` from Icon Composer (only supported if Xcode 26 or higher is present) or `.icns`
441
445
* - Windows: `.ico` ([See the readme](https://github.com/electron/packager#building-windows-apps-from-non-windows-platforms) for details on non-Windows platforms)
442
446
* - Linux: this option is not supported, as the dock/window list icon is set via
443
447
* [the `icon` option in the `BrowserWindow` constructor](https://electronjs.org/docs/api/browser-window/#new-browserwindowoptions).
@@ -447,7 +451,7 @@ export interface Options {
447
451
* If the file extension is omitted, it is auto-completed to the correct extension based on the
448
452
* platform, including when {@link platform |`platform: 'all'`} is in effect.
449
453
*/
450
-
icon?: string;
454
+
icon?: string|string[];
451
455
/**
452
456
* One or more additional [regular expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions)
453
457
* patterns which specify which files to ignore when copying files to create the app bundle(s). The
0 commit comments