@learnrudi/cli 1.8.4 → 1.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/postinstall.js +2 -2
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -37,7 +37,7 @@ function ensureDirectories() {
|
|
|
37
37
|
RUDI_HOME,
|
|
38
38
|
path.join(RUDI_HOME, 'runtimes'),
|
|
39
39
|
path.join(RUDI_HOME, 'stacks'),
|
|
40
|
-
path.join(RUDI_HOME, '
|
|
40
|
+
path.join(RUDI_HOME, 'binaries'),
|
|
41
41
|
path.join(RUDI_HOME, 'shims'),
|
|
42
42
|
path.join(RUDI_HOME, 'cache'),
|
|
43
43
|
];
|
|
@@ -179,7 +179,7 @@ async function downloadBinary(binaryName, platformArch) {
|
|
|
179
179
|
return false;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
const destDir = path.join(RUDI_HOME, '
|
|
182
|
+
const destDir = path.join(RUDI_HOME, 'binaries', binaryName);
|
|
183
183
|
const binaryPath = path.join(destDir, manifest.binary || binaryName);
|
|
184
184
|
|
|
185
185
|
// Skip if already installed
|