mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-09-06 16:16:56 +08:00
chore(release): prepare v2.4.5
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
||||||
"productName": "BiliNote",
|
"productName": "BiliNote",
|
||||||
"version": "2.4.4",
|
"version": "2.4.5",
|
||||||
"identifier": "com.jefferyhuang.bilinote",
|
"identifier": "com.jefferyhuang.bilinote",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../dist",
|
"frontendDist": "../dist",
|
||||||
|
|||||||
@@ -31,7 +31,11 @@ def _stub(name, **attrs):
|
|||||||
module = types.ModuleType(name)
|
module = types.ModuleType(name)
|
||||||
for key, value in attrs.items():
|
for key, value in attrs.items():
|
||||||
setattr(module, key, value)
|
setattr(module, key, value)
|
||||||
sys.modules.setdefault(name, module)
|
# Tests in this repository load downloader modules with lightweight app
|
||||||
|
# stubs. Replace a previous test's stub instead of inheriting it; otherwise
|
||||||
|
# a prior import can leave AudioDownloadResult as ``object`` and turn this
|
||||||
|
# metadata-only test into a TypeError unrelated to the behavior under test.
|
||||||
|
sys.modules[name] = module
|
||||||
return module
|
return module
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user