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 CHANGED
@@ -4393,7 +4393,8 @@ _tova "$@"
4393
4393
 
4394
4394
  function detectInstallMethod() {
4395
4395
  const execPath = process.execPath || process.argv[0];
4396
- if (execPath.includes('.tova/bin')) return 'binary';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tova",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Tova — a modern programming language that transpiles to JavaScript, unifying frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
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.4";
2
+ export const VERSION = "0.4.5";