diff --git a/nw/__init__.py b/nw/__init__.py index 0c7d93f2..6745d10e 100644 --- a/nw/__init__.py +++ b/nw/__init__.py @@ -66,7 +66,7 @@ __email__ = "code@vkbo.net" __version__ = "1.1" __hexversion__ = "0x010100f0" __date__ = "2021-02-07" -__status__ = "Testing" +__status__ = "Stable" __domain__ = "novelwriter.io" __url__ = "https://novelwriter.io" __sourceurl__ = "https://github.com/vkbo/novelWriter" @@ -132,7 +132,7 @@ def main(sysArgs=None): ] helpMsg = ( - "novelWriter {version} ({status} {date})\n" + "novelWriter {version} ({date})\n" "{copyright}\n" "\n" "This program is distributed in the hope that it will be useful,\n" @@ -151,7 +151,6 @@ def main(sysArgs=None): " --data= Alternative user data path.\n" ).format( version = __version__, - status = __status__, copyright = __copyright__, date = __date__, ) @@ -181,9 +180,7 @@ def main(sysArgs=None): print(helpMsg) sys.exit(0) elif inOpt in ("-v", "--version"): - print("novelWriter %s Version %s [%s]" % ( - __status__, __version__, __date__) - ) + print("novelWriter Version %s [%s]" % (__version__, __date__)) sys.exit(0) elif inOpt == "--info": logLevel = logging.INFO diff --git a/setup.py b/setup.py index a6032470..99d985e1 100755 --- a/setup.py +++ b/setup.py @@ -646,7 +646,7 @@ def winInstall(): """Will attempt to install icons and make a launcher for Windows. """ import winreg - from nw import __version__, __status__ + from nw import __version__, __hexversion__ try: import win32com.client except ImportError: @@ -662,7 +662,7 @@ def winInstall(): print("===============") print("") - nwTesting = not __status__.lower().startswith("stable") + nwTesting = not __hexversion__[-2] == "f" wShell = win32com.client.Dispatch("WScript.Shell") if nwTesting: