diff --git a/novelwriter/__init__.py b/novelwriter/__init__.py index 3fd6995e..c0358d27 100644 --- a/novelwriter/__init__.py +++ b/novelwriter/__init__.py @@ -49,7 +49,7 @@ __maintainer__ = "Veronica Berglyd Olsen" __email__ = "code@vkbo.net" __version__ = "2.7a2" __hexversion__ = "0x020700a2" -__date__ = "2025-01-18" +__date__ = "2025-01-20" __status__ = "Stable" __domain__ = "novelwriter.io" diff --git a/setup/windows/launcher.rc b/setup/windows/launcher.rc index 99e5091f..f6809018 100644 --- a/setup/windows/launcher.rc +++ b/setup/windows/launcher.rc @@ -1,4 +1,4 @@ -IDI_ICON1 ICON DISCARDABLE "novelwriter.ico" +IDI_ICON1 ICON DISCARDABLE "novelWriter.ico" 1 VERSIONINFO FILEVERSION 1,1,0,0 PRODUCTVERSION 1,1,0,0 diff --git a/setup/windows/main.cpp b/setup/windows/main.cpp index 434bed61..4f2121b3 100644 --- a/setup/windows/main.cpp +++ b/setup/windows/main.cpp @@ -24,7 +24,7 @@ #include #include -void _tmain( int argc, TCHAR *argv[] ) { +void _tmain(int argc, TCHAR *argv[]) { STARTUPINFO si; PROCESS_INFORMATION pi; @@ -32,11 +32,11 @@ void _tmain( int argc, TCHAR *argv[] ) { si.cb = sizeof(si); ZeroMemory(&pi, sizeof(pi)); - TCHAR fileName[MAX_PATH]; - auto pathlen = GetModuleFileName(NULL, fileName, MAX_PATH); - fileName[pathlen - 15] = 0; - SetCurrentDirectory(fileName); - std::cout << "WorkDir: " << fileName << std::endl; + TCHAR path[MAX_PATH]; + auto pathlen = GetModuleFileName(NULL, path, MAX_PATH); + path[pathlen - 15] = 0; + SetCurrentDirectory(path); + std::cout << "WorkDir: " << path << std::endl; TCHAR cmd[MAX_PATH] = TEXT("pythonw.exe novelWriter.pyw"); if (argc > 1) {