@todesktop/shared 7.188.44 → 7.188.46

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
@@ -246,6 +246,7 @@ export interface BaseApp extends Schemable {
246
246
  shouldCreateDebianPackages?: boolean;
247
247
  shouldCreateDMGs?: boolean;
248
248
  shouldCreateMacAppStoreFiles?: boolean;
249
+ shouldCreateMacPKG?: boolean;
249
250
  shouldCreateMacUniversalInstaller?: boolean;
250
251
  shouldCreateMacZipInstallers?: boolean;
251
252
  shouldCreateMSIInstallers?: boolean;
@@ -255,10 +256,14 @@ export interface BaseApp extends Schemable {
255
256
  shouldCreateSnapFiles?: boolean;
256
257
  appxConfig?: Partial<IAppBuilderLib['config']['appx']>;
257
258
  masConfig?: Partial<IAppBuilderLib['config']['mas']>;
259
+ msiConfig?: MSIConfig;
258
260
  nsisConfig?: Partial<IAppBuilderLib['config']['nsis']>;
259
261
  snapStore?: {
260
262
  login?: string;
261
263
  description?: string;
262
264
  };
263
265
  }
266
+ interface MSIConfig extends Partial<IAppBuilderLib['config']['msi']> {
267
+ autoUpdatesEnabled?: boolean;
268
+ }
264
269
  export {};
@@ -45,7 +45,7 @@ export declare type MacArch = 'x64' | 'arm64' | 'universal';
45
45
  export declare type LinuxArch = 'x64' | 'arm64';
46
46
  export declare type WindowsArch = 'ia32' | 'x64' | 'arm64' | 'universal';
47
47
  export declare type LinuxArtifactName = 'appImage' | 'deb' | 'rpm' | 'snap';
48
- export declare type MacArtifactName = 'dmg' | 'zip' | 'installer' | 'mas';
48
+ export declare type MacArtifactName = 'dmg' | 'zip' | 'installer' | 'mas' | 'pkg';
49
49
  export declare type WindowsArtifactName = 'msi' | 'nsis' | 'nsis-web' | 'nsis-web-7z' | 'appx';
50
50
  declare type ArtifactDownload = Record<Arch, {
51
51
  size: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.44",
3
+ "version": "7.188.46",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -282,6 +282,7 @@ export interface BaseApp extends Schemable {
282
282
  shouldCreateDebianPackages?: boolean;
283
283
  shouldCreateDMGs?: boolean;
284
284
  shouldCreateMacAppStoreFiles?: boolean;
285
+ shouldCreateMacPKG?: boolean;
285
286
  shouldCreateMacUniversalInstaller?: boolean;
286
287
  shouldCreateMacZipInstallers?: boolean;
287
288
  shouldCreateMSIInstallers?: boolean;
@@ -293,6 +294,12 @@ export interface BaseApp extends Schemable {
293
294
  // artifact configs
294
295
  appxConfig?: Partial<IAppBuilderLib['config']['appx']>;
295
296
  masConfig?: Partial<IAppBuilderLib['config']['mas']>;
297
+ msiConfig?: MSIConfig;
296
298
  nsisConfig?: Partial<IAppBuilderLib['config']['nsis']>;
297
299
  snapStore?: { login?: string; description?: string };
298
300
  }
301
+
302
+ interface MSIConfig extends Partial<IAppBuilderLib['config']['msi']> {
303
+ // whether or not auto-updates should be enabled for this artifacts
304
+ autoUpdatesEnabled?: boolean;
305
+ }
package/src/desktopify.ts CHANGED
@@ -62,7 +62,7 @@ export type MacArch = 'x64' | 'arm64' | 'universal';
62
62
  export type LinuxArch = 'x64' | 'arm64';
63
63
  export type WindowsArch = 'ia32' | 'x64' | 'arm64' | 'universal';
64
64
  export type LinuxArtifactName = 'appImage' | 'deb' | 'rpm' | 'snap';
65
- export type MacArtifactName = 'dmg' | 'zip' | 'installer' | 'mas';
65
+ export type MacArtifactName = 'dmg' | 'zip' | 'installer' | 'mas' | 'pkg';
66
66
  export type WindowsArtifactName =
67
67
  | 'msi'
68
68
  | 'nsis'