Skip to content

Commit

Permalink
minor change to terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
chinonso098 committed Oct 27, 2024
1 parent 79b384c commit 832bb3f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/system-apps/cheetah/cheetah.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ <h1 class="cheetah-h1">
<div class="os-image">
<img [src]="cheetahIcon" />
</div>
<div> <p class="os-name">CheetahOS</p> </div>
<div> <p class="os-version">Version: 2.10.27</p></div>
<div> <p class="os-name">{{name}}</p> </div>
<div> <p class="os-version"> {{version}}</p></div>
<div> <p class="os-year">{{year}}</p></div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/app/system-apps/cheetah/cheetah.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ export class CheetahComponent implements BaseComponent {
hasWindow = true;
icon = `${this._consts.IMAGE_BASE_PATH}cheetah.png`;
cheetahIcon = `${this._consts.IMAGE_BASE_PATH}cheetah-midsprint-dash.jpg`;
processId = 0;
processId = 11000;
type = ComponentType.System;
displayName = 'CheetahOS';
name = 'CheetahOS';
version = 'Version: 2.10.27';
year = `\u00A9 ${new Date().getFullYear()}`;

constructor( menuService:MenuService) {
this._menuService = menuService;
this.processId = 11000;
}

onClosePropertyView():void{
Expand Down
13 changes: 12 additions & 1 deletion src/app/system-apps/terminal/terminal.commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,18 @@ All commands:
}

version(arg:string):string{
return `Terminal version: ${arg}`;

const banner = `
███████ ██ ███ ███ ██████ ██ ███████ ████████ ███████ ██████ ███ ███ ██ ███ ██ █████ ██
██ ██ ████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ██ ████ ██ ██ ██ ██
███████ ██ ██ ████ ██ ██████ ██ █████ ██ █████ ██████ ██ ████ ██ ██ ██ ██ ██ ███████ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
███████ ██ ██ ██ ██ ███████ ███████ ██ ███████ ██ ██ ██ ██ ██ ██ ████ ██ ██ ███████
[Version ${arg}] \u00A9 ${new Date().getFullYear()}
`

return banner;
}

list(arg1:string, arg2:string):string{
Expand Down
Binary file not shown.

0 comments on commit 832bb3f

Please sign in to comment.