@todesktop/shared 7.100.0 → 7.103.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.
@@ -34,7 +34,7 @@ export declare type Arch = "ia32" | "x64" | "arm64";
34
34
  export declare type MacArch = "ia32" | "x64" | "arm64" | "universal";
35
35
  export declare type LinuxArtifactName = "appImage" | "deb" | "rpm" | "snap";
36
36
  export declare type MacArtifactName = "dmg" | "zip" | "installer";
37
- export declare type WindowsArtifactName = "msi" | "nsis" | "appx";
37
+ export declare type WindowsArtifactName = "msi" | "nsis" | "nsis-web" | "appx";
38
38
  declare type ArtifactDownload = Record<Arch, {
39
39
  size: number;
40
40
  standardUrl: URL;
@@ -5,7 +5,7 @@ import { BaseApp } from "./base";
5
5
  /**
6
6
  * Custom ToDesktop Roles for Application & Tray Menus
7
7
  */
8
- declare type todesktopRoles = "todesktop:launch-at-startup" | "todesktop:check-for-updates" | "todesktop:quit" | "todesktop:new-window" | "todesktop:new-tab" | "todesktop:check-for-updates" | "todesktop:history-home" | "todesktop:history-back" | "todesktop:history-forward" | "todesktop:show-window" | "todesktop:hide-window" | "todesktop:toggle-window0" | "todesktop:toggle-window1" | "todesktop:toggle-window2" | "todesktop:toggle-window3" | "todesktop:toggle-window4";
8
+ declare type todesktopRoles = "todesktop:launch-at-startup" | "todesktop:check-for-updates" | "todesktop:quit" | "todesktop:new-window" | "todesktop:new-tab" | "todesktop:check-for-updates" | "todesktop:history-home" | "todesktop:history-back" | "todesktop:history-forward" | "todesktop:show-window" | "todesktop:hide-window" | "todesktop:toggle-window" | "todesktop:toggle-window0" | "todesktop:toggle-window1" | "todesktop:toggle-window2" | "todesktop:toggle-window3" | "todesktop:toggle-window4";
9
9
  export interface DesktopifyMenuItemConstructorOptions extends Omit<MenuItemConstructorOptions, "role" | "submenu"> {
10
10
  platforms?: NodeJS.Platform[];
11
11
  submenu?: DesktopifyMenuItemConstructorOptions[];
@@ -156,6 +156,7 @@ export interface IApp extends BaseApp {
156
156
  shouldCreateMacZipInstallers?: boolean;
157
157
  shouldCreateMSIInstallers?: boolean;
158
158
  shouldCreateNSISInstallers?: boolean;
159
+ shouldCreateNSISWebInstaller?: boolean;
159
160
  shouldCreateRPMPackages?: boolean;
160
161
  shouldCreateSnapFiles?: boolean;
161
162
  shouldCreateMacUniversalInstaller?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.100.0",
3
+ "version": "7.103.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/desktopify.ts CHANGED
@@ -50,7 +50,7 @@ export type Arch = "ia32" | "x64" | "arm64";
50
50
  export type MacArch = "ia32" | "x64" | "arm64" | "universal";
51
51
  export type LinuxArtifactName = "appImage" | "deb" | "rpm" | "snap";
52
52
  export type MacArtifactName = "dmg" | "zip" | "installer";
53
- export type WindowsArtifactName = "msi" | "nsis" | "appx";
53
+ export type WindowsArtifactName = "msi" | "nsis" | "nsis-web" | "appx";
54
54
 
55
55
  type ArtifactDownload = Record<
56
56
  Arch,
@@ -21,6 +21,7 @@ type todesktopRoles =
21
21
  | "todesktop:history-forward"
22
22
  | "todesktop:show-window"
23
23
  | "todesktop:hide-window"
24
+ | "todesktop:toggle-window"
24
25
  | "todesktop:toggle-window0"
25
26
  | "todesktop:toggle-window1"
26
27
  | "todesktop:toggle-window2"
package/src/toDesktop.ts CHANGED
@@ -176,6 +176,7 @@ export interface IApp extends BaseApp {
176
176
  shouldCreateMacZipInstallers?: boolean;
177
177
  shouldCreateMSIInstallers?: boolean;
178
178
  shouldCreateNSISInstallers?: boolean;
179
+ shouldCreateNSISWebInstaller?: boolean;
179
180
  shouldCreateRPMPackages?: boolean;
180
181
  shouldCreateSnapFiles?: boolean;
181
182
  shouldCreateMacUniversalInstaller?: boolean;