Skip to content

Commit 4365178

Browse files
committed
Make patch for electron-gh-releases
1 parent 2d05342 commit 4365178

File tree

3 files changed

+73
-2
lines changed

3 files changed

+73
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"lodash-webpack-plugin": "^0.11.5",
6060
"mobx": "^3.6.2",
6161
"mobx-remotedev": "^0.2.8",
62+
"patch-package": "^6.2.2",
6263
"shelljs": "^0.8.2",
6364
"spectron": "^10.0.1",
6465
"style-loader": "^1.0.0",
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/node_modules/electron-gh-releases/src/GhReleases.js b/node_modules/electron-gh-releases/src/GhReleases.js
2+
index 4403f0e..610e0dd 100644
3+
--- a/node_modules/electron-gh-releases/src/GhReleases.js
4+
+++ b/node_modules/electron-gh-releases/src/GhReleases.js
5+
@@ -65,8 +65,8 @@ export default class GhReleases extends events.EventEmitter {
6+
})
7+
}
8+
9+
- // On Mac we need to use the `auto_updater.json`
10+
- feedUrl = 'https://raw.githubusercontent.com/' + this.repo + '/master/auto_updater.json'
11+
+ // On Mac we need to use the `auto_update.json`
12+
+ feedUrl = 'https://raw.githubusercontent.com/' + this.repo + '/master/auto_update.json'
13+
14+
// Make sure feedUrl exists
15+
return got.get(feedUrl)

yarn.lock

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,11 @@
371371
resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
372372
integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==
373373

374+
"@yarnpkg/lockfile@^1.1.0":
375+
version "1.1.0"
376+
resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31"
377+
integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==
378+
374379
abab@^2.0.0:
375380
version "2.0.1"
376381
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.1.tgz#3fa17797032b71410ec372e11668f4b4ffc86a82"
@@ -2282,6 +2287,11 @@ ci-info@^1.5.0:
22822287
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497"
22832288
integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==
22842289

2290+
ci-info@^2.0.0:
2291+
version "2.0.0"
2292+
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
2293+
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
2294+
22852295
cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
22862296
version "1.0.4"
22872297
resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de"
@@ -4431,6 +4441,14 @@ find-up@^4.0.0:
44314441
locate-path "^5.0.0"
44324442
path-exists "^4.0.0"
44334443

4444+
find-yarn-workspace-root@^1.2.1:
4445+
version "1.2.1"
4446+
resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-1.2.1.tgz#40eb8e6e7c2502ddfaa2577c176f221422f860db"
4447+
integrity sha512-dVtfb0WuQG+8Ag2uWkbG79hOUzEsRrhBzgfn86g2sJPkzmcpGdghbNTfUKGTxymFrY/tLIodDzLoW9nOJ4FY8Q==
4448+
dependencies:
4449+
fs-extra "^4.0.3"
4450+
micromatch "^3.1.4"
4451+
44344452
44354453
version "3.0.0"
44364454
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-3.0.0.tgz#17b108f9ee512dfb7a5c7f3c8b27ea9e1a9c08d1"
@@ -4537,7 +4555,7 @@ fs-constants@^1.0.0:
45374555
resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
45384556
integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
45394557

4540-
fs-extra@^4.0.0, fs-extra@^4.0.1:
4558+
fs-extra@^4.0.0, fs-extra@^4.0.1, fs-extra@^4.0.3:
45414559
version "4.0.3"
45424560
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
45434561
integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==
@@ -4546,7 +4564,7 @@ fs-extra@^4.0.0, fs-extra@^4.0.1:
45464564
jsonfile "^4.0.0"
45474565
universalify "^0.1.0"
45484566

4549-
fs-extra@^7.0.0:
4567+
fs-extra@^7.0.0, fs-extra@^7.0.1:
45504568
version "7.0.1"
45514569
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
45524570
integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==
@@ -5680,6 +5698,13 @@ is-ci@^1.0.10:
56805698
dependencies:
56815699
ci-info "^1.5.0"
56825700

5701+
is-ci@^2.0.0:
5702+
version "2.0.0"
5703+
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
5704+
integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==
5705+
dependencies:
5706+
ci-info "^2.0.0"
5707+
56835708
is-data-descriptor@^0.1.4:
56845709
version "0.1.4"
56855710
resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
@@ -6681,6 +6706,13 @@ kind-of@^6.0.0, kind-of@^6.0.2:
66816706
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
66826707
integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==
66836708

6709+
klaw-sync@^6.0.0:
6710+
version "6.0.0"
6711+
resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c"
6712+
integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==
6713+
dependencies:
6714+
graceful-fs "^4.1.11"
6715+
66846716
kleur@^2.0.1:
66856717
version "2.0.2"
66866718
resolved "https://registry.yarnpkg.com/kleur/-/kleur-2.0.2.tgz#b704f4944d95e255d038f0cb05fb8a602c55a300"
@@ -8136,6 +8168,24 @@ pascalcase@^0.1.1:
81368168
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
81378169
integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=
81388170

8171+
patch-package@^6.2.2:
8172+
version "6.2.2"
8173+
resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.2.2.tgz#71d170d650c65c26556f0d0fbbb48d92b6cc5f39"
8174+
integrity sha512-YqScVYkVcClUY0v8fF0kWOjDYopzIM8e3bj/RU1DPeEF14+dCGm6UeOYm4jvCyxqIEQ5/eJzmbWfDWnUleFNMg==
8175+
dependencies:
8176+
"@yarnpkg/lockfile" "^1.1.0"
8177+
chalk "^2.4.2"
8178+
cross-spawn "^6.0.5"
8179+
find-yarn-workspace-root "^1.2.1"
8180+
fs-extra "^7.0.1"
8181+
is-ci "^2.0.0"
8182+
klaw-sync "^6.0.0"
8183+
minimist "^1.2.0"
8184+
rimraf "^2.6.3"
8185+
semver "^5.6.0"
8186+
slash "^2.0.0"
8187+
tmp "^0.0.33"
8188+
81398189
81408190
version "0.0.1"
81418191
resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a"
@@ -9916,6 +9966,11 @@ slash@^1.0.0:
99169966
resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
99179967
integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=
99189968

9969+
slash@^2.0.0:
9970+
version "2.0.0"
9971+
resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
9972+
integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==
9973+
99199974
99209975
version "1.0.0"
99219976
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d"

0 commit comments

Comments
 (0)