fnva 0.0.15 → 0.0.16
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fnva",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "跨平台环境切换工具,支持 Java 和 LLM 环境配置",
|
|
5
5
|
"author": "protagonistss",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"prepublishOnly": "scripts/prepare-publish.sh",
|
|
12
|
-
"postinstall": "node scripts/install-shell-integration.js --auto",
|
|
12
|
+
"postinstall": "echo 'Setting up fnva shell integration...' && node scripts/install-shell-integration.js --auto",
|
|
13
13
|
"install-shell": "node scripts/install-shell-integration.js",
|
|
14
14
|
"uninstall-shell": "node scripts/uninstall-shell-integration.js",
|
|
15
15
|
"build": "scripts/build-local.sh",
|
package/platforms/fnva
CHANGED
|
Binary file
|
package/platforms/fnva.exe
CHANGED
|
Binary file
|
|
@@ -208,9 +208,14 @@ function promptInstallation() {
|
|
|
208
208
|
// 主程序
|
|
209
209
|
if (require.main === module) {
|
|
210
210
|
console.log('🔧 fnva shell 集成安装器');
|
|
211
|
+
console.log(`📍 Node.js 进程ID: ${process.pid}`);
|
|
212
|
+
console.log(`📂 工作目录: ${process.cwd()}`);
|
|
213
|
+
console.log(`🎯 参数: ${process.argv.join(' ')}`);
|
|
211
214
|
|
|
212
215
|
if (process.argv.includes('--auto') || process.argv.includes('--yes')) {
|
|
213
|
-
|
|
216
|
+
console.log('🚀 自动模式启动安装...');
|
|
217
|
+
const result = installShellIntegration();
|
|
218
|
+
console.log(`🏁 安装结果: ${result ? '成功' : '失败'}`);
|
|
214
219
|
} else {
|
|
215
220
|
promptInstallation();
|
|
216
221
|
}
|