Skip to content
1 change: 1 addition & 0 deletions build/gulpfile.vscode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ function packageTask(platform: string, arch: string, sourceFolderName: string, d

if (platform === 'win32') {
all = es.merge(all, gulp.src([
'resources/win32/agents.ico',
'resources/win32/bower.ico',
'resources/win32/c.ico',
'resources/win32/code.ico',
Expand Down
Binary file added resources/win32/agents.ico
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { Emitter, Event as CommonEvent } from '../../../base/common/event.js';
import { normalizeDriveLetter, splitRecentLabel } from '../../../base/common/labels.js';
import { Disposable } from '../../../base/common/lifecycle.js';
import { Schemas } from '../../../base/common/network.js';
import { join } from '../../../base/common/path.js';
import { isMacintosh, isWindows } from '../../../base/common/platform.js';
import { basename, dirname, extUriBiasedIgnorePathCase, isEqual, originalFSPath } from '../../../base/common/resources.js';
import { URI } from '../../../base/common/uri.js';
Expand Down Expand Up @@ -385,6 +386,15 @@ export class WorkspacesHistoryMainService extends Disposable implements IWorkspa
args: '-n', // force new window
iconPath: process.execPath,
iconIndex: 0
},
{
type: 'task',
title: localize('agentsWindow', "Agents Window"),
description: localize('openAgentsWindowDesc', "Opens the Agents Window"),
program: process.execPath,
args: '--agents',
iconPath: join(this.environmentMainService.appRoot, 'resources/win32/agents.ico'),
iconIndex: 0
}
]
});
Expand Down
Loading