41 Commits
Author SHA1 Message Date
NuoFang a91201f1fc fix: correct android amd64 core asset name in updater (#3167) 2026-09-08 14:22:19 +08:00
wwqgtxx 1cab34d257 chore: update quic-go to 0.57.1 2025-12-17 16:13:12 +08:00
wwqgtxx f3ebd5c489 chore: clarify function descriptions and variable names 2025-09-19 08:02:25 +08:00
wwqgtxx 74e64d31e3 fix: maybe "invalid cross-device link" in update ui
https://github.com/MetaCubeX/mihomo/issues/2270
2025-09-18 18:49:24 +08:00
wwqgtxx 57e14e5b62 chore: cleanup internal ca using 2025-09-13 14:13:01 +08:00
xishang0128 2605bf78f9 fix: add code signing for macOS executables during file copy 2025-08-25 11:31:21 +08:00
wwqgtxx 00035302a1 chore: let /upgrade support channel and force as parameters in restful api
Leaving `channel` blank will automatically determine the channel. Other valid values are `alpha`/`release`.

Setting `force` to `true` will bypass the version check and force the update.
2025-07-30 17:50:11 +08:00
wwqgtxx 578e659bb9 chore: keep original file permissions when unpack in updater 2025-07-30 17:09:08 +08:00
wwqgtxx 0f1baeb935 fix: updater may not be able to overwrite files directly 2025-07-28 22:21:57 +08:00
wwqgtxx c3a3009a8c chore: keep original file permissions when copyFile in updater 2025-07-26 22:10:47 +08:00
xishang0128 01cd7e2c0e chore: improve backup and replace logic in updater 2025-07-26 22:49:20 +09:00
wwqgtxx deec7aafe5 chore: optimizing download in updater 2025-07-26 15:15:11 +08:00
wwqgtxx a9b7e705f0 chore: optimizing copyFile in updater 2025-07-26 01:32:49 +08:00
xishang0128 fb043df1b6 chore: use canonical return value order 2025-07-25 23:38:35 +09:00
xishang0128 748b5df902 chore: keep original file permissions after update 2025-07-25 23:38:35 +09:00
wwqgtxx a37440c81b fix: some downstream dependencies on the upgrader's output fields 2025-07-25 17:57:34 +08:00
wwqgtxx 1a84153213 chore: code cleanup 2025-07-24 15:40:32 +08:00
wwqgtxx dfe6e0509b chore: rebuild core updater 2025-07-24 02:08:14 +08:00
xishang0128 b6dde7ded7 action: use a more standardized naming format while retaining some compatibility with the old format 2025-07-23 22:58:41 +09:00
wwqgtxx 9f1da11792 chore: use the compile-time GOAMD64 flag in the updater 2025-07-23 18:08:08 +08:00
白日梦主义 63ad95e10f fix: remove unconventional bits when unpacking for update_ui (#2178) 2025-07-22 22:45:20 +08:00
wwqgtxx 8f92b1de13 chore: simplify the single root decompression process 2025-05-20 09:48:05 +08:00
wwqgtxx 9f7a2a36c1 chore: unpack externalUI in a separate temporary directory to avoid malicious compressed packages from polluting workdir 2025-05-20 01:58:25 +08:00
wwqgtxx a93479124c chore: stricter path checking when unpacking zip/tgz 2025-05-20 00:00:30 +08:00
wwqgtxx ed42c4feb8 chore: disallow symlink in unzip 2025-05-19 23:42:39 +08:00
wwqgtxx aa51b9faba chore: replace using internal batch package to x/sync/errgroup
In the original batch implementation, the Go() method will always start a new goroutine and then wait for the concurrency limit, which is unnecessary for the current code. x/sync/errgroup will block Go() until the concurrency limit is met, which can effectively reduce memory usage.
In addition, the original batch always saves the return value of Go(), but it is not used in the current code, which will also waste a lot of memory space in high concurrency scenarios.
2025-04-28 10:28:45 +08:00
ForestL 9bfb10d7ae chore: extracting compressed files to correct location (#1823) 2025-02-05 10:10:58 +08:00
wwqgtxx fbead56ec9 feat: add size-limit for provider
https://github.com/MetaCubeX/mihomo/issues/1645
2024-11-27 09:28:38 +08:00
ForestL 4437c8861c chore: better getUpdateTime() for iterating all Geofiles (#1570) 2024-10-11 08:46:31 +08:00
wwqgtxx 8e6eb70e71 chore: temporary update general in ParseRawConfig and rollback before its retur 2024-10-06 00:21:00 +08:00
wwqgtxx 9286e21026 chore: rebuild external ui updater 2024-10-05 13:40:00 +08:00
wwqgtxx 966eeae41b chore: rewrite bbolt cachefile implements
never use returned byte slices outside the transaction, ref:
https://pkg.go.dev/go.etcd.io/bbolt#hdr-Caveats
2024-09-23 09:35:48 +08:00
wwqgtxx b7cb6774bf chore: support ETag for update geo 2024-09-22 13:57:57 +08:00
wwqgtxx 7c8f451892 chore: cleanup geo internal code 2024-09-09 16:08:48 +08:00
wwqgtxx ef244b896a chore: update geo in a batch 2024-09-09 10:07:50 +08:00
Larvan2 56fe7d5304 chore: clean up update_ui code 2024-09-02 11:17:35 +08:00
wwqgtxx 4fedfc47b0 chore: update geo unneeded reload whole config 2024-08-16 09:19:18 +08:00
Larvan2 50d0cd363c chore: auto download external UI when 'external-ui' is set and not empty 2024-08-13 14:19:34 +08:00
Larvan2 4243a74284 chore: auto update geo 2024-05-19 18:51:06 +08:00
Larvan2 c3ee921d30 chore: apply config when geo update 2024-05-19 15:46:23 +08:00
Larvan2 5c3a9b1dfc fix: geo auto update #1261 2024-05-17 11:51:32 +08:00