@paa1997/metho 1.0.0 → 1.0.1
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/src/tools/manager.js +3 -4
package/package.json
CHANGED
package/src/tools/manager.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { join } from 'path';
|
|
2
|
+
import { homedir } from 'os';
|
|
3
3
|
import { TOOLS, STEP_TOOLS } from './registry.js';
|
|
4
4
|
import { isBinaryAvailable, attemptInstall, installToLocal, isProjectDiscoveryHttpx } from './installer.js';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
const LOCAL_BIN_DIR = join(__dirname, '..', '..', 'bin', 'tools');
|
|
6
|
+
const LOCAL_BIN_DIR = join(homedir(), '.metho', 'bin');
|
|
8
7
|
|
|
9
8
|
// Resolved binary paths — maps tool name to full path (or just the name if on PATH)
|
|
10
9
|
const resolvedPaths = {};
|