electron-incremental-update 0.1.6 → 0.1.8
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/dist/index.cjs +15 -15
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +15 -15
- package/dist/vite.cjs +2 -2
- package/dist/vite.d.ts +2 -2
- package/dist/vite.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -124,21 +124,21 @@ function getReleaseCdnLink(url) {
|
|
|
124
124
|
}
|
|
125
125
|
const _url = url.replace(hub, "");
|
|
126
126
|
return [
|
|
127
|
-
{
|
|
128
|
-
{
|
|
129
|
-
{
|
|
130
|
-
{
|
|
131
|
-
{
|
|
132
|
-
{
|
|
133
|
-
{
|
|
134
|
-
{
|
|
135
|
-
{
|
|
136
|
-
{
|
|
137
|
-
{
|
|
138
|
-
{
|
|
139
|
-
{
|
|
140
|
-
{
|
|
141
|
-
{
|
|
127
|
+
{ url: `https://gh.gh2233.ml/${url}`, maintainer: "@X.I.U/XIU2" },
|
|
128
|
+
{ url: `https://ghproxy.com/${url}`, maintainer: "gh-proxy" },
|
|
129
|
+
{ url: `https://gh.ddlc.top/${url}`, maintainer: "@mtr-static-official" },
|
|
130
|
+
{ url: `https://ghdl.feizhuqwq.cf/${url}`, maintainer: "feizhuqwq.com" },
|
|
131
|
+
{ url: `https://slink.ltd/${url}`, maintainer: "\u77E5\u4E86\u5C0F\u7AD9" },
|
|
132
|
+
{ url: `https://git.xfj0.cn/${url}`, maintainer: "anonymous1" },
|
|
133
|
+
{ url: `https://gh.con.sh/${url}`, maintainer: "anonymous2" },
|
|
134
|
+
{ url: `https://ghps.cc/${url}`, maintainer: "anonymous3" },
|
|
135
|
+
{ url: `https://cors.isteed.cc/github.com/${_url}`, maintainer: "Lufs's" },
|
|
136
|
+
{ url: `https://hub.gitmirror.com/${url}`, maintainer: "GitMirror" },
|
|
137
|
+
{ url: `https://js.xxooo.ml/${url}`, maintainer: "\u996D\u592A\u786C" },
|
|
138
|
+
{ url: `https://proxy.freecdn.ml/?url=${url}`, maintainer: "anonymous4" },
|
|
139
|
+
{ url: `https://download.njuu.cf/${_url}`, maintainer: "LibraryCloud-njuu" },
|
|
140
|
+
{ url: `https://download.yzuu.cf/${_url}`, maintainer: "LibraryCloud-yzuu" },
|
|
141
|
+
{ url: `https://download.nuaa.cf/${_url}`, maintainer: "LibraryCloud-nuaa" }
|
|
142
142
|
];
|
|
143
143
|
}
|
|
144
144
|
|
package/dist/index.d.ts
CHANGED
|
@@ -124,7 +124,7 @@ declare function requireNative<T = any>(packageName: string): T;
|
|
|
124
124
|
* get group of parsed github release CDN links for accelerating the speed of downloading release
|
|
125
125
|
*/
|
|
126
126
|
declare function getReleaseCdnLink(url: string): {
|
|
127
|
-
|
|
127
|
+
url: string;
|
|
128
128
|
maintainer: string;
|
|
129
129
|
}[];
|
|
130
130
|
|
package/dist/index.mjs
CHANGED
|
@@ -88,21 +88,21 @@ function getReleaseCdnLink(url) {
|
|
|
88
88
|
}
|
|
89
89
|
const _url = url.replace(hub, "");
|
|
90
90
|
return [
|
|
91
|
-
{
|
|
92
|
-
{
|
|
93
|
-
{
|
|
94
|
-
{
|
|
95
|
-
{
|
|
96
|
-
{
|
|
97
|
-
{
|
|
98
|
-
{
|
|
99
|
-
{
|
|
100
|
-
{
|
|
101
|
-
{
|
|
102
|
-
{
|
|
103
|
-
{
|
|
104
|
-
{
|
|
105
|
-
{
|
|
91
|
+
{ url: `https://gh.gh2233.ml/${url}`, maintainer: "@X.I.U/XIU2" },
|
|
92
|
+
{ url: `https://ghproxy.com/${url}`, maintainer: "gh-proxy" },
|
|
93
|
+
{ url: `https://gh.ddlc.top/${url}`, maintainer: "@mtr-static-official" },
|
|
94
|
+
{ url: `https://ghdl.feizhuqwq.cf/${url}`, maintainer: "feizhuqwq.com" },
|
|
95
|
+
{ url: `https://slink.ltd/${url}`, maintainer: "\u77E5\u4E86\u5C0F\u7AD9" },
|
|
96
|
+
{ url: `https://git.xfj0.cn/${url}`, maintainer: "anonymous1" },
|
|
97
|
+
{ url: `https://gh.con.sh/${url}`, maintainer: "anonymous2" },
|
|
98
|
+
{ url: `https://ghps.cc/${url}`, maintainer: "anonymous3" },
|
|
99
|
+
{ url: `https://cors.isteed.cc/github.com/${_url}`, maintainer: "Lufs's" },
|
|
100
|
+
{ url: `https://hub.gitmirror.com/${url}`, maintainer: "GitMirror" },
|
|
101
|
+
{ url: `https://js.xxooo.ml/${url}`, maintainer: "\u996D\u592A\u786C" },
|
|
102
|
+
{ url: `https://proxy.freecdn.ml/?url=${url}`, maintainer: "anonymous4" },
|
|
103
|
+
{ url: `https://download.njuu.cf/${_url}`, maintainer: "LibraryCloud-njuu" },
|
|
104
|
+
{ url: `https://download.yzuu.cf/${_url}`, maintainer: "LibraryCloud-yzuu" },
|
|
105
|
+
{ url: `https://download.nuaa.cf/${_url}`, maintainer: "LibraryCloud-nuaa" }
|
|
106
106
|
];
|
|
107
107
|
}
|
|
108
108
|
|
package/dist/vite.cjs
CHANGED
|
@@ -171,8 +171,8 @@ function parseOptions(options) {
|
|
|
171
171
|
versionPath = "version.json"
|
|
172
172
|
} = paths;
|
|
173
173
|
const {
|
|
174
|
-
privateKeyPath = "
|
|
175
|
-
publicKeyPath = "
|
|
174
|
+
privateKeyPath = "keys/private.pem",
|
|
175
|
+
publicKeyPath = "keys/public.pem",
|
|
176
176
|
keyLength = 2048
|
|
177
177
|
} = keys;
|
|
178
178
|
const buildAsarOption = {
|
package/dist/vite.d.ts
CHANGED
|
@@ -63,13 +63,13 @@ type Options = {
|
|
|
63
63
|
/**
|
|
64
64
|
* Path to the pem file that contains private key
|
|
65
65
|
* if not ended with .pem, it will be appended
|
|
66
|
-
* @default '
|
|
66
|
+
* @default 'keys/private.pem'
|
|
67
67
|
*/
|
|
68
68
|
privateKeyPath?: string;
|
|
69
69
|
/**
|
|
70
70
|
* Path to the pem file that contains public key
|
|
71
71
|
* if not ended with .pem, it will be appended
|
|
72
|
-
* @default '
|
|
72
|
+
* @default 'keys/public.pem'
|
|
73
73
|
*/
|
|
74
74
|
publicKeyPath?: string;
|
|
75
75
|
/**
|
package/dist/vite.mjs
CHANGED
|
@@ -139,8 +139,8 @@ function parseOptions(options) {
|
|
|
139
139
|
versionPath = "version.json"
|
|
140
140
|
} = paths;
|
|
141
141
|
const {
|
|
142
|
-
privateKeyPath = "
|
|
143
|
-
publicKeyPath = "
|
|
142
|
+
privateKeyPath = "keys/private.pem",
|
|
143
|
+
publicKeyPath = "keys/public.pem",
|
|
144
144
|
keyLength = 2048
|
|
145
145
|
} = keys;
|
|
146
146
|
const buildAsarOption = {
|