526 Commits

Author SHA1 Message Date
Memory
767cdfeef3
fix: unmaximize save 2026-01-22 13:57:32 +08:00
xmk23333
3c148f2c01 fix: prevent profile switch queue from breaking after failed switch 2026-01-19 12:55:21 +08:00
xmk23333
56e328191f fix: resolve merge conflict and stabilize core/control flows 2026-01-19 00:37:15 +08:00
xmk23333
0cc1d238c9 Merge branch 'smart_core' of https://github.com/mihomo-party-org/clash-party into smart_core 2026-01-19 00:34:36 +08:00
xmk23333
3f7b85afc1 fix: resolve restartCore race condition and add retry mechanism 2026-01-18 23:07:04 +08:00
Memory
72dd214ef0
feat: add startup configuration file check 2026-01-17 22:15:48 +08:00
xmk23333
4a868e53ae fix: silently disable tun on startup instead of showing dialog 2026-01-15 23:55:15 +08:00
xmk23333
9e0f27aea3 fix: prevent crashes from process.exit, empty array destructuring and native module calls 2026-01-15 23:44:28 +08:00
xmk23333
a28f576d78 fix: properly handle critical file copy failures in initFiles 2026-01-15 23:29:27 +08:00
xmk23333
2cfcf8be66 fix: resolve tun crash caused by single instance lock conflict on admin restart 2026-01-15 23:25:48 +08:00
xmk23333
e21558ac37 fix: use sync state to prevent tray icon flickering on macOS with traffic display 2026-01-15 23:14:17 +08:00
xmk23333
295c4400e9 fix: resolve auto-run and TUN restart issues on Windows IoT LTSC 2026-01-15 22:49:27 +08:00
xmk23333
e6cba388b2 fix: await setProxy completion before making proxy requests 2026-01-15 21:05:52 +08:00
xmk23333
291abc0a0d fix: prevent tray icon flickering when showTraffic enabled on macOS 2026-01-15 21:02:34 +08:00
xmk23333
1d053fe636 chore: add type module and fix preload script output format 2026-01-15 19:22:53 +08:00
xmk23333
3d68e57158 fix: use helper service for dns settings to avoid permission error on macos 2026-01-15 18:44:02 +08:00
xmk23333
8af815ee60 fix: add delay in coreWatcher to avoid race condition with core self-restart 2026-01-15 18:41:59 +08:00
xmk23333
fdb57431ba fix: add delay before core restart to avoid pipe connection race condition 2026-01-15 18:30:27 +08:00
xmk23333
5eee22292e fix: sanitize NaN port values when reading config 2026-01-15 18:24:46 +08:00
xmk23333
36027cecea fix: handle port value zero correctly and prevent NaN from being written to config 2026-01-15 18:23:46 +08:00
xmk23333
727eceb0cf fix: precise proxy group name replacement in smart override rules 2026-01-15 18:13:43 +08:00
xmk23333
3d9507b10c fix: handle file copy errors gracefully in init 2026-01-15 18:11:15 +08:00
xmk23333
9d5d2bb73d fix: add defensive checks for undefined arrays to prevent find/filter errors 2026-01-15 18:06:37 +08:00
xmk23333
ccaabb7b1a fix: sync updated geo files to profile work dir in lite mode 2026-01-15 18:05:38 +08:00
xmk23333
5947394338 fix: avoid ENOENT/EPERM errors when copying init files 2026-01-15 18:00:04 +08:00
xmk23333
5f5ca0fd27 fix: ensure items array exists in profile and override config 2026-01-15 17:58:27 +08:00
xmk23333
bab949e16a fix: ensure admin restart waits for new process before quitting 2026-01-15 17:53:21 +08:00
xmk23333
a0bac512dd fix: ensure items array exists in profile and override config 2026-01-15 17:53:13 +08:00
xmk23333
075132397c refactor: simplify ipc with proxy pattern and split startCore into smaller functions 2026-01-15 13:53:07 +08:00
xmk23333
a5d2114363 fix: resolve all eslint errors and warnings 2026-01-08 12:56:08 +08:00
xmk23333
e70ca694b9 fix: resolve eslint errors and enhance code review rules 2026-01-08 12:29:10 +08:00
xmk23333
6a9edd8665 refactor: split manager.ts into permissions, process, dns modules 2026-01-07 14:58:46 +08:00
xmk23333
9963f67433 refactor: extract createBackupZip to reduce duplication in backup.ts 2026-01-06 02:39:35 +08:00
xmk23333
0b65eb490f refactor: optimize init.ts with parallel execution and split migration 2026-01-06 02:37:32 +08:00
xmk23333
bff3aedf86 fix: kill old mihomo processes before copying files to avoid EBUSY 2026-01-06 02:34:42 +08:00
xmk23333
5d10c45206 refactor: replace @mihomo-party/sysproxy with local sysproxy-rs 2026-01-06 02:22:33 +08:00
xmk23333
7b7333d271 fix: prevent timer leaks and race conditions in config/profile/ssid modules 2026-01-04 16:45:42 +08:00
xmk23333
2c639d5bff fix: resolve race conditions in config writes and profile switching 2026-01-01 11:51:44 +08:00
xmk23333
8384953fb7 fix: read silentStart config synchronously to avoid race condition 2026-01-01 10:57:45 +08:00
xmk23333
85f430f188 fix: request admin privileges for DNS settings on macOS 2026-01-01 10:46:13 +08:00
xmk23333
3097019e9e fix: resolve async/null-safety issues in lifecycle, config and ipc modules 2026-01-01 10:33:01 +08:00
xmk23333
9e5d11c3c8 refactor: replace console.log with createLogger in main process 2026-01-01 10:16:49 +08:00
xmk23333
676743d1b0 refactor: replace console.log with logger in github.ts and fix tray comments 2026-01-01 10:07:23 +08:00
xmk23333
c1f7a862aa refactor: split main process into modules and extract tour logic 2026-01-01 09:35:45 +08:00
Memory
34d2b31579
fix: add force option to file copy to prevent first launch failures 2025-12-31 20:26:04 +08:00
xmk23333
0198630e57 fix: improve macos helper recovery when socket missing after reboot 2025-12-28 20:37:06 +08:00
xmk23333
3d6d545a93 fix: use atomic update in changeCurrentProfile 2025-12-28 20:18:11 +08:00
xmk23333
fbde5c3f09 fix: ensure consistent current profile id when diffWorkDir enabled 2025-12-28 20:06:26 +08:00
xmk23333
818b546817 fix: add config write queue and prevent ipc listener accumulation 2025-12-28 19:36:01 +08:00
xmk23333
b60c01bb4c fix: resolve event listener memory leaks and add error logging 2025-12-28 19:02:07 +08:00