We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d3821 commit 485ad95Copy full SHA for 485ad95
src/session.ts
@@ -191,6 +191,18 @@ export class SessionManager implements Middleware {
191
192
if (this.sessionSettings.integratedConsole.suppressStartupBanner) {
193
this.editorServicesArgs += "-StartupBanner '' ";
194
+ } else {
195
+ const packageJSON: any = require("../../package.json");
196
+ const previewStr = (packageJSON.name.toLowerCase() === "powershell-preview") ? "Preview " : "";
197
+ const version = packageJSON.version;
198
+
199
+ const startupBanner = `
200
201
+ =====> PowerShell ${previewStr}Integrated Console v${version} <=====
202
203
+ `;
204
205
+ this.editorServicesArgs += `-StartupBanner "${startupBanner}" `;
206
}
207
208
if (this.sessionSettings.developer.editorServicesWaitForDebugger) {
0 commit comments