Add versioning to MSI installer.

Also close console window when not using CLI.

Remove deployment section of appveyor.yml for the time being.
This commit is contained in:
Kevin Cathcart
2017-12-02 09:21:04 -05:00
parent 793eaeed65
commit c760ac1766
4 changed files with 16 additions and 11 deletions

View File

@@ -62,3 +62,12 @@ def open_file(filename):
else:
open_Command = 'open' if sys.platform == 'darwin' else 'xdg-open'
subprocess.call([open_command, filename])
def close_console():
if sys.platform == 'win32':
#windows
import ctypes.wintypes
try:
ctypes.windll.kernel32.FreeConsole()
except:
pass