mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Port fix for vscode issue 160827 to release/1.40 (#21466)
* port fix for vscode issue 160827 (#21457) * Update build version Co-authored-by: Hai Cao <hacao@microsoft.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "azuredatastudio",
|
"name": "azuredatastudio",
|
||||||
"version": "1.40.1",
|
"version": "1.40.2",
|
||||||
"distro": "c6da977529b6719ff1974faa53a73abe01ec13ac",
|
"distro": "c6da977529b6719ff1974faa53a73abe01ec13ac",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Microsoft Corporation"
|
"name": "Microsoft Corporation"
|
||||||
|
|||||||
@@ -103,14 +103,6 @@ async function detectAvailableWindowsProfiles(
|
|||||||
source: ProfileSource.GitBash,
|
source: ProfileSource.GitBash,
|
||||||
isAutoDetected: true
|
isAutoDetected: true
|
||||||
});
|
});
|
||||||
detectedProfiles.set('Cygwin', {
|
|
||||||
path: [
|
|
||||||
`${process.env['HOMEDRIVE']}\\cygwin64\\bin\\bash.exe`,
|
|
||||||
`${process.env['HOMEDRIVE']}\\cygwin\\bin\\bash.exe`
|
|
||||||
],
|
|
||||||
args: ['--login'],
|
|
||||||
isAutoDetected: true
|
|
||||||
});
|
|
||||||
detectedProfiles.set('Command Prompt', {
|
detectedProfiles.set('Command Prompt', {
|
||||||
path: `${system32Path}\\cmd.exe`,
|
path: `${system32Path}\\cmd.exe`,
|
||||||
icon: Codicon.terminalCmd,
|
icon: Codicon.terminalCmd,
|
||||||
@@ -212,7 +204,6 @@ async function initializeWindowsProfiles(testPwshSourcePaths?: string[]): Promis
|
|||||||
`${process.env['ProgramFiles']}\\Git\\usr\\bin\\bash.exe`,
|
`${process.env['ProgramFiles']}\\Git\\usr\\bin\\bash.exe`,
|
||||||
`${process.env['LocalAppData']}\\Programs\\Git\\bin\\bash.exe`,
|
`${process.env['LocalAppData']}\\Programs\\Git\\bin\\bash.exe`,
|
||||||
`${process.env['UserProfile']}\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe`,
|
`${process.env['UserProfile']}\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe`,
|
||||||
`${process.env['AllUsersProfile']}\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe`
|
|
||||||
],
|
],
|
||||||
args: ['--login']
|
args: ['--login']
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user