Fixed program title by using entry assembly instead of executing assembly for app config data.
This commit is contained in:
parent
9ec8130a8a
commit
60731e01a8
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace SafeExamBrowser.Configuration.ConfigurationData
|
|||
|
||||
internal AppConfig InitializeAppConfig()
|
||||
{
|
||||
var executable = Assembly.GetExecutingAssembly();
|
||||
var executable = Assembly.GetEntryAssembly();
|
||||
var certificate = executable.Modules.First().GetSignerCertificate();
|
||||
var programBuild = FileVersionInfo.GetVersionInfo(executable.Location).FileVersion;
|
||||
var programCopyright = executable.GetCustomAttribute<AssemblyCopyrightAttribute>().Copyright;
|
||||
|
|
Loading…
Reference in a new issue