Skip to content

Commit

Permalink
Bump version to 3.1.0
Browse files Browse the repository at this point in the history
Also update installer script to download and install VS2013 runtimes if needed
  • Loading branch information
sirjuddington committed Jun 20, 2014
1 parent 7708c6c commit 8be0a20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/MainApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ namespace Global
{
string error = "";

string version = "3.1.0 beta 6"
string version = "3.1.0"
#ifdef GIT_DESCRIPTION
" (" GIT_DESCRIPTION ")"
#endif
"";

int log_verbosity = 1;
int version_num = 3100;
int beta_num = 6;
int beta_num = 0;

#ifdef DEBUG
bool debug = true;
Expand Down
8 changes: 5 additions & 3 deletions win_installer/SLADE.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#define MyAppName "SLADE"
#define MyAppVersion "3.1.0"
#define VersionNum "310"
#define MyAppURL "http://slade.mancubus.net"
#define MyAppExeName "SLADE.exe"

Expand All @@ -24,7 +25,7 @@ DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
InfoBeforeFile=..\dist\slade3.txt
OutputBaseFilename=Setup_{#MyAppName}_{#MyAppVersion}
OutputBaseFilename=Setup_{#MyAppName}_{#VersionNum}
SetupIconFile=..\slade.ico
Compression=lzma
SolidCompression=yes
Expand All @@ -45,6 +46,7 @@ Source: "..\dist\libsndfile-1.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\dist\openal32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\dist\slade.pk3"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\dist\slade3.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\dist\SLADE.pdb"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Expand All @@ -63,7 +65,7 @@ Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChang
#include "scripts\products\fileversion.iss"
#include "scripts\products\dotnetfxversion.iss"

#include "scripts\products\vcredist2012.iss"
#include "scripts\products\vcredist2013.iss"

[Code]
function InitializeSetup(): boolean;
Expand All @@ -72,7 +74,7 @@ begin
initwinversion();
// Check for VS2012 runtimes installed
vcredist2012();
vcredist2013();
Result := true;
end;

0 comments on commit 8be0a20

Please sign in to comment.