@mandors/cli 0.0.13 → 0.0.14
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.
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/npm/lib/install.js
CHANGED
|
@@ -58,8 +58,9 @@ async function install(options = {}) {
|
|
|
58
58
|
function useBundledBinary(platform, arch) {
|
|
59
59
|
const osArch = `${platform}-${arch}`;
|
|
60
60
|
const tarball = path.join(BUNDLE_DIR, `${osArch}.tar.gz`);
|
|
61
|
-
const
|
|
62
|
-
const
|
|
61
|
+
const version = 'latest';
|
|
62
|
+
const cacheDir = path.join(os.homedir(), '.mandor', 'bin', `${version}-${osArch}`);
|
|
63
|
+
const dest = path.join(cacheDir, 'mandor');
|
|
63
64
|
|
|
64
65
|
console.log(`DEBUG: Looking for binary for ${osArch}`);
|
|
65
66
|
console.log(`DEBUG: BUNDLE_DIR: ${BUNDLE_DIR}`);
|