electron-incremental-update 0.1.6 → 0.1.7

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 CHANGED
@@ -124,21 +124,21 @@ function getReleaseCdnLink(url) {
124
124
  }
125
125
  const _url = url.replace(hub, "");
126
126
  return [
127
- { urlPrefix: `https://gh.gh2233.ml/${url}`, maintainer: "@X.I.U/XIU2" },
128
- { urlPrefix: `https://ghproxy.com/${url}`, maintainer: "gh-proxy" },
129
- { urlPrefix: `https://gh.ddlc.top/${url}`, maintainer: "@mtr-static-official" },
130
- { urlPrefix: `https://ghdl.feizhuqwq.cf/${url}`, maintainer: "feizhuqwq.com" },
131
- { urlPrefix: `https://slink.ltd/${url}`, maintainer: "\u77E5\u4E86\u5C0F\u7AD9" },
132
- { urlPrefix: `https://git.xfj0.cn/${url}`, maintainer: "anonymous1" },
133
- { urlPrefix: `https://gh.con.sh/${url}`, maintainer: "anonymous2" },
134
- { urlPrefix: `https://ghps.cc/${url}`, maintainer: "anonymous3" },
135
- { urlPrefix: `https://cors.isteed.cc/github.com/${_url}`, maintainer: "Lufs's" },
136
- { urlPrefix: `https://hub.gitmirror.com/${url}`, maintainer: "GitMirror" },
137
- { urlPrefix: `https://js.xxooo.ml/${url}`, maintainer: "\u996D\u592A\u786C" },
138
- { urlPrefix: `https://proxy.freecdn.ml/?url=${url}`, maintainer: "anonymous4" },
139
- { urlPrefix: `https://download.njuu.cf/${_url}`, maintainer: "LibraryCloud-njuu" },
140
- { urlPrefix: `https://download.yzuu.cf/${_url}`, maintainer: "LibraryCloud-yzuu" },
141
- { urlPrefix: `https://download.nuaa.cf/${_url}`, maintainer: "LibraryCloud-nuaa" }
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
- urlPrefix: string;
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
- { urlPrefix: `https://gh.gh2233.ml/${url}`, maintainer: "@X.I.U/XIU2" },
92
- { urlPrefix: `https://ghproxy.com/${url}`, maintainer: "gh-proxy" },
93
- { urlPrefix: `https://gh.ddlc.top/${url}`, maintainer: "@mtr-static-official" },
94
- { urlPrefix: `https://ghdl.feizhuqwq.cf/${url}`, maintainer: "feizhuqwq.com" },
95
- { urlPrefix: `https://slink.ltd/${url}`, maintainer: "\u77E5\u4E86\u5C0F\u7AD9" },
96
- { urlPrefix: `https://git.xfj0.cn/${url}`, maintainer: "anonymous1" },
97
- { urlPrefix: `https://gh.con.sh/${url}`, maintainer: "anonymous2" },
98
- { urlPrefix: `https://ghps.cc/${url}`, maintainer: "anonymous3" },
99
- { urlPrefix: `https://cors.isteed.cc/github.com/${_url}`, maintainer: "Lufs's" },
100
- { urlPrefix: `https://hub.gitmirror.com/${url}`, maintainer: "GitMirror" },
101
- { urlPrefix: `https://js.xxooo.ml/${url}`, maintainer: "\u996D\u592A\u786C" },
102
- { urlPrefix: `https://proxy.freecdn.ml/?url=${url}`, maintainer: "anonymous4" },
103
- { urlPrefix: `https://download.njuu.cf/${_url}`, maintainer: "LibraryCloud-njuu" },
104
- { urlPrefix: `https://download.yzuu.cf/${_url}`, maintainer: "LibraryCloud-yzuu" },
105
- { urlPrefix: `https://download.nuaa.cf/${_url}`, maintainer: "LibraryCloud-nuaa" }
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-incremental-update",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "electron incremental update tools, powered by vite",
5
5
  "scripts": {
6
6
  "build": "tsup",