@todesktop/shared 7.186.12 → 7.186.14
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/lib/desktopify2.d.ts +2 -2
- package/package.json +1 -1
- package/src/desktopify2.ts +3 -2
package/lib/desktopify2.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export interface DesktopifyMenuItemConstructorOptions extends Omit<MenuItemConst
|
|
|
44
44
|
bundledIcon?: string;
|
|
45
45
|
iconAssetDetails?: MenuIconAssetDetails;
|
|
46
46
|
useTemplateImage?: boolean;
|
|
47
|
-
acceleratorBehaviour?: 'none' | 'default' | 'custom';
|
|
47
|
+
acceleratorBehaviour?: 'none' | 'explicit-none' | 'default' | 'custom';
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Toggle Window Tray Action
|
|
@@ -236,7 +236,7 @@ export interface DesktopifyApp2<Plugin = DesktopAppPlugin> {
|
|
|
236
236
|
/**
|
|
237
237
|
* Configure auto updates
|
|
238
238
|
*/
|
|
239
|
-
autoUpdates
|
|
239
|
+
autoUpdates: AutoUpdateConfiguration;
|
|
240
240
|
/**
|
|
241
241
|
* App identifier
|
|
242
242
|
*/
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -80,7 +80,8 @@ export interface DesktopifyMenuItemConstructorOptions
|
|
|
80
80
|
bundledIcon?: string;
|
|
81
81
|
iconAssetDetails?: MenuIconAssetDetails;
|
|
82
82
|
useTemplateImage?: boolean;
|
|
83
|
-
|
|
83
|
+
// 'none' is kept for legacy reasons
|
|
84
|
+
acceleratorBehaviour?: 'none' | 'explicit-none' | 'default' | 'custom';
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
/**
|
|
@@ -367,7 +368,7 @@ export interface DesktopifyApp2<Plugin = DesktopAppPlugin> {
|
|
|
367
368
|
/**
|
|
368
369
|
* Configure auto updates
|
|
369
370
|
*/
|
|
370
|
-
autoUpdates
|
|
371
|
+
autoUpdates: AutoUpdateConfiguration;
|
|
371
372
|
|
|
372
373
|
/**
|
|
373
374
|
* App identifier
|