cicy-desktop 2.1.116 → 2.1.118
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/bin/cicy-desktop
CHANGED
|
@@ -16,10 +16,10 @@ const PACKAGE_ROOT = path.join(__dirname, "..");
|
|
|
16
16
|
// CN/global defaults: a fresh machine has no cached electron binary, so the
|
|
17
17
|
// electron postinstall (and our own self-provisioning below) would otherwise
|
|
18
18
|
// hit GitHub releases, which is slow/blocked on many networks. Default to our
|
|
19
|
-
// own
|
|
19
|
+
// own Aliyun OSS mirror — the three platform zips we ship are mirrored at
|
|
20
20
|
// <ELECTRON_MIRROR>v<version>/electron-v<version>-<platform>.zip (+ SHASUMS256.txt),
|
|
21
21
|
// the exact layout @electron/get expects. Overridable via the env var.
|
|
22
|
-
const ELECTRON_MIRROR = process.env.ELECTRON_MIRROR || "https://
|
|
22
|
+
const ELECTRON_MIRROR = process.env.ELECTRON_MIRROR || "https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com/electron/";
|
|
23
23
|
const NPM_REGISTRY = process.env.CICY_NPM_REGISTRY || process.env.npm_config_registry || "https://registry.npmmirror.com";
|
|
24
24
|
const MASTER_ENTRY = path.join(PACKAGE_ROOT, "src", "master", "master-main.js");
|
|
25
25
|
|