Skip to content

Let's use AI to Earn!

fix: 快手登录修复

gaoSired1c7a8f0de2
diff --git a/electron/plat/Kwai/index.ts b/electron/plat/Kwai/index.ts
index cb367846..074a3007 100644
--- a/electron/plat/Kwai/index.ts
+++ b/electron/plat/Kwai/index.ts
@@ -274,9 +274,9 @@ class KwaiPub {
});
// 登录页面
await mainWindow.loadURL(
- 'https://passport.kuaishou.com/pc/account/login/?sid=kuaishou.web.cp.api&callback=https%3A%2F%2Fcp.kuaishou.com%2Frest%2Finfra%2Fsts%3FfollowUrl%3Dhttps%253A%252F%252Fcp.kuaishou.com%252Fprofile%26setRootDomain%3Dtrue',
+ 'https://passport.kuaishou.com/pc/account/login',
);
- // return;
+ mainWindow.webContents.openDevTools();
let timeId1: NodeJS.Timeout | undefined = undefined;
let timeId2: NodeJS.Timeout | undefined = undefined;
mainWindow.on('closed', () => {