Skip to content

Commit

Permalink
[Release] Update version to v7
Browse files Browse the repository at this point in the history
  • Loading branch information
SakuraKoi committed Mar 5, 2021
1 parent 36f4072 commit ed82e45
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BattlefieldChat/BattlefieldChat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BattlefieldChat::BattlefieldChat(QWidget *parent)
{
ui.setupUi(this);
ui.mainContent->setEnabled(false);
setWindowTitle(QString::fromUtf8(u8"Battlefield 1 中文输入工具 v") + currentVersion);
setWindowTitle(QString::fromUtf8(u8"Battlefield 1 中文输入工具 v") + currentVersion + addtionalVersion);
setWindowFlags(Qt::Window | Qt::MSWindowsFixedSizeDialogHint);
mainWindow = this;
inputWindow = new InputDialog();
Expand Down
4 changes: 2 additions & 2 deletions BattlefieldChat/BattlefieldChat.rc
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Powered By.SakuraKooi"
VALUE "FileDescription", "Battlefield 1 External Chat Tool"
VALUE "FileVersion", "ALPHA-v7"
VALUE "FileVersion", "v7"
VALUE "InternalName", "BattlefieldChat.exe"
VALUE "LegalCopyright", "Powered By.SakuraKooi"
VALUE "OriginalFilename", "BattlefieldChat.exe"
VALUE "ProductName", "Battlefield 1 Chat Tool"
VALUE "ProductVersion", "ALPHA-v7"
VALUE "ProductVersion", "v7"
END
END
BLOCK "VarFileInfo"
Expand Down
1 change: 1 addition & 0 deletions BattlefieldChat/GlobalVariables.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "GlobalVariables.h"

QString currentVersion = "7";
QString addtionalVersion = "";

bool allowExceedLimit = false;
bool fullscreenSupport = false;
Expand Down
1 change: 1 addition & 0 deletions BattlefieldChat/GlobalVariables.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "WorkerThread.h"

extern QString currentVersion;
extern QString addtionalVersion;

extern bool allowExceedLimit;
extern bool fullscreenSupport;
Expand Down

0 comments on commit ed82e45

Please sign in to comment.