@todesktop/shared 7.93.0 → 7.96.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.
- package/lib/desktopify2.d.ts +13 -2
- package/package.json +1 -1
- package/src/desktopify2.ts +13 -2
package/lib/desktopify2.d.ts
CHANGED
|
@@ -41,7 +41,11 @@ export declare type DesktopifyAppTrayNoAction = {
|
|
|
41
41
|
export declare type DesktopifyAppTrayAction = DesktopifyAppTrayToggleMenuAction | DesktopifyAppTrayToggleWindowAction | DesktopifyAppTrayNoAction;
|
|
42
42
|
export interface DesktopifyAppTray {
|
|
43
43
|
id: string;
|
|
44
|
-
icon
|
|
44
|
+
icon?: string;
|
|
45
|
+
useSeparateIcons?: boolean;
|
|
46
|
+
windowsIcon?: string;
|
|
47
|
+
macOSIcon?: string;
|
|
48
|
+
linuxIcon?: string;
|
|
45
49
|
bundledIcon?: string;
|
|
46
50
|
useTemplateImage?: boolean;
|
|
47
51
|
rightClick: DesktopifyAppTrayAction;
|
|
@@ -85,7 +89,7 @@ export interface DesktopifyAppWindow {
|
|
|
85
89
|
/**
|
|
86
90
|
* The type of window
|
|
87
91
|
*/
|
|
88
|
-
type: "menubar" | "app";
|
|
92
|
+
type: "menubar" | "app" | "panel";
|
|
89
93
|
/**
|
|
90
94
|
* The window's application menu
|
|
91
95
|
*/
|
|
@@ -163,6 +167,13 @@ export interface DesktopifyApp2 {
|
|
|
163
167
|
* The app icon
|
|
164
168
|
*/
|
|
165
169
|
icon?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Instead of using one icon for every platform, use a separate icon for different platforms
|
|
172
|
+
*/
|
|
173
|
+
useSeparateIcons?: boolean;
|
|
174
|
+
windowsIcon?: string;
|
|
175
|
+
macOSIcon?: string;
|
|
176
|
+
linuxIcon?: string;
|
|
166
177
|
/**
|
|
167
178
|
* The name of the company that the app belongs to
|
|
168
179
|
*/
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -71,7 +71,11 @@ export type DesktopifyAppTrayAction =
|
|
|
71
71
|
|
|
72
72
|
export interface DesktopifyAppTray {
|
|
73
73
|
id: string;
|
|
74
|
-
icon
|
|
74
|
+
icon?: string;
|
|
75
|
+
useSeparateIcons?: boolean;
|
|
76
|
+
windowsIcon?: string;
|
|
77
|
+
macOSIcon?: string;
|
|
78
|
+
linuxIcon?: string;
|
|
75
79
|
bundledIcon?: string;
|
|
76
80
|
useTemplateImage?: boolean;
|
|
77
81
|
rightClick: DesktopifyAppTrayAction;
|
|
@@ -192,7 +196,7 @@ export interface DesktopifyAppWindow {
|
|
|
192
196
|
/**
|
|
193
197
|
* The type of window
|
|
194
198
|
*/
|
|
195
|
-
type: "menubar" | "app";
|
|
199
|
+
type: "menubar" | "app" | "panel";
|
|
196
200
|
/**
|
|
197
201
|
* The window's application menu
|
|
198
202
|
*/
|
|
@@ -275,6 +279,13 @@ export interface DesktopifyApp2 {
|
|
|
275
279
|
* The app icon
|
|
276
280
|
*/
|
|
277
281
|
icon?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Instead of using one icon for every platform, use a separate icon for different platforms
|
|
284
|
+
*/
|
|
285
|
+
useSeparateIcons?: boolean;
|
|
286
|
+
windowsIcon?: string;
|
|
287
|
+
macOSIcon?: string;
|
|
288
|
+
linuxIcon?: string;
|
|
278
289
|
/**
|
|
279
290
|
* The name of the company that the app belongs to
|
|
280
291
|
*/
|