mirror of
https://gitee.com/openharmony/napi_generator
synced 2024-11-27 18:50:37 +00:00
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:
parent
45bf7cf18e
commit
8306111f77
@ -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';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user