Commit Graph

63 Commits

Author SHA1 Message Date
bossgeekgo
2c76254408 refactor subProcessOfCheckAndDownloadDependencies exit event handler - change the reject's argument to a string 2024-02-17 21:52:50 +08:00
bossgeekgo
5ede58169d add check dependencies logic before automatic start 2024-02-17 21:39:35 +08:00
bossgeekgo
4a86b57f57 remove useless ipc channel in GEEK_AUTO_START_CHAT_WITH_BOSS.ts - it only response for auto chat, not include download puppeteer 2024-02-17 19:36:38 +08:00
bossgeekgo
294213c442 handle download process of puppeteer not change to long (will encounter this when network disconnected when downloading) 2024-02-17 19:08:17 +08:00
bossgeekgo
57f20310af use exitCode and promise to check if puppeteer has been setup. migrate start install logic to DependenciesSetupProgressIndicatorDialog/index.vue 2024-02-17 18:07:15 +08:00
bossgeekgo
67983fbe9e update target company 2024-02-17 08:48:46 +08:00
bossgeekgo
ae48e7cc36 migrate the logic of check dependencies to on app launch 2024-02-17 03:23:51 +08:00
bossgeekgo
56adf2787d migrate DependenciesSetupProgressIndicatorDialog mount logic to single file 2024-02-17 01:27:31 +08:00
bossgeekgo
7b22aca5e2 rename DependenciesWarmingUpDialog to DependenciesSetupProgressIndicatorDialog 2024-02-16 09:10:29 +08:00
bossgeekgo
be415f5b99 update default target company list 2024-02-16 08:39:42 +08:00
bossgeekgo
67be994a73 resolve promise after puppeteer installed when find it not installed before start chat 2024-02-16 08:36:40 +08:00
bossgeekgo
5bcfb280e8 add puppeteer download finish and error status 2024-02-16 07:53:25 +08:00
bossgeekgo
962e47486f rename NEED_WARMING_UP_DEPENDENCIES to NEED_RESETUP_DEPENDENCIES 2024-02-15 22:45:54 +08:00
bossgeekgo
15369014e9 add the ui for dedicate download progress of puppeteer; use JSONParse to parse the download progress; finish the logic to pass the progress to ui 2024-02-15 11:31:54 +08:00
bossgeekgo
78118751b1 change puppeteer import path for ui project - always use the one in home folder 2024-02-15 00:54:19 +08:00
bossgeekgo
6c70993d97 import different puppeteer for prod and dev environments. prod use home folder one, dev use local node_modules one. add logic for download puppeteer. 2024-02-15 00:26:22 +08:00
bossgeekgo
bd572bc6c1 enhance logic to check if puppeteer is exist in user home runtime folder - use stdio pipe 2024-02-14 18:24:38 +08:00
bossgeekgo
1854059761 use initPuppeteer to check if it has import correct 2024-02-14 11:56:26 +08:00
bossgeekgo
a2c70add1c add chrome for puppeteer downloader 2024-02-14 09:55:20 +08:00
bossgeekgo
5b5dc528d3 output rather than no handle err in run-core 2024-02-13 16:19:53 +08:00
bossgeekgo
8582248ff8 make puppeteer can run from homedir rather than current project node_modules 2024-02-13 16:17:12 +08:00
bossgeekgo
cdc01c46fb change the way for importing puppeteer to work with ui 2024-02-13 13:32:19 +08:00
bossgeekgo
79d1580382 set puppeteer dependencies as external; check if the puppeteer installed before run. 2024-02-13 13:05:34 +08:00
bossgeekgo
6cf550bf8d change the name of ui to fix build process error - maybe relevant to /; don't run type check before build 2024-02-13 09:00:05 +08:00
bossgeekgo
612a76ddd0 change default font to monospace 2024-02-12 19:31:34 +08:00
bossgeekgo
f098386bc2 add exit auto chat logic in ui. 2024-02-12 18:56:37 +08:00
bossgeekgo
275138a885 add logic that launch auto start chat from render process 2024-02-12 17:41:25 +08:00
bossgeekgo
9f2090ac45 adjust the env name; add the dedicate script to run auto start chat 2024-02-12 13:01:32 +08:00
bossgeekgo
68b5778de0 add auto chat module for ui(haven't test yet); separate main process flow 2024-02-12 11:07:45 +08:00
bossgeekgo
afbd536d69 enhance bosszhipin cookie validator 2024-02-12 10:45:17 +08:00
bossgeekgo
8c0257e93a migrate cookie length condition out to shell from core 2024-02-12 10:38:35 +08:00
bossgeekgo
978b6d2105 change element plus import way to fix the el-form-item style issue. 2024-02-12 10:16:47 +08:00
bossgeekgo
5d80d3a80d add ops of save and read config files. migrate mainWindow to single file. 2024-02-12 10:05:02 +08:00
bossgeekgo
960c637372 migrate config files to user home so makes the file can be read both in cli and gui 2024-02-12 02:00:03 +08:00
bossgeekgo
9eb6d4c3f2 refactor json parser to json5 2024-02-11 23:51:47 +08:00
bossgeekgo
36bc5a9cdd add json5 dependency 2024-02-11 23:50:08 +08:00
bossgeekgo
f9761a47bb migrate config file to json; read them via fs. 2024-02-11 23:43:10 +08:00
bossgeekgo
4e2904721d finish basic page 2024-02-11 23:08:15 +08:00
bossgeekgo
053c047bb9 add element ui 2024-02-11 22:23:23 +08:00
bossgeekgo
f2ffcbc77d add vue-router 2024-02-11 22:11:27 +08:00
bossgeekgo
9dce50eb0e remove redundant files in ui; try to import mainLoop in @bossgeekgo/geek-auto-start-chat-with-boss 2024-02-11 22:10:59 +08:00
bossgeekgo
9594d20bcb add ui project - base on electron 2024-02-11 22:10:32 +08:00
bossgeekgo
ae3f57ae34 refactor structure to monorepo 2024-02-11 19:56:29 +08:00
bossgeekgo
c108dd6b37 when disable company allow list, we will believe that the first one in the list is your expect job. 2024-02-11 19:09:41 +08:00
bossgeekgo
3d3a87bd79 set send dingtalk message with delay 2024-02-11 18:42:36 +08:00
bossgeekgo
e9bba46b50 deal with first job is target job so that fix a endless async loop 2024-02-11 17:18:28 +08:00
bossgeekgo
a1ce4fbab9 update target company 2024-02-11 14:49:34 +08:00
bossgeekgo
6e56d7b63a update suffix of dingtalk message 2024-02-10 18:31:04 +08:00
bossgeekgo
31aafa790a migrate dingtalk relevant to Plugin; when today chat chance used out, a message will send to dingtalk. 2024-02-10 17:51:29 +08:00
bossgeekgo
b052dfedb1 add tapable dependencies 2024-02-10 16:54:54 +08:00