Add kubectl/helm download mirror select to preferences (#185)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-04-01 07:19:10 +03:00
1 parent f0dd4095ac
commit 5c2e64b487
7 files changed
+73 -81

No files matched your search

+5 -2
View File
@@ -15,7 +15,7 @@ import { shellSync } from "./shell-sync"
import { getFreePort } from "./port"
import { mangleProxyEnv } from "./proxy-env"
import { findMainWebContents } from "./webcontents"
import { HelmRepoManager, HelmRepo } from "./helm-repo-manager"
import { helmCli } from "./helm-cli"
mangleProxyEnv()
if (app.commandLine.getSwitchValue("proxy-server") !== "") {
@@ -99,7 +99,10 @@ async function main() {
logger.debug("navigate: cluster-settings-page IPC sent");
})
},
}, promiseIpc);
}, promiseIpc)
// download helm cli
helmCli.ensureBinary()
}
app.on("ready", main)