Added functions to read and write project lockfile

This commit is contained in:
Veronica K. B. Olsen
2020-02-26 22:09:37 +01:00
parent 8d1e4a2778
commit af410e0b15
3 changed files with 96 additions and 2 deletions
+5 -1
View File
@@ -20,7 +20,7 @@ from os import path, mkdir, unlink, rename
from datetime import datetime
from PyQt5.Qt import PYQT_VERSION_STR
from PyQt5.QtCore import QT_VERSION_STR, QStandardPaths
from PyQt5.QtCore import QT_VERSION_STR, QStandardPaths, QSysInfo
from nw.constants import nwFiles, nwUnicode
from nw.common import splitVersionNumber
@@ -156,6 +156,10 @@ class Config:
else:
self.osUnknown = True
# Other System Info
self.hostName = QSysInfo.machineHostName()
self.kernelVer = QSysInfo.kernelVersion()
# Packages
self.hasEnchant = False
self.hasSymSpell = False