File tree 4 files changed +5
-10
lines changed
arduino-ide-extension/src/browser
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 {
32
32
}
33
33
34
34
async showAbout ( ) : Promise < void > {
35
- const ideStatus = FrontendApplicationConfigProvider . get ( ) [ 'status' ] ;
36
35
const { version, commit, status : cliStatus } = await this . configService . getVersion ( ) ;
37
36
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 ) } )` : '' }
40
39
CLI Version: ${ version } ${ cliStatus ? ` ${ cliStatus } ` : '' } [${ commit } ]
41
40
42
41
Copyright © ${ new Date ( ) . getFullYear ( ) } Arduino SA
@@ -45,8 +44,8 @@ Copyright © ${new Date().getFullYear()} Arduino SA
45
44
const copy = 'Copy' ;
46
45
const buttons = ! isWindows && ! isOSX ? [ copy , ok ] : [ ok , copy ] ;
47
46
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 } ` ,
50
49
type : 'info' ,
51
50
detail : detail ( true ) ,
52
51
buttons,
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { ApplicationServer } from '@theia/core/lib/common/application-protocol';
7
7
import { FrontendApplication } from '@theia/core/lib/browser/frontend-application' ;
8
8
import { FocusTracker , Widget } from '@theia/core/lib/browser' ;
9
9
import { WorkspaceService as TheiaWorkspaceService } from '@theia/workspace/lib/browser/workspace-service' ;
10
- import { FrontendApplicationConfigProvider } from '@theia/core/lib/browser/frontend-application-config-provider' ;
11
10
import { ConfigService } from '../../../common/protocol/config-service' ;
12
11
import { SketchesService , Sketch } from '../../../common/protocol/sketches-service' ;
13
12
import { ArduinoWorkspaceRootResolver } from '../../arduino-workspace-resolver' ;
@@ -98,9 +97,8 @@ export class WorkspaceService extends TheiaWorkspaceService {
98
97
}
99
98
100
99
protected formatTitle ( title ?: string ) : string {
101
- const status = FrontendApplicationConfigProvider . get ( ) [ 'status' ] ;
102
100
const version = this . version ? ` ${ this . version } ` : '' ;
103
- const name = `${ this . applicationName } ${ status ? ` – ${ status } ` : '' } ${ version } ` ;
101
+ const name = `${ this . applicationName } ${ version } ` ;
104
102
return title ? `${ title } | ${ name } ` : name ;
105
103
}
106
104
Original file line number Diff line number Diff line change 33
33
"config" : {
34
34
"applicationName" : " Arduino IDE" ,
35
35
"defaultTheme" : " arduino-theme" ,
36
- "status" : " Beta" ,
37
36
"preferences" : {
38
37
"editor.autoSave" : " on" ,
39
38
"editor.minimap.enabled" : false ,
Original file line number Diff line number Diff line change 36
36
"config" : {
37
37
"applicationName" : " Arduino IDE" ,
38
38
"defaultTheme" : " arduino-theme" ,
39
- "status" : " Beta" ,
40
39
"preferences" : {
41
40
"editor.autoSave" : " on" ,
42
41
"editor.minimap.enabled" : false ,
You can’t perform that action at this time.
0 commit comments