@todesktop/shared 7.186.15 → 7.186.17
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 +63 -58
- package/package.json +1 -1
- package/src/base.ts +64 -58
package/lib/base.d.ts
CHANGED
|
@@ -49,64 +49,7 @@ export interface IAppMeta {
|
|
|
49
49
|
releaseId?: Release['id'];
|
|
50
50
|
linux?: IAppBuildProgress;
|
|
51
51
|
mac?: IAppBuildProgress;
|
|
52
|
-
projectConfig?:
|
|
53
|
-
appBuilderLibVersion?: string;
|
|
54
|
-
appId?: string;
|
|
55
|
-
appFiles?: string[];
|
|
56
|
-
appPath?: FilePath;
|
|
57
|
-
appProtocolScheme?: string | string[];
|
|
58
|
-
asar?: boolean;
|
|
59
|
-
asarUnpack?: boolean | string[];
|
|
60
|
-
copyright?: string;
|
|
61
|
-
dmg?: {
|
|
62
|
-
background?: FilePath;
|
|
63
|
-
artifactName?: string;
|
|
64
|
-
backgroundColor?: string;
|
|
65
|
-
iconSize?: number;
|
|
66
|
-
iconTextSize?: number;
|
|
67
|
-
title?: string;
|
|
68
|
-
contents?: IAppBuilderLib['config']['dmg']['contents'];
|
|
69
|
-
window?: IAppBuilderLib['config']['dmg']['window'];
|
|
70
|
-
};
|
|
71
|
-
extraContentFiles?: ExtraFileReference[];
|
|
72
|
-
electronMirror?: string;
|
|
73
|
-
electronVersion?: string;
|
|
74
|
-
extraResources?: ExtraFileReference[];
|
|
75
|
-
fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
|
|
76
|
-
filesForDistribution?: string[];
|
|
77
|
-
icon: FilePath;
|
|
78
|
-
id: string;
|
|
79
|
-
linux?: {
|
|
80
|
-
category?: string;
|
|
81
|
-
icon?: FilePath;
|
|
82
|
-
noSandbox?: boolean;
|
|
83
|
-
};
|
|
84
|
-
mac?: {
|
|
85
|
-
additionalBinariesToSign?: FilePath[];
|
|
86
|
-
category?: string;
|
|
87
|
-
dmgBackground?: FilePath;
|
|
88
|
-
entitlements?: FilePath;
|
|
89
|
-
extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
|
|
90
|
-
icon?: FilePath;
|
|
91
|
-
requirements?: FilePath;
|
|
92
|
-
};
|
|
93
|
-
nodeVersion?: string;
|
|
94
|
-
npmVersion?: string;
|
|
95
|
-
packageManager?: 'npm' | 'yarn' | 'pnpm';
|
|
96
|
-
productName?: string;
|
|
97
|
-
schemaVersion: number;
|
|
98
|
-
snap?: IAppBuilderLib['config']['snap'];
|
|
99
|
-
windows?: {
|
|
100
|
-
icon?: FilePath;
|
|
101
|
-
nsisCustomBinary?: {
|
|
102
|
-
checksum?: string;
|
|
103
|
-
debugLogging?: boolean;
|
|
104
|
-
url: string;
|
|
105
|
-
version?: string;
|
|
106
|
-
};
|
|
107
|
-
nsisInclude?: FilePath;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
52
|
+
projectConfig?: ToDesktopJson;
|
|
110
53
|
shouldCodeSign?: boolean;
|
|
111
54
|
shouldRelease?: boolean;
|
|
112
55
|
shouldSendCompletionEmail?: boolean;
|
|
@@ -144,6 +87,68 @@ export interface IAppMeta {
|
|
|
144
87
|
};
|
|
145
88
|
forceVersionNumber?: string;
|
|
146
89
|
}
|
|
90
|
+
export interface ToDesktopJson {
|
|
91
|
+
appBuilderLibVersion?: string;
|
|
92
|
+
appId?: string;
|
|
93
|
+
appFiles?: string[];
|
|
94
|
+
appPath?: FilePath;
|
|
95
|
+
appProtocolScheme?: string | string[];
|
|
96
|
+
asar?: boolean;
|
|
97
|
+
asarUnpack?: boolean | string[];
|
|
98
|
+
bucket?: string;
|
|
99
|
+
copyright?: string;
|
|
100
|
+
dmg?: {
|
|
101
|
+
background?: FilePath;
|
|
102
|
+
artifactName?: string;
|
|
103
|
+
backgroundColor?: string;
|
|
104
|
+
iconSize?: number;
|
|
105
|
+
iconTextSize?: number;
|
|
106
|
+
title?: string;
|
|
107
|
+
contents?: IAppBuilderLib['config']['dmg']['contents'];
|
|
108
|
+
window?: IAppBuilderLib['config']['dmg']['window'];
|
|
109
|
+
};
|
|
110
|
+
extraContentFiles?: ExtraFileReference[];
|
|
111
|
+
electronMirror?: string;
|
|
112
|
+
electronVersion?: string;
|
|
113
|
+
extraResources?: ExtraFileReference[];
|
|
114
|
+
fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
|
|
115
|
+
filesForDistribution?: string[];
|
|
116
|
+
icon: FilePath;
|
|
117
|
+
id: string;
|
|
118
|
+
linux?: {
|
|
119
|
+
category?: string;
|
|
120
|
+
icon?: FilePath;
|
|
121
|
+
noSandbox?: boolean;
|
|
122
|
+
};
|
|
123
|
+
mac?: {
|
|
124
|
+
additionalBinariesToSign?: FilePath[];
|
|
125
|
+
category?: string;
|
|
126
|
+
dmgBackground?: FilePath;
|
|
127
|
+
entitlements?: FilePath;
|
|
128
|
+
extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
|
|
129
|
+
icon?: FilePath;
|
|
130
|
+
requirements?: FilePath;
|
|
131
|
+
};
|
|
132
|
+
nodeVersion?: string;
|
|
133
|
+
npmVersion?: string;
|
|
134
|
+
packageManager?: 'npm' | 'yarn' | 'pnpm';
|
|
135
|
+
pnpmVersion?: string;
|
|
136
|
+
productName?: string;
|
|
137
|
+
schemaVersion: number;
|
|
138
|
+
snap?: IAppBuilderLib['config']['snap'];
|
|
139
|
+
uploadSizeLimit?: number;
|
|
140
|
+
windows?: {
|
|
141
|
+
icon?: FilePath;
|
|
142
|
+
nsisCustomBinary?: {
|
|
143
|
+
checksum?: string;
|
|
144
|
+
debugLogging?: boolean;
|
|
145
|
+
url: string;
|
|
146
|
+
version?: string;
|
|
147
|
+
};
|
|
148
|
+
nsisInclude?: FilePath;
|
|
149
|
+
};
|
|
150
|
+
yarnVersion?: string;
|
|
151
|
+
}
|
|
147
152
|
export declare enum WindowsHSMCertType {
|
|
148
153
|
ev = "ev",
|
|
149
154
|
file = "file"
|
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -61,64 +61,7 @@ export interface IAppMeta {
|
|
|
61
61
|
releaseId?: Release['id'];
|
|
62
62
|
linux?: IAppBuildProgress;
|
|
63
63
|
mac?: IAppBuildProgress;
|
|
64
|
-
projectConfig?:
|
|
65
|
-
appBuilderLibVersion?: string;
|
|
66
|
-
appId?: string;
|
|
67
|
-
appFiles?: string[];
|
|
68
|
-
appPath?: FilePath;
|
|
69
|
-
appProtocolScheme?: string | string[];
|
|
70
|
-
asar?: boolean;
|
|
71
|
-
asarUnpack?: boolean | string[];
|
|
72
|
-
copyright?: string;
|
|
73
|
-
dmg?: {
|
|
74
|
-
background?: FilePath;
|
|
75
|
-
artifactName?: string;
|
|
76
|
-
backgroundColor?: string;
|
|
77
|
-
iconSize?: number;
|
|
78
|
-
iconTextSize?: number;
|
|
79
|
-
title?: string;
|
|
80
|
-
contents?: IAppBuilderLib['config']['dmg']['contents'];
|
|
81
|
-
window?: IAppBuilderLib['config']['dmg']['window'];
|
|
82
|
-
};
|
|
83
|
-
extraContentFiles?: ExtraFileReference[];
|
|
84
|
-
electronMirror?: string;
|
|
85
|
-
electronVersion?: string;
|
|
86
|
-
extraResources?: ExtraFileReference[];
|
|
87
|
-
fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
|
|
88
|
-
filesForDistribution?: string[];
|
|
89
|
-
icon: FilePath;
|
|
90
|
-
id: string;
|
|
91
|
-
linux?: {
|
|
92
|
-
category?: string;
|
|
93
|
-
icon?: FilePath;
|
|
94
|
-
noSandbox?: boolean;
|
|
95
|
-
};
|
|
96
|
-
mac?: {
|
|
97
|
-
additionalBinariesToSign?: FilePath[];
|
|
98
|
-
category?: string;
|
|
99
|
-
dmgBackground?: FilePath;
|
|
100
|
-
entitlements?: FilePath;
|
|
101
|
-
extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
|
|
102
|
-
icon?: FilePath;
|
|
103
|
-
requirements?: FilePath;
|
|
104
|
-
};
|
|
105
|
-
nodeVersion?: string;
|
|
106
|
-
npmVersion?: string;
|
|
107
|
-
packageManager?: 'npm' | 'yarn' | 'pnpm';
|
|
108
|
-
productName?: string;
|
|
109
|
-
schemaVersion: number;
|
|
110
|
-
snap?: IAppBuilderLib['config']['snap'];
|
|
111
|
-
windows?: {
|
|
112
|
-
icon?: FilePath;
|
|
113
|
-
nsisCustomBinary?: {
|
|
114
|
-
checksum?: string;
|
|
115
|
-
debugLogging?: boolean;
|
|
116
|
-
url: string;
|
|
117
|
-
version?: string;
|
|
118
|
-
};
|
|
119
|
-
nsisInclude?: FilePath;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
64
|
+
projectConfig?: ToDesktopJson;
|
|
122
65
|
shouldCodeSign?: boolean;
|
|
123
66
|
shouldRelease?: boolean;
|
|
124
67
|
shouldSendCompletionEmail?: boolean;
|
|
@@ -157,6 +100,69 @@ export interface IAppMeta {
|
|
|
157
100
|
forceVersionNumber?: string;
|
|
158
101
|
}
|
|
159
102
|
|
|
103
|
+
export interface ToDesktopJson {
|
|
104
|
+
appBuilderLibVersion?: string;
|
|
105
|
+
appId?: string;
|
|
106
|
+
appFiles?: string[];
|
|
107
|
+
appPath?: FilePath;
|
|
108
|
+
appProtocolScheme?: string | string[];
|
|
109
|
+
asar?: boolean;
|
|
110
|
+
asarUnpack?: boolean | string[];
|
|
111
|
+
bucket?: string;
|
|
112
|
+
copyright?: string;
|
|
113
|
+
dmg?: {
|
|
114
|
+
background?: FilePath;
|
|
115
|
+
artifactName?: string;
|
|
116
|
+
backgroundColor?: string;
|
|
117
|
+
iconSize?: number;
|
|
118
|
+
iconTextSize?: number;
|
|
119
|
+
title?: string;
|
|
120
|
+
contents?: IAppBuilderLib['config']['dmg']['contents'];
|
|
121
|
+
window?: IAppBuilderLib['config']['dmg']['window'];
|
|
122
|
+
};
|
|
123
|
+
extraContentFiles?: ExtraFileReference[];
|
|
124
|
+
electronMirror?: string;
|
|
125
|
+
electronVersion?: string;
|
|
126
|
+
extraResources?: ExtraFileReference[];
|
|
127
|
+
fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
|
|
128
|
+
filesForDistribution?: string[];
|
|
129
|
+
icon: FilePath;
|
|
130
|
+
id: string;
|
|
131
|
+
linux?: {
|
|
132
|
+
category?: string;
|
|
133
|
+
icon?: FilePath;
|
|
134
|
+
noSandbox?: boolean;
|
|
135
|
+
};
|
|
136
|
+
mac?: {
|
|
137
|
+
additionalBinariesToSign?: FilePath[];
|
|
138
|
+
category?: string;
|
|
139
|
+
dmgBackground?: FilePath;
|
|
140
|
+
entitlements?: FilePath;
|
|
141
|
+
extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
|
|
142
|
+
icon?: FilePath;
|
|
143
|
+
requirements?: FilePath;
|
|
144
|
+
};
|
|
145
|
+
nodeVersion?: string;
|
|
146
|
+
npmVersion?: string;
|
|
147
|
+
packageManager?: 'npm' | 'yarn' | 'pnpm';
|
|
148
|
+
pnpmVersion?: string;
|
|
149
|
+
productName?: string;
|
|
150
|
+
schemaVersion: number;
|
|
151
|
+
snap?: IAppBuilderLib['config']['snap'];
|
|
152
|
+
uploadSizeLimit?: number;
|
|
153
|
+
windows?: {
|
|
154
|
+
icon?: FilePath;
|
|
155
|
+
nsisCustomBinary?: {
|
|
156
|
+
checksum?: string;
|
|
157
|
+
debugLogging?: boolean;
|
|
158
|
+
url: string;
|
|
159
|
+
version?: string;
|
|
160
|
+
};
|
|
161
|
+
nsisInclude?: FilePath;
|
|
162
|
+
};
|
|
163
|
+
yarnVersion?: string;
|
|
164
|
+
}
|
|
165
|
+
|
|
160
166
|
export enum WindowsHSMCertType {
|
|
161
167
|
ev = 'ev',
|
|
162
168
|
file = 'file',
|