@todesktop/shared 7.188.43 → 7.188.45

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/base.d.ts CHANGED
@@ -255,10 +255,14 @@ export interface BaseApp extends Schemable {
255
255
  shouldCreateSnapFiles?: boolean;
256
256
  appxConfig?: Partial<IAppBuilderLib['config']['appx']>;
257
257
  masConfig?: Partial<IAppBuilderLib['config']['mas']>;
258
+ msiConfig?: MSIConfig;
258
259
  nsisConfig?: Partial<IAppBuilderLib['config']['nsis']>;
259
260
  snapStore?: {
260
261
  login?: string;
261
262
  description?: string;
262
263
  };
263
264
  }
265
+ interface MSIConfig extends Partial<IAppBuilderLib['config']['msi']> {
266
+ autoUpdatesEnabled?: boolean;
267
+ }
264
268
  export {};
@@ -162,6 +162,10 @@ export interface DesktopifyAppWindow {
162
162
  * Disables default rightClick menu
163
163
  */
164
164
  disableContextMenu: boolean;
165
+ /**
166
+ * Disables the menu item for opening a link in a new app window
167
+ */
168
+ disableContextMenuOpenInWindow: boolean;
165
169
  /**
166
170
  * Allows user to `Cmd+F` or `Edit>Find` to search for text on page
167
171
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.43",
3
+ "version": "7.188.45",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -293,6 +293,12 @@ export interface BaseApp extends Schemable {
293
293
  // artifact configs
294
294
  appxConfig?: Partial<IAppBuilderLib['config']['appx']>;
295
295
  masConfig?: Partial<IAppBuilderLib['config']['mas']>;
296
+ msiConfig?: MSIConfig;
296
297
  nsisConfig?: Partial<IAppBuilderLib['config']['nsis']>;
297
298
  snapStore?: { login?: string; description?: string };
298
299
  }
300
+
301
+ interface MSIConfig extends Partial<IAppBuilderLib['config']['msi']> {
302
+ // whether or not auto-updates should be enabled for this artifacts
303
+ autoUpdatesEnabled?: boolean;
304
+ }
@@ -288,6 +288,10 @@ export interface DesktopifyAppWindow {
288
288
  * Disables default rightClick menu
289
289
  */
290
290
  disableContextMenu: boolean;
291
+ /**
292
+ * Disables the menu item for opening a link in a new app window
293
+ */
294
+ disableContextMenuOpenInWindow: boolean;
291
295
  /**
292
296
  * Allows user to `Cmd+F` or `Edit>Find` to search for text on page
293
297
  */