File tree Expand file tree Collapse file tree 4 files changed +5
-10
lines changed
arduino-ide-extension/src/browser Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,10 @@ export class About extends Contribution {
3232 }
3333
3434 async showAbout ( ) : Promise < void > {
35- const ideStatus = FrontendApplicationConfigProvider . get ( ) [ 'status' ] ;
3635 const { version, commit, status : cliStatus } = await this . configService . getVersion ( ) ;
3736 const buildDate = this . buildDate ;
38- const detail = ( useAgo : boolean ) => `Version: ${ remote . app . getVersion ( ) }
39- Date: ${ buildDate ? buildDate : 'dev build' } ${ buildDate && useAgo ? ` (${ this . ago ( buildDate ) } )` : '' }
37+ const detail = ( showAll : boolean ) => `Version: ${ remote . app . getVersion ( ) }
38+ Date: ${ buildDate ? buildDate : 'dev build' } ${ buildDate && showAll ? ` (${ this . ago ( buildDate ) } )` : '' }
4039CLI Version: ${ version } ${ cliStatus ? ` ${ cliStatus } ` : '' } [${ commit } ]
4140
4241Copyright © ${ new Date ( ) . getFullYear ( ) } Arduino SA
@@ -45,8 +44,8 @@ Copyright © ${new Date().getFullYear()} Arduino SA
4544 const copy = 'Copy' ;
4645 const buttons = ! isWindows && ! isOSX ? [ copy , ok ] : [ ok , copy ] ;
4746 const { response } = await remote . dialog . showMessageBox ( remote . getCurrentWindow ( ) , {
48- message : `${ this . applicationName } ${ ideStatus ? ` – ${ ideStatus } ` : '' } ` ,
49- title : `${ this . applicationName } ${ ideStatus ? ` – ${ ideStatus } ` : '' } ` ,
47+ message : `${ this . applicationName } ` ,
48+ title : `${ this . applicationName } ` ,
5049 type : 'info' ,
5150 detail : detail ( true ) ,
5251 buttons,
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { ApplicationServer } from '@theia/core/lib/common/application-protocol';
77import { FrontendApplication } from '@theia/core/lib/browser/frontend-application' ;
88import { FocusTracker , Widget } from '@theia/core/lib/browser' ;
99import { WorkspaceService as TheiaWorkspaceService } from '@theia/workspace/lib/browser/workspace-service' ;
10- import { FrontendApplicationConfigProvider } from '@theia/core/lib/browser/frontend-application-config-provider' ;
1110import { ConfigService } from '../../../common/protocol/config-service' ;
1211import { SketchesService , Sketch } from '../../../common/protocol/sketches-service' ;
1312import { ArduinoWorkspaceRootResolver } from '../../arduino-workspace-resolver' ;
@@ -98,9 +97,8 @@ export class WorkspaceService extends TheiaWorkspaceService {
9897 }
9998
10099 protected formatTitle ( title ?: string ) : string {
101- const status = FrontendApplicationConfigProvider . get ( ) [ 'status' ] ;
102100 const version = this . version ? ` ${ this . version } ` : '' ;
103- const name = `${ this . applicationName } ${ status ? ` – ${ status } ` : '' } ${ version } ` ;
101+ const name = `${ this . applicationName } ${ version } ` ;
104102 return title ? `${ title } | ${ name } ` : name ;
105103 }
106104
Original file line number Diff line number Diff line change 3333 "config" : {
3434 "applicationName" : " Arduino IDE" ,
3535 "defaultTheme" : " arduino-theme" ,
36- "status" : " Beta" ,
3736 "preferences" : {
3837 "editor.autoSave" : " on" ,
3938 "editor.minimap.enabled" : false ,
Original file line number Diff line number Diff line change 3636 "config" : {
3737 "applicationName" : " Arduino IDE" ,
3838 "defaultTheme" : " arduino-theme" ,
39- "status" : " Beta" ,
4039 "preferences" : {
4140 "editor.autoSave" : " on" ,
4241 "editor.minimap.enabled" : false ,
You can’t perform that action at this time.
0 commit comments