tova 0.4.4 → 0.4.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/bin/tova.js +2 -1
- package/package.json +1 -1
- package/src/version.js +1 -1
package/bin/tova.js
CHANGED
|
@@ -4393,7 +4393,8 @@ _tova "$@"
|
|
|
4393
4393
|
|
|
4394
4394
|
function detectInstallMethod() {
|
|
4395
4395
|
const execPath = process.execPath || process.argv[0];
|
|
4396
|
-
|
|
4396
|
+
const scriptPath = process.argv[1] || '';
|
|
4397
|
+
if (execPath.includes('.tova/bin') || scriptPath.includes('.tova/')) return 'binary';
|
|
4397
4398
|
return 'npm';
|
|
4398
4399
|
}
|
|
4399
4400
|
|
package/package.json
CHANGED
package/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Auto-generated by scripts/embed-runtime.js — do not edit
|
|
2
|
-
export const VERSION = "0.4.
|
|
2
|
+
export const VERSION = "0.4.5";
|