mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix bundled helm3 binary on windows (#233)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
f1795307f9
commit
8c348f076e
@ -44,13 +44,11 @@ export class LensBinary {
|
|||||||
}
|
}
|
||||||
this.arch = arch
|
this.arch = arch
|
||||||
this.platformName = process.platform === "win32" ? "windows" : process.platform
|
this.platformName = process.platform === "win32" ? "windows" : process.platform
|
||||||
|
this.dirname = path.normalize(path.join(baseDir, this.binaryName))
|
||||||
if (process.platform === "win32") {
|
if (process.platform === "win32") {
|
||||||
this.binaryName = this.binaryName+".exe"
|
this.binaryName = this.binaryName+".exe"
|
||||||
this.originalBinaryName = this.originalBinaryName+".exe"
|
this.originalBinaryName = this.originalBinaryName+".exe"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
this.dirname = path.normalize(path.join(baseDir, this.binaryName))
|
|
||||||
const tarName = this.getTarName()
|
const tarName = this.getTarName()
|
||||||
if (tarName) {
|
if (tarName) {
|
||||||
this.tarPath = path.join(this.dirname, tarName)
|
this.tarPath = path.join(this.dirname, tarName)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user