mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Include App Path in service launch arguments (#22233)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"downloadUrl": "https://github.com/Microsoft/sqltoolsservice/releases/download/{#version#}/microsoft.sqltools.servicelayer-{#fileName#}",
|
"downloadUrl": "https://github.com/Microsoft/sqltoolsservice/releases/download/{#version#}/microsoft.sqltools.servicelayer-{#fileName#}",
|
||||||
"version": "4.6.0.3",
|
"version": "4.6.0.4",
|
||||||
"downloadFileNames": {
|
"downloadFileNames": {
|
||||||
"Windows_86": "win-x86-net7.0.zip",
|
"Windows_86": "win-x86-net7.0.zip",
|
||||||
"Windows_64": "win-x64-net7.0.zip",
|
"Windows_64": "win-x64-net7.0.zip",
|
||||||
|
|||||||
@@ -185,6 +185,8 @@ export function getCommonLaunchArgsAndCleanupOldLogFiles(logPath: string, fileNa
|
|||||||
let launchArgs = [];
|
let launchArgs = [];
|
||||||
// Application Name determines app storage location or user data path.
|
// Application Name determines app storage location or user data path.
|
||||||
launchArgs.push('--application-name', 'azuredatastudio');
|
launchArgs.push('--application-name', 'azuredatastudio');
|
||||||
|
launchArgs.push('--data-path', getAppDataPath());
|
||||||
|
|
||||||
launchArgs.push(`--locale`, vscode.env.language);
|
launchArgs.push(`--locale`, vscode.env.language);
|
||||||
|
|
||||||
launchArgs.push('--log-file');
|
launchArgs.push('--log-file');
|
||||||
|
|||||||
Reference in New Issue
Block a user