mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-08-29 20:18:47 +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",
|
||||
"productName": "BiliNote",
|
||||
"version": "2.4.4",
|
||||
"version": "2.4.5",
|
||||
"identifier": "com.jefferyhuang.bilinote",
|
||||
"build": {
|
||||
"frontendDist": "../dist",
|
||||
@@ -43,4 +43,4 @@
|
||||
"icons/icon.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,11 @@ def _stub(name, **attrs):
|
||||
module = types.ModuleType(name)
|
||||
for key, value in attrs.items():
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user