mirror of
https://github.com/safing/portmaster
synced 2025-09-04 03:29:12 +00:00
[desktop] Fix version information in UI
This commit is contained in:
parent
8abe04cb07
commit
7df0fbb614
2 changed files with 15 additions and 10 deletions
|
@ -84,7 +84,7 @@ export class SupportFormComponent implements OnInit {
|
||||||
this.statusService.getVersions()
|
this.statusService.getVersions()
|
||||||
.subscribe(status => {
|
.subscribe(status => {
|
||||||
this.version = status.Core.Version;
|
this.version = status.Core.Version;
|
||||||
this.buildDate = status.Core.BuildDate;
|
this.buildDate = status.Core.BuildTime;
|
||||||
})
|
})
|
||||||
|
|
||||||
this.route.paramMap
|
this.route.paramMap
|
||||||
|
|
|
@ -72,15 +72,20 @@ export interface Subsystem extends Record {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CoreVersion {
|
export interface CoreVersion {
|
||||||
BuildDate: string;
|
// Copied from base/info/version.go
|
||||||
BuildHost: string;
|
|
||||||
BuildOptions: string;
|
Name: string;
|
||||||
BuildSource: string;
|
Version: string;
|
||||||
BuildUser: string;
|
VersionNumber: string;
|
||||||
Commit: string;
|
License: string;
|
||||||
License: string;
|
|
||||||
Name: string;
|
Source: string;
|
||||||
Version: string;
|
BuildTime: string;
|
||||||
|
CGO: boolean;
|
||||||
|
|
||||||
|
Commit: string;
|
||||||
|
CommitTime: string;
|
||||||
|
Dirty: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ResourceVersion {
|
export interface ResourceVersion {
|
||||||
|
|
Loading…
Add table
Reference in a new issue