AppInstaller // Add missing copyright label.
This commit is contained in:
parent
69d839e833
commit
3545cc1c22
|
@ -10,6 +10,8 @@ import AppKit
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
||||||
public struct MainView: View {
|
public struct MainView: View {
|
||||||
|
static let strCopyrightLabel = Bundle.main.localizedInfoDictionary?["NSHumanReadableCopyright"] as? String ?? "BAD_COPYRIGHT_LABEL"
|
||||||
|
|
||||||
@State var pendingSheetPresenting = false
|
@State var pendingSheetPresenting = false
|
||||||
@State var isShowingAlertForFailedInstallation = false
|
@State var isShowingAlertForFailedInstallation = false
|
||||||
@State var isShowingAlertForMissingPostInstall = false
|
@State var isShowingAlertForMissingPostInstall = false
|
||||||
|
@ -53,6 +55,7 @@ public struct MainView: View {
|
||||||
Text("v\(versionString) Build \(installingVersion)").lineLimit(1)
|
Text("v\(versionString) Build \(installingVersion)").lineLimit(1)
|
||||||
}.fixedSize()
|
}.fixedSize()
|
||||||
Text("i18n:installer.APP_DERIVED_FROM").font(.custom("Tahoma", size: 11))
|
Text("i18n:installer.APP_DERIVED_FROM").font(.custom("Tahoma", size: 11))
|
||||||
|
Text(Self.strCopyrightLabel).font(.custom("Tahoma", size: 11))
|
||||||
Text("i18n:installer.DEV_CREW").font(.custom("Tahoma", size: 11)).padding([.vertical], 2)
|
Text("i18n:installer.DEV_CREW").font(.custom("Tahoma", size: 11)).padding([.vertical], 2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue