Skip to content

Commit

Permalink
Modified code for Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Shveta Sachdeva <[email protected]>
  • Loading branch information
sshveta committed Oct 25, 2024
1 parent 9406215 commit 43fc334
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
# For git password please use your generated git token, not a clear text password

VSCODE_EXECUTABLE_PATH='/usr/share/code/code'
VSIX_FILE_PATH="/home/sshveta/Work/kai-ci/"
VSIX_FILE_PATH='/home/sshveta/Work/kai-ci/'
VSIX_FILE_NAME='konveyor-linux-0.0.1.vsix'
VSIX_DOWNLOAD_URL= 'https://github.com/konveyor/editor-extensions/releases/download/v0.0.1-dev%2B20241017/konveyor-linux-0.0.1.vsix'
PLUGIN_URL= 'https://github.com/konveyor/editor-extensions/releases/download/'
PLUGIN_VERSION= 'v0.0.1-dev%2B'

# For Windows Path needs to be given in below format
VSCODE_EXECUTABLE_PATH='C:/Users/nonadmin/AppData/Local/Programs/Microsoft VS Code/Code.exe'
VSIX_FILE_PATH='C:/Users/nonadmin/kai-ci/'
2 changes: 1 addition & 1 deletion e2e/pages/vscode.pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class VSCode {
try {
// Execute command to install VSIX file using VSCode CLI
console.log(`Installing extension from ${vsixFilePath}...`);
execSync(`code --install-extension '${vsixFilePath}'`, {
execSync(`code --install-extension "${vsixFilePath}"`, {
stdio: 'inherit',
});
console.log('Extension installed successfully.');
Expand Down

0 comments on commit 43fc334

Please sign in to comment.