Release 2.4 Beta 1

This commit is contained in:
Veronica Berglyd Olsen
2024-03-26 12:49:21 +01:00
parent 8bb0588b2b
commit b0a4ac055a
3 changed files with 64 additions and 7 deletions
+5 -5
View File
@@ -42,9 +42,9 @@ __license__ = "GPLv3"
__author__ = "Veronica Berglyd Olsen"
__maintainer__ = "Veronica Berglyd Olsen"
__email__ = "code@vkbo.net"
__version__ = "2.4a4"
__hexversion__ = "0x020400a4"
__date__ = "2024-03-17"
__version__ = "2.4b1"
__hexversion__ = "0x020400b1"
__date__ = "2024-03-26"
__status__ = "Stable"
__domain__ = "novelwriter.io"
@@ -195,7 +195,7 @@ def main(sysArgs: list | None = None):
if CONFIG.osDarwin:
try:
from Foundation import NSBundle
from Foundation import NSBundle # type: ignore
bundle = NSBundle.mainBundle()
info = bundle.localizedInfoDictionary() or bundle.infoDictionary()
info["CFBundleName"] = "novelWriter"
@@ -207,7 +207,7 @@ def main(sysArgs: list | None = None):
try:
import ctypes
appID = f"io.novelwriter.{__version__}"
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(appID)
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(appID) # type: ignore
except Exception:
logger.error("Failed to set application name")
logException()