fnva 0.0.44 → 0.0.46

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/fnva.js CHANGED
@@ -615,11 +615,8 @@ function run() {
615
615
  }
616
616
  }
617
617
  } else {
618
- // Unix-like systems: 显示使用说明
619
- console.log(`[OK] Switched to ${envType} environment: ${envName}`);
620
- console.log('');
621
- console.log('[INFO] To apply this environment, run:');
622
- console.log(` node bin/fnva.js ${args.join(' ')} | bash`);
618
+ // Unix-like systems: output raw script for eval or wrapper function
619
+ process.stdout.write(script);
623
620
  }
624
621
  } else {
625
622
  // 如果不是环境脚本,直接输出
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fnva",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
4
4
  "description": "跨平台环境切换工具,支持 Java 和 LLM 环境配置",
5
5
  "author": "protagonistss",
6
6
  "license": "MIT",
Binary file
Binary file
Binary file
Binary file
Binary file