fix: canvas image/video download - fix data URL parsing in cvDownloadPreview (v1.5.21, hot 1.5.23)
This commit is contained in:
@@ -26,7 +26,8 @@ function arg(name, def) {
|
||||
}
|
||||
const has = (name) => argv.includes(name);
|
||||
const version = arg("--version", pkg.hotContentVersion || pkg.version);
|
||||
const minAppVersion = arg("--min", pkg.version);
|
||||
// 这是原生 Electron 壳的最低版本,不是热更内容版本。
|
||||
const minAppVersion = arg("--min", pkg.hotMinAppVersion || "1.5.0");
|
||||
const notes = arg("--notes", "");
|
||||
const mandatory = has("--mandatory");
|
||||
const requiresFull = has("--requires-full");
|
||||
|
||||
Reference in New Issue
Block a user