We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a74197 commit 8a2ce5bCopy full SHA for 8a2ce5b
1 file changed
source/installer.py
@@ -259,10 +259,9 @@ def registerInstallation(
259
startOnLogonScreen: bool,
260
configInLocalAppData: bool = False
261
):
262
- calculatedUninstallerRegInfo = uninstallerRegInfo + {
263
- # EstimatedSize is in KiB
264
- "EstimatedSize": getDirectorySize(installDir) / 1024
265
- }
+ calculatedUninstallerRegInfo = uninstallerRegInfo.copy()
+ # EstimatedSize is in KiB
+ calculatedUninstallerRegInfo.update(EstimatedSize=getDirectorySize(installDir) / 1024)
266
with winreg.CreateKeyEx(
267
winreg.HKEY_LOCAL_MACHINE,
268
r"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NVDA",
0 commit comments