Commit Graph

117 Commits

Author SHA1 Message Date
geekgeekrun
3f2630d9c6 move last-used-browser-record to storage folder under runtimeFolderPath 2024-03-16 03:42:54 +08:00
geekgeekrun
76db85d01e WIP: for ui package, move the core logic of run core to child process, and rerun run child process in daemon process when uncaught error makes process terminated. TODO: test the flow 2024-03-16 03:25:44 +08:00
geekgeekrun
2339b2565e fix the issue that import external-node-runtime-dependencies in worker threads will throw error due to it cannot access electron module - the import path in worker threads will not rely on electron 2024-03-14 09:31:47 +08:00
geekgeekrun
17ec7f3a65 distinguish main and worker thread to check if should import electron 2024-03-13 01:24:24 +08:00
geekgeekrun
5b5287d6f3 refactor pipeWriteRegardlessError - use error event to handle error 2024-03-11 10:05:34 +08:00
geekgeekrun
55cc92a498 change exit code; make enum for exit code 2024-03-11 07:03:11 +08:00
geekgeekrun
6ce92af189 fix ui project issue that once throw error, browser never restart; add the time gap for next time when encounter error. 2024-03-10 23:50:11 +08:00
geekgeekrun
99d763029e adjust the height of flying company logo list in running status 2024-03-10 21:42:12 +08:00
geekgeekrun
e51eae331a enhance the effect and performance of flying company logo list 2024-03-10 21:28:07 +08:00
geekgeekrun
6a00cff74a use import function-like statement to import electron to solve program error on production 2024-03-10 15:25:09 +08:00
geekgeekrun
3ff4500737 refactor the implement of flying card - with pure dom operation 2024-03-10 13:56:33 +08:00
geekgeekrun
d3029b9ebb fix a missing import 2024-03-10 13:54:59 +08:00
geekgeekrun
4b074827bb adjust the folder structure of GEEK_AUTO_START_CHAT_WITH_BOSS_STARTED 2024-03-10 12:34:05 +08:00
geekgeekrun
37cbb19bbd fix the wrong then call on electron.ipcRenderer.invoke('prepare-run-geek-auto-start-chat-with-boss') - which should be catch call 2024-03-10 12:20:32 +08:00
geekgeekrun
e794169020 add the middle page (PrepareRun) between configuration page and RunningStatus page 2024-03-10 10:29:30 +08:00
geekgeekrun
20546c9fe6 handle the scenario when user remove any chromium executable before click start job hunt 2024-03-09 09:58:38 +08:00
geekgeekrun
477365ec37 rename findAndLocateExistedChromiumExecutableSync function name to findAndLocateUserInstalledChromiumExecutableSync 2024-03-09 09:51:13 +08:00
geekgeekrun
e69851c008 refactor the folder structure in ui main process CHECK_AND_DOWNLOAD_DEPENDENCIES flow; fix the cannot read property on vm issue in BootstrapSplash in renderer process 2024-03-09 09:15:55 +08:00
geekgeekrun
4b0a1aa777 adjust ui description text in cookie assistant 2024-03-08 09:58:50 +08:00
geekgeekrun
8f1b49e4a9 remove use less dialog 2024-03-08 09:45:15 +08:00
geekgeekrun
fc68291923 add splash; refactor some key steps from dialog to page 2024-03-08 09:41:49 +08:00
geekgeekrun
75924a4747 migrate the logic of findAndLocateExistedChromiumExecutable to worker to prevent ui being block 2024-03-06 00:26:07 +08:00
geekgeekrun
4b1e91bba4 WIP: add the test worker, and make it can be log something 2024-03-05 10:06:56 +08:00
geekgeekrun
b4e3c17f9e refactor the is.dev to process.env.NODE_ENV === 'development' 2024-03-05 10:02:49 +08:00
geekgeekrun
9a7aa8e3ab fix Chinese text display as NSimsun font 2024-03-04 09:07:48 +08:00
geekgeekrun
f71ff9797a fix and ensure the execution sequence of download browser and check cookie file 2024-03-04 08:48:06 +08:00
geekgeekrun
a25e7aedb9 add logic to detect and handle login invalid - will exit auto start chat and show cookie assistant. add the logic to store cookie and local storage while auto start chat running. 2024-03-03 23:28:36 +08:00
geekgeekrun
6a7b402101 adjust ui text about cookie assistant entry button 2024-03-03 19:42:44 +08:00
geekgeekrun
72b2919d19 show cookie assistant when find cookie invalid after launch; extract check cookie format correct; 2024-03-03 19:37:24 +08:00
geekgeekrun
7e5e37c512 replace cookie input with cookie assistant entry on configuration page 2024-03-03 18:07:52 +08:00
geekgeekrun
4b7733c8a2 enhance the page status ui detail. such as not use collected value override user inputted content in cookie textarea, restore page alert bar status when user close browser without cookie being collected 2024-03-03 16:33:30 +08:00
geekgeekrun
17c17bb6e6 fix the logic to check if cookie valid 2024-03-03 16:19:01 +08:00
geekgeekrun
e4faa85a7f enhance cookie assistant dialog - help info, form validation, ui text. style, etc. 2024-03-03 14:53:19 +08:00
geekgeekrun
56fdde6174 add cookie assistant, and the fill cookie field logic of collecting cookie after login 2024-03-03 12:42:32 +08:00
geekgeekrun
f2a0ed7219 fix the path of EditThisCookie zip file while run launch-bosszhipin-login-page-with-preload-extension from ui 2024-03-03 07:04:17 +08:00
geekgeekrun
5ca9bf08a5 add launch login page button. when user click it, will open the login page 2024-03-02 06:20:12 +08:00
geekgeekrun
bd9c4f04a4 run npm i for ui/external-node-runtime-dependencies when install ui 2024-03-02 05:44:06 +08:00
geekgeekrun
d5ab2eca88 enhance ui text 2024-03-02 05:13:10 +08:00
geekgeekrun
c781e6d12f add description for bosszhipin cookie field for Configuration in ui 2024-03-02 00:59:50 +08:00
geekgeekrun
6f7cce46e9 change bosszhipin cookie path to storage path 2024-03-02 00:28:20 +08:00
geekgeekrun
fbfae5f683 try to write browser info(executablePath, browser) to last-used-browser-record for store user profile use 2024-02-26 01:44:52 +08:00
geekgeekrun
d85240b94e make edge on windows can be used as puppeteer executable 2024-02-25 19:35:49 +08:00
geekgeekrun
3d58571c35 downgrade and pin puppeteer and chromium version, try to make windows 10 1507 run. 2024-02-25 17:37:51 +08:00
geekgeekrun
ced77c65df log out the reason PUPPETEER_DOWNLOAD_ENCOUNTER_ERROR 2024-02-25 16:27:35 +08:00
geekgeekrun
4fc5c8c3b1 fix import path lack of protocol in product package on windows 11 2024-02-25 16:27:25 +08:00
geekgeekrun
17cdbd871c make find-chrome-bin as external dependencies to resolve production build runtime error 2024-02-25 14:39:48 +08:00
geekgeekrun
1557ed26b9 Merge branch 'feature/ui' into feature/ui-use-users-own-browser 2024-02-25 14:16:20 +08:00
geekgeekrun
9b6ce8352e remove useless env PUPPETEER_EXECUTABLE_PATH in 'setup-dependencies' 2024-02-25 14:13:05 +08:00
geekgeekrun
33c7f6679b fix not sync changed in GEEK_AUTO_START_CHAT_WITH_BOSS - use getAnyAvailablePuppeteerExecutablePath instead checkCachedPuppeteerExecutable to check isPuppeteerExecutable 2024-02-25 14:12:58 +08:00
geekgeekrun
8331ee172b add find-chrome-bin to externalizeDepsPlugin config 2024-02-25 14:12:46 +08:00