@todesktop/shared 7.65.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/desktopify2.d.ts +4 -0
- package/lib/toDesktop.d.ts +1 -0
- package/package.json +1 -1
- package/src/desktopify.ts +3 -2
- package/src/desktopify2.ts +4 -0
- 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/desktopify2.d.ts
CHANGED
|
@@ -110,6 +110,10 @@ export interface DesktopifyAppWindow {
|
|
|
110
110
|
* Inital visibility of window
|
|
111
111
|
*/
|
|
112
112
|
visibility: "visible" | "hidden" | "show-when-contents-loaded";
|
|
113
|
+
/**
|
|
114
|
+
* MacOS option for whether the window should be visible on all workspaces
|
|
115
|
+
*/
|
|
116
|
+
visibleOnAllWorkspaces: boolean;
|
|
113
117
|
/**
|
|
114
118
|
* Does the window have a minimum width. Default is `false`
|
|
115
119
|
*/
|
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/desktopify2.ts
CHANGED
|
@@ -212,6 +212,10 @@ export interface DesktopifyAppWindow {
|
|
|
212
212
|
* Inital visibility of window
|
|
213
213
|
*/
|
|
214
214
|
visibility: "visible" | "hidden" | "show-when-contents-loaded";
|
|
215
|
+
/**
|
|
216
|
+
* MacOS option for whether the window should be visible on all workspaces
|
|
217
|
+
*/
|
|
218
|
+
visibleOnAllWorkspaces: boolean;
|
|
215
219
|
/**
|
|
216
220
|
* Does the window have a minimum width. Default is `false`
|
|
217
221
|
*/
|
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;
|