modified src/vscode_plugin/h2dts/ts_vs_plugin/src/extension.js src/vscode_plugin/h2sa/service_vs_plugin/src/vs_plugin_view.html

Signed-off-by: zhangmenghan <zhangmenghan@kaihong.com>
This commit is contained in:
zhangmenghan 2024-07-11 09:53:11 +08:00
parent 45bf7cf18e
commit 8306111f77
2 changed files with 4 additions and 4 deletions

View File

@ -43,11 +43,11 @@ function activate(context) {
context.subscriptions.push(disposableMenu); context.subscriptions.push(disposableMenu);
let platform = detectPlatform(); let platform = detectPlatform();
if (platform == 'win') { if (platform === 'win') {
exeFilePath = __dirname + '/napi_generator-win.exe'; exeFilePath = __dirname + '/napi_generator-win.exe';
} else if (platform == 'mac') { } else if (platform === 'mac') {
exeFilePath = __dirname + '/napi_generator-macos'; exeFilePath = __dirname + '/napi_generator-macos';
} else if (platform == 'Linux') { } else if (platform === 'Linux') {
exeFilePath = __dirname + '/napi_generator-linux'; exeFilePath = __dirname + '/napi_generator-linux';
} }
} }