Install patched LLDB on vscode extension activation (#1637)
Download and install the WAMR patched LLDB binary on vscode extension activation. This allows the user to download the packaged .vsix file, where the activation script should handle determining what LLDB binary they should use, and install it in the correct location.
This commit is contained in:
@ -8,8 +8,8 @@ import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
import * as os from 'os';
|
||||
import {
|
||||
CreateDirectory,
|
||||
CopyFiles,
|
||||
createDirectory,
|
||||
copyFiles,
|
||||
checkFolderName,
|
||||
} from '../utilities/directoryUtilities';
|
||||
import { getUri } from '../utilities/getUri';
|
||||
@ -84,16 +84,16 @@ export class NewProjectPanel {
|
||||
}
|
||||
}
|
||||
|
||||
CreateDirectory(path.join(ROOT_PATH, '.wamr'));
|
||||
CreateDirectory(path.join(ROOT_PATH, 'include'));
|
||||
CreateDirectory(path.join(ROOT_PATH, 'src'));
|
||||
createDirectory(path.join(ROOT_PATH, '.wamr'));
|
||||
createDirectory(path.join(ROOT_PATH, 'include'));
|
||||
createDirectory(path.join(ROOT_PATH, 'src'));
|
||||
|
||||
CopyFiles(
|
||||
copyFiles(
|
||||
path.join(EXT_PATH, 'resource/scripts/CMakeLists.txt'),
|
||||
path.join(ROOT_PATH, '.wamr/CMakeLists.txt')
|
||||
);
|
||||
|
||||
CopyFiles(
|
||||
copyFiles(
|
||||
path.join(EXT_PATH, 'resource/scripts/project.cmake'),
|
||||
path.join(ROOT_PATH, '.wamr/project.cmake')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user