docs: add some notes for developers

This commit is contained in:
Zeng Li 2021-09-22 15:42:40 +08:00
Родитель da7e4b0580
Коммит 600b47c1ec
2 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,9 @@
# Dev notes
## Packaging
Be sure to include `--baseImagesUrl` when packaging the extension otherwise the image links would be broken after installing the extension.
```
vsce package --baseImagesUrl https://raw.githubusercontent.com/Azure/azure-powershell-migration/main/vscode-extension
```

Просмотреть файл

@ -22,6 +22,7 @@ export class PowershellProcess {
noProfile: true
});
//TODO: Resolve the PSA Path question instead of copying PSA folder.
const flagFilePath = path.resolve(__dirname, '../PSAExecPath.txt'); //if flagFile already exists, we've copied the CustomRules files to powershell execution path before
if (!fs.existsSync(flagFilePath)) {
const PSASourcePath = path.resolve(