mirror of
https://github.com/kahole/edamagit.git
synced 2024-09-11 07:15:31 +03:00
Merge pull request #267 from ianic/fix-remote-insiders-path
fix vscode-insiders path for the remote environment
This commit is contained in:
commit
0d17f57d62
@ -206,7 +206,7 @@ function findCodePath(): string {
|
||||
if (isDarwin) {
|
||||
codePath = execPath.split(/(?<=\.app)/)[0] + '/Contents/Resources/app/bin/' + codePath;
|
||||
} else {
|
||||
codePath = path.join(path.dirname(execPath), 'bin', codePath);
|
||||
codePath = path.join(path.dirname(execPath), 'bin', (isRemote ? 'remote-cli' : ''), codePath);
|
||||
}
|
||||
|
||||
if (!fs.existsSync(codePath)) {
|
||||
|
Loading…
Reference in New Issue
Block a user