Commit Graph

124 Commits

Author SHA1 Message Date
geekgeekrun
b0a4347557 enhance splash style 2024-04-05 17:19:22 +08:00
geekgeekrun
c7694968b1 update ui text 2024-04-05 17:19:11 +08:00
geekgeekrun
5ca62ade55 add error catcher for pipeForRead; remove the logic exit process on pipe error 2024-04-05 17:19:08 +08:00
geekgeekrun
a28595da9a remove useless console.log(subProcessOfPuppeteer) 2024-04-05 17:19:04 +08:00
geekgeekrun
fdf9081a8f once pipe for process communication get bad, exit process immediately 2024-04-05 17:19:00 +08:00
geekgeekrun
3a31f7d186 add suicide timer in auto chat main for parent and child process don't have any communication after child process spawned in 10s. 2024-04-05 17:18:56 +08:00
geekgeekrun
a72fcaf00f refactor all import in src/main to async import 2024-04-05 17:18:53 +08:00
geekgeekrun
778943a572 add suicide timer in auto chat daemon for parent and child process don't have any communication after child process spawned in 10s. 2024-04-05 17:18:50 +08:00
geekgeekrun
ca333ce2da fix stdio is invalid issue on Windows 2024-04-05 17:18:30 +08:00
geekgeekrun
a06a3a7203 adjust stdio: ['inherit', 'inherit', 'inherit',...] to stdio: [process.stdin, process.stdout, process.stderr,...] 2024-03-21 02:07:56 +08:00
geekgeekrun
4f7e748a19 adjust event handle when encounter error NEED_TO_CHECK_RUNTIME_DEPENDENCIES in RunningStatus - go to '/' immediately 2024-03-20 01:16:14 +08:00
geekgeekrun
d70073d9e1 adjust ui text 2024-03-18 09:50:40 +08:00
geekgeekrun
628387bd0c WIP: migrate the logic to handle exception from run-core to ui TODO: test the changes 2024-03-18 01:22:33 +08:00
geekgeekrun
a717328ead migrate db file to runtimeFolder 2024-03-18 00:03:13 +08:00
geekgeekrun
3967c26ebc import db in ui project 2024-03-17 23:45:04 +08:00
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
5ca9bf08a5 add launch login page button. when user click it, will open the login page 2024-03-02 06:20:12 +08:00