Skip to content
Snippets Groups Projects
Commit 03b4e45f authored by Mike DePaulo's avatar Mike DePaulo
Browse files

Append "-YYYYMMDD" to the NSIS version string.

parent 16ed09d1
No related merge requests found
......@@ -22,6 +22,7 @@
import sys
import os
import platform
import datetime
PROGRAM_NAME = 'PyHoca-GUI'
# Windows: UNINSTALL_NAME is for add/remove programs
......@@ -35,7 +36,7 @@ __VERSION__ = '0.0.0.0'
for line in file(os.path.join('pyhoca', 'wxgui', '__init__.py')).readlines():
if (line.startswith('__VERSION__')):
exec(line.strip())
PROGRAM_VERSION = __VERSION__
PROGRAM_VERSION = __VERSION__ + "-" + datetime.date.today().strftime('%Y%m%d')
PROGRAM_ICON = "pixmaps/pyhoca_x2go-logo-ubuntu.ico"
# Windows: UNINSTALL_ICON is for add/remove programs.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment