From ca7e86820a6802e19349b5622e91976c4561c454 Mon Sep 17 00:00:00 2001 From: Oliver Nordbjerg Date: Sat, 15 Jan 2022 01:20:24 +0100 Subject: [PATCH] Correct `binPath` --- src/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils.js b/src/utils.js index 34799c8..5257973 100644 --- a/src/utils.js +++ b/src/utils.js @@ -14,12 +14,11 @@ function getDownloadObject (version) { const platform = os.platform() const filename = `foundry_${version}_${platform}_${mapArch(os.arch())}` const extension = platform === 'win32' ? 'zip' : 'tar.gz' - const binPath = platform === 'win32' ? 'bin' : path.join(filename, 'bin') const url = `https://github.com/gakonst/foundry/releases/download/${version}/${filename}.${extension}` return { url, - binPath + binPath: '.' } }