@todesktop/shared 7.184.22 → 7.184.23
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 +6 -0
- package/package.json +1 -1
- package/src/desktopify2.ts +7 -0
package/lib/desktopify2.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ export interface DesktopifyAppTray {
|
|
|
84
84
|
linuxIconAssetDetails?: TrayMenubarIconAssetDetails;
|
|
85
85
|
bundledIcon?: string;
|
|
86
86
|
iconAssetDetails?: TrayMenubarIconAssetDetails;
|
|
87
|
+
swapClickHandlers?: boolean;
|
|
87
88
|
useTemplateImage?: boolean;
|
|
88
89
|
rightClick: DesktopifyAppTrayAction;
|
|
89
90
|
leftClick: DesktopifyAppTrayAction;
|
|
@@ -404,5 +405,10 @@ export interface DesktopifyApp2 {
|
|
|
404
405
|
}
|
|
405
406
|
export interface IApp2 extends BaseApp {
|
|
406
407
|
desktopApp: DesktopifyApp2;
|
|
408
|
+
desktopAppOverrides?: {
|
|
409
|
+
linux?: Partial<DesktopifyApp2>;
|
|
410
|
+
mac?: Partial<DesktopifyApp2>;
|
|
411
|
+
windows?: Partial<DesktopifyApp2>;
|
|
412
|
+
};
|
|
407
413
|
}
|
|
408
414
|
export {};
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -126,6 +126,7 @@ export interface DesktopifyAppTray {
|
|
|
126
126
|
linuxIconAssetDetails?: TrayMenubarIconAssetDetails;
|
|
127
127
|
bundledIcon?: string;
|
|
128
128
|
iconAssetDetails?: TrayMenubarIconAssetDetails;
|
|
129
|
+
swapClickHandlers?: boolean;
|
|
129
130
|
useTemplateImage?: boolean;
|
|
130
131
|
rightClick: DesktopifyAppTrayAction;
|
|
131
132
|
leftClick: DesktopifyAppTrayAction;
|
|
@@ -535,4 +536,10 @@ export interface DesktopifyApp2 {
|
|
|
535
536
|
export interface IApp2 extends BaseApp {
|
|
536
537
|
// Be careful when coercing to `IApp2` that we always check for `desktopApp` first
|
|
537
538
|
desktopApp: DesktopifyApp2;
|
|
539
|
+
|
|
540
|
+
desktopAppOverrides?: {
|
|
541
|
+
linux?: Partial<DesktopifyApp2>;
|
|
542
|
+
mac?: Partial<DesktopifyApp2>;
|
|
543
|
+
windows?: Partial<DesktopifyApp2>;
|
|
544
|
+
};
|
|
538
545
|
}
|