This commit is contained in:
949036910@qq.com
2026-06-03 18:49:37 +08:00
parent 9d9a6f62c9
commit c81c4e31e0
5 changed files with 944 additions and 179 deletions

View File

@@ -40,6 +40,7 @@ globalThis.__nodejsMain = async function main(params) {
description,
tags,
autoPublish,
keepPageOpen: !autoPublish,
});
results.push({
platform: label,
@@ -70,8 +71,16 @@ globalThis.__nodejsMain = async function main(params) {
const pending = results.filter((r) => r.pending).length;
const failed = results.length - ok - pending;
const keepBrowserOpen = results.some(
(r) =>
r.pending ||
r.status === "manual_pending" ||
r.status === "verification_required",
);
return {
success: ok > 0 || pending > 0,
keepBrowserOpen,
results,
summary: { ok, pending, failed, total: results.length },
message: