Repository navigation
更新頁:檢測通道三選一,手動下載加愛麗絲盤 - #492
Merged
Merged
Conversation
手動下載改成兩列:愛麗絲盤在上(直接開對應機型的分享頁)、GitHub 在下。 拿掉已不準確的來源說明與 GitHub 列的說明小字;錯誤訊息改指「下方的連結」。 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
版本檢查與 App 內下載依所選通道走;選擇存進設定(updateChannel,不跨裝置同步)。 - 自動:維持原行為(檢查以 GitHub 為準、讀不到才用鏡像;下載先鏡像後 GitHub)。 - 愛麗絲盤:檢查只問鏡像;Android 下載完全不連 GitHub,Windows 位元組只取鏡像但仍向 GitHub 核對。 - GitHub:檢查與下載都不碰鏡像。 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什麼
「設定 → 取得更新」:
檢測通道(自動/愛麗絲盤/GitHub)
版本卡片裡多一個三選一,決定「檢測最新版本」去哪裡問、App 內下載從哪裡抓。選擇存在設定
updateChannel(預設自動;不跨裝置同步,因為取決於那台裝置的網路)。檢查進行中不能切換;切換後上一個通道的檢查結果會清掉。version.json,由系統安裝程式的簽章檢查把關(與原本「GitHub 連不上」時相同)。Windows:位元組只取鏡像,但仍向 GitHub 取雜湊並核對版本號Windows 沒有簽章檢查,所以「不只憑鏡像安裝」這條在任何通道都維持。
手動下載
CloudreveMirror.latestPage):Android 依執行中的 ABI 開 arm64/armeabi-v7a,其他 ABI 開 universal;iOS、Windows、macOS、Linux 各自一頁。測試
test_1423_cloudreve_mirror_update_test.dart:各通道的檢查與下載(哪一邊被問、有沒有備援、Windows 仍向 GitHub 核對)、切換會儲存並傳到下載、未知的儲存值視為自動。update_download_page_test.dart:頁面上切換通道、檢查中不可切換、兩列下載的順序與網址、各系統/ABI 對到的分享頁。🤖 Generated with Claude Code