Update release date and make some minor changes to Windows launcher

This commit is contained in:
Veronica Berglyd Olsen
2025-01-20 22:18:54 +01:00
parent 2621e0cf1b
commit 8e4127fbb1
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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
+6 -6
View File
@@ -24,7 +24,7 @@
#include <tchar.h>
#include <iostream>
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) {