dialog_about: only include build date with credit (#45)
The build date is largely irrelevant and prevents reproducible builds. Make it optional.
This commit is contained in:
parent
dd67db47cb
commit
8d3ad9ff68
2 changed files with 6 additions and 4 deletions
|
@ -120,7 +120,10 @@ void ShowAboutDialog(wxWindow *parent) {
|
||||||
" FFTW - Copyright (c) Matteo Frigo, Massachusetts Institute of Technology;\n"
|
" FFTW - Copyright (c) Matteo Frigo, Massachusetts Institute of Technology;\n"
|
||||||
#endif
|
#endif
|
||||||
+ _("\nSee the help file for full credits.\n")
|
+ _("\nSee the help file for full credits.\n")
|
||||||
+ fmt_tl("Built by %s on %s.", GetAegisubBuildCredit(), GetAegisubBuildTime());
|
#ifdef BUILD_CREDIT
|
||||||
|
+ fmt_tl("Built by %s on %s.", GetAegisubBuildCredit(), GetAegisubBuildTime())
|
||||||
|
#endif
|
||||||
|
;
|
||||||
|
|
||||||
// Replace copyright symbol
|
// Replace copyright symbol
|
||||||
wxChar copySymbol = 0xA9;
|
wxChar copySymbol = 0xA9;
|
||||||
|
|
|
@ -55,17 +55,16 @@ const char *GetAegisubShortVersionString() {
|
||||||
return BUILD_GIT_VERSION_STRING DEBUG_SUFFIX;
|
return BUILD_GIT_VERSION_STRING DEBUG_SUFFIX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef BUILD_CREDIT
|
||||||
const char *GetAegisubBuildTime() {
|
const char *GetAegisubBuildTime() {
|
||||||
return __DATE__ " " __TIME__;
|
return __DATE__ " " __TIME__;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *GetAegisubBuildCredit() {
|
const char *GetAegisubBuildCredit() {
|
||||||
#ifdef BUILD_CREDIT
|
|
||||||
return BUILD_CREDIT;
|
return BUILD_CREDIT;
|
||||||
#else
|
|
||||||
return "";
|
return "";
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool GetIsOfficialRelease() {
|
bool GetIsOfficialRelease() {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue