@todesktop/shared 7.132.0 → 7.134.0

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.
@@ -40,6 +40,7 @@ export interface DesktopifyMenuItemConstructorOptions extends Omit<MenuItemConst
40
40
  bundledIcon?: string;
41
41
  iconAssetDetails?: MenuIconAssetDetails;
42
42
  useTemplateImage?: boolean;
43
+ acceleratorBehaviour?: "none" | "default" | "custom";
43
44
  }
44
45
  /**
45
46
  * Toggle Window Tray Action
@@ -220,6 +221,11 @@ export interface DesktopifyApp2 {
220
221
  * Whether the app should minimize to tray when all windows are closed. Requires at least one tray.
221
222
  */
222
223
  shouldMinimizeToTray?: boolean;
224
+ /**
225
+ * This option is only available when `shouldMinimizeToTray` is `true`.
226
+ * Always display the dock icon while the app is open. Even if there are no windows open.
227
+ */
228
+ shouldAlwaysDisplayDockIcon?: boolean;
223
229
  /**
224
230
  * Only allow a single instance of this app to run
225
231
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.132.0",
3
+ "version": "7.134.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -71,6 +71,7 @@ export interface DesktopifyMenuItemConstructorOptions
71
71
  bundledIcon?: string;
72
72
  iconAssetDetails?: MenuIconAssetDetails;
73
73
  useTemplateImage?: boolean;
74
+ acceleratorBehaviour?: "none" | "default" | "custom";
74
75
  }
75
76
 
76
77
  /**
@@ -343,6 +344,11 @@ export interface DesktopifyApp2 {
343
344
  * Whether the app should minimize to tray when all windows are closed. Requires at least one tray.
344
345
  */
345
346
  shouldMinimizeToTray?: boolean;
347
+ /**
348
+ * This option is only available when `shouldMinimizeToTray` is `true`.
349
+ * Always display the dock icon while the app is open. Even if there are no windows open.
350
+ */
351
+ shouldAlwaysDisplayDockIcon?: boolean;
346
352
  /**
347
353
  * Only allow a single instance of this app to run
348
354
  */