Arch specific paths

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

No files matched your search

+1 -1
View File
@@ -188,7 +188,7 @@ async function main() {
}, multiBar), }, multiBar),
]; ];
if (normalizedPlatform !== "windows") { if (normalizedPlatform === "darwin") {
downloaders.push( downloaders.push(
new LensK8sProxyDownloader({ new LensK8sProxyDownloader({
version: packageInfo.config.k8sProxyVersion, version: packageInfo.config.k8sProxyVersion,
+8 -16
View File
@@ -133,7 +133,7 @@
}, },
{ {
"from": "binaries/client/linux/${arch}/helm", "from": "binaries/client/linux/${arch}/helm",
"to": "./helm" "to": "./${arch}/helm"
} }
] ]
}, },
@@ -158,7 +158,7 @@
}, },
{ {
"from": "binaries/client/darwin/${arch}/helm", "from": "binaries/client/darwin/${arch}/helm",
"to": "./helm" "to": "./${arch}/helm"
} }
] ]
}, },
@@ -168,24 +168,16 @@
], ],
"extraResources": [ "extraResources": [
{ {
"from": "binaries/client/windows/x64/kubectl.exe", "from": "binaries/client/windows/${arch}/kubectl.exe",
"to": "./x64/kubectl.exe" "to": "./${arch}/kubectl.exe"
}, },
{ {
"from": "binaries/client/windows/ia32/kubectl.exe", "from": "binaries/client/windows/${arch}/lens-k8s-proxy.exe",
"to": "./ia32/kubectl.exe" "to": "./${arch}/lens-k8s-proxy.exe"
}, },
{ {
"from": "binaries/client/windows/x64/lens-k8s-proxy.exe", "from": "binaries/client/windows/${arch}/helm.exe",
"to": "./x64/lens-k8s-proxy.exe" "to": "./${arch}/helm.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"
} }
] ]
}, },