mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
default deployment type for windows (#9959)
* change default deployment type for win32 * handling the initial deployment type
This commit is contained in:
@@ -49,7 +49,13 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
|
||||
if (typeof resourceType === 'string') {
|
||||
openDialog(resourceType);
|
||||
} else {
|
||||
openDialog('sql-image');
|
||||
let defaultDeploymentType: string;
|
||||
if (platformService.platform() === 'win32') {
|
||||
defaultDeploymentType = 'sql-windows-setup';
|
||||
} else {
|
||||
defaultDeploymentType = 'sql-image';
|
||||
}
|
||||
openDialog(defaultDeploymentType);
|
||||
}
|
||||
});
|
||||
vscode.commands.registerCommand('azdata.openNotebookInputDialog', (dialogInfo: NotebookBasedDialogInfo) => {
|
||||
|
||||
Reference in New Issue
Block a user