Skip to content

Commit 5df7b50

Browse files
committed
updated manifest to add support for NVDA 2022.
updated github workflows upload-on-tag for allow a complete buildVars file, now is not needed to change variable "version".
1 parent ef9b631 commit 5df7b50

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/upload-on-tag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with open("buildVars.py", 'r+', encoding='utf-8') as f:
2727
text = f.read()
2828
version = "${{ github.ref }}".split("/")[-1]
29-
text = re.sub("\"addon_version\" : ,", "\"addon_version\" : \"%s\",", text) % version
29+
text = re.sub('"addon_version" *:.*,', '"addon_version" : "%s",' % version, text)
3030
f.seek(0)
3131
f.write(text)
3232
f.truncate()

beepKeyboard.code-workspace

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,16 @@
3535
],
3636
"python.testing.pytestEnabled": false,
3737
"python.testing.nosetestsEnabled": false,
38-
"python.testing.unittestEnabled": false
38+
"python.testing.unittestEnabled": false,
39+
"python.analysis.extraPaths": [
40+
"addon",
41+
"../../nvda/source",
42+
"../../nvda/include/comtypes",
43+
"../../nvda/include/configobj/src",
44+
"../../nvda/include/pyserial",
45+
"../../nvda/include/wxPython",
46+
"../../nvda/miscDeps/python"
47+
]
3948
}
4049

4150
}

buildVars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# Minimum NVDA version supported (e.g. "2018.3.0")
3030
"addon_minimumNVDAVersion" : "2018.3.0",
3131
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version)
32-
"addon_lastTestedNVDAVersion" : "2021.3.1",
32+
"addon_lastTestedNVDAVersion" : "2022.1.0",
3333
# Add-on update channel (default is stable or None)
3434
"addon_updateChannel" : None,
3535
}

0 commit comments

Comments
 (0)