Skip to content

Commit

Permalink
bump minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
gurnec committed Jan 2, 2018
1 parent 29441a7 commit 59eb28e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Undo_MoM2e.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import tkinter as tk
from tkinter import ttk, messagebox, simpledialog, filedialog
import nrbf

__version__ = '2.0.1'
__version__ = '2.1'
DEFAULT_MAX_UNDO_STATES = 20

MOM = 'MoM2e'
Expand Down
2 changes: 1 addition & 1 deletion installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
3. Download `vc_redist.x86.exe` (Microsoft Visual C++ 2015 Redistributable Update 3) into this directory from here:
<https://www.microsoft.com/en-us/download/details.aspx?id=53587>.

4. Double-click the `build_installer.py` file in this directory. The built installer (`Undo_v2.0_for_FFG_setup.exe`) will be placed in this directory.
4. Double-click the `build_installer.py` file in this directory. The built installer (`Undo_v2.1_for_FFG_setup.exe`) will be placed in this directory.
10 changes: 5 additions & 5 deletions installer/Undo_MoM2e.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
!include MUI2.nsh

Name "Undo for FFG Games"
OutFile "Undo_v2.0_for_FFG_setup.exe"
OutFile "Undo_v2.1_for_FFG_setup.exe"

RequestExecutionLevel admin
ManifestSupportedOS all
Expand Down Expand Up @@ -36,13 +36,13 @@ Var StartMenuFolder

!insertmacro MUI_LANGUAGE "English"

VIProductVersion "2.0.1.0"
VIProductVersion "2.1.0.0"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "Undo for FFG Games"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "2.0.1"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "2.1"
VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "Installer distributed from https://github.com/gurnec/Undo_FFG/releases"
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright © 2017 Christopher Gurnee. All rights reserved."
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Undo for FFG Games Installer"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "2.0.1"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "2.1"


; The install script
Expand Down Expand Up @@ -97,7 +97,7 @@ Section
WriteRegStr HKLM "Software\Undo for MoM2e" "" $INSTDIR
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Undo for MoM2e" "DisplayIcon" "$INSTDIR\Undo_MoM2e.ico"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Undo for MoM2e" "DisplayName" "Undo for FFG Games"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Undo for MoM2e" "DisplayVersion" "2.0.1"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Undo for MoM2e" "DisplayVersion" "2.1"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Undo for MoM2e" "EstimatedSize" 16722
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Undo for MoM2e" "HelpLink" "https://github.com/gurnec/Undo_FFG/issues"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Undo for MoM2e" "NoModify" 1
Expand Down
2 changes: 1 addition & 1 deletion installer/build_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
run((str(makensis), 'Undo_MoM2e.nsi'), check=True)

if cert_name:
filename_to_sign = 'Undo_v2.0_for_FFG_setup.exe',
filename_to_sign = 'Undo_v2.1_for_FFG_setup.exe',
run(sign_args_sha1 + filename_to_sign, check=True)
run(sign_args_sha256 + filename_to_sign, check=True)

Expand Down
6 changes: 3 additions & 3 deletions installer/file_version_info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ VSVersionInfo(
ffi=FixedFileInfo(
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
# Set not needed items to zero 0.
filevers=(2, 0, 1, 0),
prodvers=(2, 0, 1, 0),
filevers=(2, 1, 0, 0),
prodvers=(2, 1, 0, 0),
# Contains a bitmask that specifies the valid bits 'flags'r
mask=0x3f,
# Contains a bitmask that specifies the Boolean attributes of the file.
Expand All @@ -30,7 +30,7 @@ VSVersionInfo(
StringTable(
u'040904b0',
[StringStruct(u'FileDescription', u'Undo for FFG Games'),
StringStruct(u'FileVersion', u'2.0.1.0'),
StringStruct(u'FileVersion', u'2.1.0.0'),
StringStruct(u'LegalCopyright', u'Copyright © 2017 Christopher Gurnee. All rights reserved.'),
StringStruct(u'OriginalFilename', u'Undo_MoM2e.exe')])
]),
Expand Down

0 comments on commit 59eb28e

Please sign in to comment.