From 7e66e75ab5896b0b65ab9f101a0d0861f0c2964c Mon Sep 17 00:00:00 2001 From: nothatDinger <52913141+nothatDinger@users.noreply.github.com> Date: Sun, 12 Sep 2021 09:27:56 +0800 Subject: [PATCH] a url change in getBaseUrl --- pkg/electron/electronDownloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/electron/electronDownloader.go b/pkg/electron/electronDownloader.go index 7ad1447..efd9c30 100644 --- a/pkg/electron/electronDownloader.go +++ b/pkg/electron/electronDownloader.go @@ -97,7 +97,7 @@ func getBaseUrl(config *ElectronDownloadOptions) string { if strings.Contains(config.Version, "-nightly.") { return "https://github.com/electron/nightlies/releases/download/v" } else { - return "https://github.com/electron/electron/releases/download/v" + return "https://github.com/electron/electron/releases/tag/v" } } return v