mirror of
https://github.com/tnodir/fort
synced 2024-11-15 02:05:44 +00:00
UI: Improve version text
This commit is contained in:
parent
f58b54bd94
commit
d33ae75bdb
@ -22,6 +22,7 @@ AppMutex={#APP_NAME},{#APP_BASE}
|
||||
AppName={#APP_NAME}
|
||||
AppVersion={#APP_VERSION_STR}
|
||||
VersionInfoVersion={#APP_VERSION_STR}
|
||||
VersionInfoProductTextVersion={#APP_VERSION_STR}{#APP_VERSION_BUILD_STR}
|
||||
AppVerName={#APP_NAME}
|
||||
AppCopyright={#APP_LEGALCOPYRIGHT}
|
||||
AppPublisher={#APP_PUBLISHER}
|
||||
@ -34,7 +35,7 @@ AlwaysShowDirOnReadyPage=yes
|
||||
AlwaysShowGroupOnReadyPage=yes
|
||||
AllowNoIcons=yes
|
||||
OutputDir=out
|
||||
OutputBaseFilename={#APP_BASE}-{#APP_VERSION_STR}
|
||||
OutputBaseFilename={#APP_BASE}-{#APP_VERSION_STR}{#APP_VERSION_BUILD_STR}
|
||||
Uninstallable=not IsTaskSelected('portable')
|
||||
UninstallFilesDir={app}\uninst
|
||||
UninstallDisplayIcon={uninstallexe}
|
||||
|
@ -108,7 +108,7 @@ void Logger::setPath(const QString &path)
|
||||
|
||||
QString Logger::getFileTitle() const
|
||||
{
|
||||
return QLatin1String(APP_NAME) + " v" + APP_VERSION_STR
|
||||
return QLatin1String(APP_NAME) + " v" + APP_VERSION_STR + APP_VERSION_BUILD_STR
|
||||
+ (isService() ? " Service" : QString());
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@ void setupCrashHandler(CrashHandler &crashHandler, const FortSettings &settings)
|
||||
|
||||
FileUtil::removeOldFiles(dumpPath, fileNamePrefix, fileNameSuffix, CRASH_KEEP_FILES);
|
||||
|
||||
crashHandler.setFileNamePrefix(fileNamePrefix + APP_VERSION_STR + '_');
|
||||
crashHandler.setFileNamePrefix(fileNamePrefix + APP_VERSION_STR + APP_VERSION_BUILD_STR + '_');
|
||||
crashHandler.setFileNameSuffix(fileNameSuffix);
|
||||
crashHandler.install(dumpPath);
|
||||
}
|
||||
@ -85,6 +85,7 @@ int main(int argc, char *argv[])
|
||||
QApplication::setApplicationName(APP_NAME);
|
||||
QApplication::setApplicationVersion(APP_VERSION_STR);
|
||||
QApplication::setApplicationDisplayName(QLatin1String(APP_NAME) + " v" + APP_VERSION_STR
|
||||
+ APP_VERSION_BUILD_STR
|
||||
+ (settings.isPortable() ? QLatin1String(" Portable") : QString()));
|
||||
|
||||
// Process (un)install arguments
|
||||
|
@ -5,6 +5,7 @@
|
||||
#define APP_VERSION_MINOR 10
|
||||
#define APP_VERSION_PATCH 5
|
||||
#define APP_VERSION_STR "3.10.5"
|
||||
#define APP_VERSION_BUILD_STR "-test3"
|
||||
#define APP_VERSION 0x031005
|
||||
|
||||
#define APP_NAME "Fort Firewall"
|
||||
|
Loading…
Reference in New Issue
Block a user