@todesktop/shared 7.67.0 → 7.68.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/desktopify.d.ts +3 -2
- package/lib/toDesktop.d.ts +1 -0
- package/package.json +1 -1
- package/src/desktopify.ts +3 -2
- package/src/toDesktop.ts +1 -0
package/lib/desktopify.d.ts
CHANGED
|
@@ -30,8 +30,9 @@ export declare enum BuildStatus {
|
|
|
30
30
|
cancelled = "cancelled"
|
|
31
31
|
}
|
|
32
32
|
export declare type Arch = "ia32" | "x64" | "arm64";
|
|
33
|
+
export declare type MacArch = "ia32" | "x64" | "arm64" | "universal";
|
|
33
34
|
export declare type LinuxArtifactName = "appImage" | "deb" | "rpm" | "snap";
|
|
34
|
-
export declare type MacArtifactName = "dmg" | "zip";
|
|
35
|
+
export declare type MacArtifactName = "dmg" | "zip" | "installer";
|
|
35
36
|
export declare type WindowsArtifactName = "msi" | "nsis" | "appx";
|
|
36
37
|
declare type ArtifactDownload = Record<Arch, {
|
|
37
38
|
size: number;
|
|
@@ -127,7 +128,7 @@ export interface LinuxCustomManifest extends CustomManifest {
|
|
|
127
128
|
artifacts: Record<LinuxArtifactName, Record<Arch, CustomManifestArtifactDetails | null> | null>;
|
|
128
129
|
}
|
|
129
130
|
export interface MacCustomManifest extends CustomManifest {
|
|
130
|
-
artifacts: Record<MacArtifactName, Record<
|
|
131
|
+
artifacts: Record<MacArtifactName, Record<MacArch, CustomManifestArtifactDetails | null> | null>;
|
|
131
132
|
}
|
|
132
133
|
export interface WindowsCustomManifest extends CustomManifest {
|
|
133
134
|
artifacts: Record<WindowsArtifactName, Record<Arch, CustomManifestArtifactDetails | null> | null>;
|
package/lib/toDesktop.d.ts
CHANGED
|
@@ -281,6 +281,7 @@ export interface IApp extends BaseApp {
|
|
|
281
281
|
shouldCreateNSISInstallers?: boolean;
|
|
282
282
|
shouldCreateRPMPackages?: boolean;
|
|
283
283
|
shouldCreateSnapFiles?: boolean;
|
|
284
|
+
shouldCreateMacUniversalInstaller?: boolean;
|
|
284
285
|
shouldLaunchAtStartupByDefault?: boolean;
|
|
285
286
|
shouldOnlySendAbsolutelyNecessaryRequests?: boolean;
|
|
286
287
|
shouldReuseRendererProcess?: boolean;
|
package/package.json
CHANGED
package/src/desktopify.ts
CHANGED
|
@@ -46,8 +46,9 @@ export enum BuildStatus {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
export type Arch = "ia32" | "x64" | "arm64";
|
|
49
|
+
export type MacArch = "ia32" | "x64" | "arm64" | "universal";
|
|
49
50
|
export type LinuxArtifactName = "appImage" | "deb" | "rpm" | "snap";
|
|
50
|
-
export type MacArtifactName = "dmg" | "zip";
|
|
51
|
+
export type MacArtifactName = "dmg" | "zip" | "installer";
|
|
51
52
|
export type WindowsArtifactName = "msi" | "nsis" | "appx";
|
|
52
53
|
|
|
53
54
|
type ArtifactDownload = Record<
|
|
@@ -191,7 +192,7 @@ export interface LinuxCustomManifest extends CustomManifest {
|
|
|
191
192
|
export interface MacCustomManifest extends CustomManifest {
|
|
192
193
|
artifacts: Record<
|
|
193
194
|
MacArtifactName,
|
|
194
|
-
Record<
|
|
195
|
+
Record<MacArch, CustomManifestArtifactDetails | null> | null
|
|
195
196
|
>;
|
|
196
197
|
}
|
|
197
198
|
|
package/src/toDesktop.ts
CHANGED
|
@@ -312,6 +312,7 @@ export interface IApp extends BaseApp {
|
|
|
312
312
|
shouldCreateNSISInstallers?: boolean;
|
|
313
313
|
shouldCreateRPMPackages?: boolean;
|
|
314
314
|
shouldCreateSnapFiles?: boolean;
|
|
315
|
+
shouldCreateMacUniversalInstaller?: boolean;
|
|
315
316
|
shouldLaunchAtStartupByDefault?: boolean;
|
|
316
317
|
shouldOnlySendAbsolutelyNecessaryRequests?: boolean;
|
|
317
318
|
shouldReuseRendererProcess?: boolean;
|