@todesktop/shared 7.74.0 → 7.75.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 +5 -0
- package/package.json +1 -1
- package/src/desktopify2.ts +5 -0
package/lib/desktopify2.d.ts
CHANGED
|
@@ -262,6 +262,11 @@ export interface DesktopifyApp2 {
|
|
|
262
262
|
* https://linear.app/todesktop/issue/TD-1428/html-injection-due-to-regular-expression-bypass
|
|
263
263
|
*/
|
|
264
264
|
useSafeInternalUrlMatcher?: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* Sets whether the window menu bar should hide itself automatically.
|
|
267
|
+
* Once set the menu bar will only show when users press the single Alt key.
|
|
268
|
+
*/
|
|
269
|
+
autoHideMenuBar?: boolean;
|
|
265
270
|
}
|
|
266
271
|
export interface IApp2 extends BaseApp {
|
|
267
272
|
desktopApp: DesktopifyApp2;
|
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -369,6 +369,11 @@ export interface DesktopifyApp2 {
|
|
|
369
369
|
* https://linear.app/todesktop/issue/TD-1428/html-injection-due-to-regular-expression-bypass
|
|
370
370
|
*/
|
|
371
371
|
useSafeInternalUrlMatcher?: boolean;
|
|
372
|
+
/**
|
|
373
|
+
* Sets whether the window menu bar should hide itself automatically.
|
|
374
|
+
* Once set the menu bar will only show when users press the single Alt key.
|
|
375
|
+
*/
|
|
376
|
+
autoHideMenuBar?: boolean;
|
|
372
377
|
}
|
|
373
378
|
|
|
374
379
|
export interface IApp2 extends BaseApp {
|