1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Arch specific paths

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-03-08 15:31:13 -05:00
parent f00e36b185
commit 95e7bfbf6e
2 changed files with 9 additions and 17 deletions

View File

@ -188,7 +188,7 @@ async function main() {
}, multiBar),
];
if (normalizedPlatform !== "windows") {
if (normalizedPlatform === "darwin") {
downloaders.push(
new LensK8sProxyDownloader({
version: packageInfo.config.k8sProxyVersion,

View File

@ -133,7 +133,7 @@
},
{
"from": "binaries/client/linux/${arch}/helm",
"to": "./helm"
"to": "./${arch}/helm"
}
]
},
@ -158,7 +158,7 @@
},
{
"from": "binaries/client/darwin/${arch}/helm",
"to": "./helm"
"to": "./${arch}/helm"
}
]
},
@ -168,24 +168,16 @@
],
"extraResources": [
{
"from": "binaries/client/windows/x64/kubectl.exe",
"to": "./x64/kubectl.exe"
"from": "binaries/client/windows/${arch}/kubectl.exe",
"to": "./${arch}/kubectl.exe"
},
{
"from": "binaries/client/windows/ia32/kubectl.exe",
"to": "./ia32/kubectl.exe"
"from": "binaries/client/windows/${arch}/lens-k8s-proxy.exe",
"to": "./${arch}/lens-k8s-proxy.exe"
},
{
"from": "binaries/client/windows/x64/lens-k8s-proxy.exe",
"to": "./x64/lens-k8s-proxy.exe"
},
{
"from": "binaries/client/windows/ia32/lens-k8s-proxy.exe",
"to": "./ia32/lens-k8s-proxy.exe"
},
{
"from": "binaries/client/windows/x64/helm.exe",
"to": "./helm.exe"
"from": "binaries/client/windows/${arch}/helm.exe",
"to": "./${arch}/helm.exe"
}
]
},