diff --git a/.github/workflows/check-codes.yml b/.gitea/workflows/check-codes.yml similarity index 100% rename from .github/workflows/check-codes.yml rename to .gitea/workflows/check-codes.yml diff --git a/.github/workflows/gradle.yml b/.gitea/workflows/gradle.yml similarity index 100% rename from .github/workflows/gradle.yml rename to .gitea/workflows/gradle.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml deleted file mode 100644 index 3429f2f4f..000000000 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Bug 反馈 | Bug Report -description: - 反馈一个 HMCL 错误。| File a bug report for HMCL. -title: "[Bug] " -labels: bug -body: - - type: markdown - attributes: - value: | - 提交前请确认: - - * 该问题确实是 **HMCL 的错误**,而**不是 Minecraft 非正常退出**。如果你的 Minecraft 非正常退出,请前往 [QQ 群](https://docs.hmcl.net/groups.html)/[Discord 服务器](https://discord.gg/jVvC7HfM6U) 获取帮助。 - * 你的启动器版本是**最新的预览版本**。你可以从 [GitHub Actions](https://github.com/HMCL-dev/HMCL/actions/workflows/gradle.yml?query=branch%3Amain+event%3Apush) 或 [nightly.link](https://nightly.link/HMCL-dev/HMCL/workflows/gradle/main) 下载最新预览版本。 - - 如果你的问题并不属于上述两类,你可以选取另一种 Issue 类型,或者直接前往 [QQ 群](https://docs.hmcl.net/groups.html)/[Discord 服务器](https://discord.gg/jVvC7HfM6U) 获取帮助。 - - Before submitting, please confirm: - - * The issue is indeed **a bug of HMCL**, not **Minecraft abnormal exit**. If your Minecraft exits abnormally, please go to the [QQ group](https://docs.hmcl.net/groups.html) or [Discord server](https://discord.gg/jVvC7HfM6U) for help. - * Your launcher is the **latest nightly build**. You can download the latest nightly build from [GitHub Actions](https://github.com/HMCL-dev/HMCL/actions/workflows/gradle.yml?query=branch%3Amain+event%3Apush) or [nightly.link](https://nightly.link/HMCL-dev/HMCL/workflows/gradle/main). - - If your issue does not fall into the above two categories, you can choose another type of issue or directly go to the [QQ group](https://docs.hmcl.net/groups.html) or [Discord server](https://discord.gg/jVvC7HfM6U) for help. - - type: textarea - id: bug-report - attributes: - label: 问题描述 | Bug Description - description: | - 请尽可能地详细描述你所遇到的问题,并描述如何重新触发这个问题。 - Please describe the bug you met in as much detail as possible. Additionally, describe the steps to reproduce this bug. - placeholder: | - 1. 点击 HMCL 上的某个按钮 | Click a button named ... - 2. 向下翻页 | Scroll down - 3. ... - validations: - required: true - - type: textarea - id: hmcl-crash-report-or-logs - attributes: - label: 启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File - description: | - 如果你的启动器崩溃了,请将崩溃报告填入 (或将文件拖入) 下方。 - 如果你的启动器没有崩溃,请在遇到问题后**不要退出启动器**,在启动器的 “设置 → 通用 → 调试” 一栏中点击 “导出启动器日志”,并将导出的日志拖到下方的输入栏中。 - **请注意:启动器崩溃报告或日志文件是诊断问题的重要依据,请务必上传!** - - If your launcher crashes, please fill in (or drag the file in) the following input field with the crash report. - If your launcher does not crash, please DO NOT EXIT your launcher, click "Export Launcher Logs" in the "Settings → General → Debug" of the launcher, and drag the exported log to the following input field. - **ATTENTION: The crash report or log file is the key to resolving the bug. Please upload them!** - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 421efa07a..000000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,11 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: QQ 群 | QQ Group - url: https://docs.hmcl.net/groups.html - about: Hello Minecraft! Launcher 的官方 QQ 交流群。| The official QQ group of Hello Minecraft! Launcher. - - name: Discord 服务器 | Discord Server - url: https://discord.gg/jVvC7HfM6U - about: Hello Minecraft! Launcher 的官方 Discord 服务器。| The official Discord server of Hello Minecraft! Launcher. - - name: 其他反馈 | Others - url: https://github.com/HMCL-dev/HMCL/discussions/new/choose - about: 通过 Discussions 反馈其他问题。| Report other problems in Discussions. diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml deleted file mode 100644 index 0ccdb884c..000000000 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: 新功能 | Feature Request -description: 为 HMCL 提出新功能。| Suggest a new feature or enhancement for HMCL. -title: "[Feature] " -labels: enhancement -body: -- type: markdown - attributes: - value: | - 请确认 Issues 列表无重复的项目。 - Please make sure that no duplicate issues have already been submitted. -- type: textarea - id: summary - attributes: - label: 概述 | Summary - description: | - 请介绍你想加入的新功能。 - Please describe the new feature. - validations: - required: true -- type: textarea - id: reason - attributes: - label: 原因 | Reason - description: | - 请描述该功能带来的好处及原因。 - Please describe why you want to add the feature or enhancement to HMCL. - validations: - required: true -- type: textarea - id: description - attributes: - label: 详情 | Description - description: | - 在这里可以补充描述该功能的具体实现方式或建议。(可选) - Describe implementation details or suggestions here. (Optional) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml deleted file mode 100644 index bc7dca628..000000000 --- a/.github/workflows/mirror.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Mirror Repository - -on: - workflow_dispatch: - push: - -concurrency: - group: mirror-repository - cancel-in-progress: true - -jobs: - mirror: - strategy: - fail-fast: false - matrix: - include: - - name: Gitee - repo: gitee.com/huanghongxun/HMCL - user: 'hmcl-sync' - token: 'GITEE_SYNC_TOKEN' - - name: CNB - repo: cnb.cool/HMCL-dev/HMCL - user: 'cnb' - token: 'CNB_SYNC_TOKEN' - name: Mirror to ${{ matrix.name }} - if: ${{ github.repository == 'HMCL-dev/HMCL' }} - runs-on: ubuntu-latest - steps: - - name: Mirror GitHub to ${{ matrix.name }} - run: | - git clone --mirror "https://github.com/${{ github.repository }}.git" -- repo - cd repo - git push -f --prune "https://${{ matrix.user }}:${{ secrets[matrix.token] }}@${{ matrix.repo }}.git" "refs/heads/*:refs/heads/*" "refs/tags/*:refs/tags/*" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 6a869921e..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,125 +0,0 @@ -name: Create Release - -on: - workflow_dispatch: -# schedule: -# - cron: '30 * * * *' - -permissions: - contents: write - -jobs: - check-update: - if: ${{ github.repository_owner == 'HMCL-dev' }} - strategy: - fail-fast: false - max-parallel: 1 - matrix: - include: - - channel: dev - task: checkUpdateDev - - channel: stable - task: checkUpdateStable - runs-on: ubuntu-latest - name: check-update-${{ matrix.channel }} - steps: - - name: Checkout - uses: actions/checkout@v6 - with: - fetch-depth: 0 - fetch-tags: true - - name: Set up JDK - uses: actions/setup-java@v5 - with: - distribution: 'temurin' - java-version: '25' - - name: Fetch last version - run: ./gradlew ${{ matrix.task }} --no-daemon --info --stacktrace - - name: Check for existing tags - run: if [ -z "$(git tag -l "$HMCL_TAG_NAME")" ]; then echo "continue=true" >> $GITHUB_ENV; fi - - name: Download artifacts - if: ${{ env.continue == 'true' }} - run: | - wget "$HMCL_CI_DOWNLOAD_BASE_URI/HMCL-$HMCL_VERSION.exe" - wget "$HMCL_CI_DOWNLOAD_BASE_URI/HMCL-$HMCL_VERSION.exe.sha256" - wget "$HMCL_CI_DOWNLOAD_BASE_URI/HMCL-$HMCL_VERSION.jar" - wget "$HMCL_CI_DOWNLOAD_BASE_URI/HMCL-$HMCL_VERSION.jar.sha256" - wget "$HMCL_CI_DOWNLOAD_BASE_URI/HMCL-$HMCL_VERSION.sh" - wget "$HMCL_CI_DOWNLOAD_BASE_URI/HMCL-$HMCL_VERSION.sh.sha256" - - name: Verify artifacts - if: ${{ env.continue == 'true' }} - run: | - export JAR_SHA256=$(cat HMCL-$HMCL_VERSION.jar.sha256 | tr -d '\n') - export EXE_SHA256=$(cat HMCL-$HMCL_VERSION.exe.sha256 | tr -d '\n') - export SH_SHA256=$(cat HMCL-$HMCL_VERSION.sh.sha256 | tr -d '\n') - - echo "$JAR_SHA256 HMCL-$HMCL_VERSION.jar" | sha256sum -c - echo "$EXE_SHA256 HMCL-$HMCL_VERSION.exe" | sha256sum -c - echo "$SH_SHA256 HMCL-$HMCL_VERSION.sh" | sha256sum -c - - name: Generate release note - if: ${{ env.continue == 'true' }} - run: | - # GitHub Release Note - echo " **[Changelog](https://docs.hmcl.net/changelog/${{ matrix.channel }}.html#HMCL-$HMCL_VERSION)** (Chinese)" >> RELEASE_NOTE - echo "" >> RELEASE_NOTE - echo "| File | SHA-256 Checksum |" >> RELEASE_NOTE - echo "| --- | --- |" >> RELEASE_NOTE - echo "| [HMCL-$HMCL_VERSION.exe]($GH_DOWNLOAD_BASE_URL/v$HMCL_VERSION/HMCL-$HMCL_VERSION.exe) | \`$(cat HMCL-$HMCL_VERSION.exe.sha256)\` |" >> RELEASE_NOTE - echo "| [HMCL-$HMCL_VERSION.jar]($GH_DOWNLOAD_BASE_URL/v$HMCL_VERSION/HMCL-$HMCL_VERSION.jar) | \`$(cat HMCL-$HMCL_VERSION.jar.sha256)\` |" >> RELEASE_NOTE - echo "| [HMCL-$HMCL_VERSION.sh]($GH_DOWNLOAD_BASE_URL/v$HMCL_VERSION/HMCL-$HMCL_VERSION.sh) | \`$(cat HMCL-$HMCL_VERSION.sh.sha256)\` |" >> RELEASE_NOTE - - # CNB Release Note - echo "[更新日志](https://docs.hmcl.net/changelog/${{ matrix.channel }}.html#HMCL-$HMCL_VERSION)" >> CNB_RELEASE_NOTE - echo "" >> CNB_RELEASE_NOTE - echo "| 文件 | SHA-256 校验码 |" >> CNB_RELEASE_NOTE - echo "| :--- | --- |" >> CNB_RELEASE_NOTE - echo "| [HMCL-$HMCL_VERSION.exe]($CNB_DOWNLOAD_BASE_URL/v$HMCL_VERSION/HMCL-$HMCL_VERSION.exe) | \`$(cat HMCL-$HMCL_VERSION.exe.sha256)\` |" >> CNB_RELEASE_NOTE - echo "| [HMCL-$HMCL_VERSION.jar]($CNB_DOWNLOAD_BASE_URL/v$HMCL_VERSION/HMCL-$HMCL_VERSION.jar) | \`$(cat HMCL-$HMCL_VERSION.jar.sha256)\` |" >> CNB_RELEASE_NOTE - echo "| [HMCL-$HMCL_VERSION.sh]($CNB_DOWNLOAD_BASE_URL/v$HMCL_VERSION/HMCL-$HMCL_VERSION.sh) | \`$(cat HMCL-$HMCL_VERSION.sh.sha256)\` |" >> CNB_RELEASE_NOTE - env: - GH_DOWNLOAD_BASE_URL: https://github.com/${{ github.repository }}/releases/download - CNB_DOWNLOAD_BASE_URL: https://cnb.cool/HMCL-dev/HMCL/-/releases/download - - name: Create GitHub release - if: ${{ env.continue == 'true' }} - run: | - gh release create "${{ env.HMCL_TAG_NAME }}" \ - "HMCL-${{ env.HMCL_VERSION }}.exe" \ - "HMCL-${{ env.HMCL_VERSION }}.jar" \ - "HMCL-${{ env.HMCL_VERSION }}.sh" \ - --target "${{ env.HMCL_COMMIT_SHA }}" \ - --title "${{ env.HMCL_TAG_NAME }}" \ - --notes-file RELEASE_NOTE \ - --prerelease - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Install git-cnb - if: ${{ env.continue == 'true' }} - run: go install "cnb.cool/looc/git-cnb@$GIT_CNB_VERSION" - env: - GIT_CNB_VERSION: '1.1.2' - - name: Create CNB release - if: ${{ env.continue == 'true' }} - run: | - echo "Uploading tags to CNB" - git fetch --tags - git push "https://cnb:${{ secrets.CNB_SYNC_TOKEN }}@cnb.cool/$CNB_REPO.git" "$HMCL_TAG_NAME" - - echo "Creating CNB release" - ~/go/bin/git-cnb release create \ - --repo "$CNB_REPO" \ - --tag "$HMCL_TAG_NAME" \ - --name "HMCL $HMCL_VERSION" \ - --body "$(cat CNB_RELEASE_NOTE)" \ - --prerelease true - - echo "Uploading HMCL-$HMCL_VERSION.jar" - ~/go/bin/git-cnb release asset-upload --repo="$CNB_REPO" --tag-name "$HMCL_TAG_NAME" --file-name "HMCL-$HMCL_VERSION.jar" - - echo "Uploading HMCL-$HMCL_VERSION.exe" - ~/go/bin/git-cnb release asset-upload --repo="$CNB_REPO" --tag-name "$HMCL_TAG_NAME" --file-name "HMCL-$HMCL_VERSION.exe" - - echo "Uploading HMCL-$HMCL_VERSION.sh" - ~/go/bin/git-cnb release asset-upload --repo="$CNB_REPO" --tag-name "$HMCL_TAG_NAME" --file-name "HMCL-$HMCL_VERSION.sh" - env: - CNB_TOKEN: ${{ secrets.CNB_SYNC_TOKEN }} - CNB_REPO: HMCL-dev/HMCL diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/Metadata.java b/HMCL/src/main/java/org/jackhuang/hmcl/Metadata.java index 7d54402df..b532dc7a6 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/Metadata.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/Metadata.java @@ -34,8 +34,8 @@ public final class Metadata { private Metadata() { } - public static final String NAME = "HMCL"; - public static final String FULL_NAME = "Hello Minecraft! Launcher"; + public static final String NAME = "HMCL-HITWH"; + public static final String FULL_NAME = "Hitwh Games Launcher"; public static final String VERSION = System.getProperty("hmcl.version.override", JarUtils.getAttribute("hmcl.version", "@develop@")); public static final String TITLE = NAME + " " + VERSION; diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/setting/Accounts.java b/HMCL/src/main/java/org/jackhuang/hmcl/setting/Accounts.java index 7b78cb8f9..3b677bf9b 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/setting/Accounts.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/setting/Accounts.java @@ -198,7 +198,7 @@ public final class Accounts { throw new IllegalStateException("Already initialized"); if (!config().isAddedLittleSkin()) { - AuthlibInjectorServer littleSkin = new AuthlibInjectorServer("https://littleskin.cn/api/yggdrasil/"); + AuthlibInjectorServer littleSkin = new AuthlibInjectorServer("https://skin.littlelan.cn/api/yggdrasil/"); if (config().getAuthlibInjectorServers().stream().noneMatch(it -> littleSkin.getUrl().equals(it.getUrl()))) { config().getAuthlibInjectorServers().add(0, littleSkin); diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/account/OfflineAccountSkinPane.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/account/OfflineAccountSkinPane.java index 25467e7e1..51bcd4a01 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/account/OfflineAccountSkinPane.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/account/OfflineAccountSkinPane.java @@ -213,7 +213,7 @@ public class OfflineAccountSkinPane extends StackPane { }); JFXHyperlink littleSkinLink = new JFXHyperlink(i18n("account.skin.type.little_skin")); - littleSkinLink.setOnAction(e -> FXUtils.openLink("https://littleskin.cn/")); + littleSkinLink.setOnAction(e -> FXUtils.openLink("https://skin.littlelan.cn/")); JFXButton cancelButton = new JFXButton(i18n("button.cancel")); cancelButton.getStyleClass().add("dialog-cancel"); cancelButton.setOnAction(e -> fireEvent(new DialogCloseEvent())); diff --git a/HMCL/src/main/resources/assets/lang/I18N.properties b/HMCL/src/main/resources/assets/lang/I18N.properties index 6d8f4f989..77c267356 100644 --- a/HMCL/src/main/resources/assets/lang/I18N.properties +++ b/HMCL/src/main/resources/assets/lang/I18N.properties @@ -158,7 +158,7 @@ account.skin.type.alex=Alex account.skin.type.csl_api=Blessing Skin account.skin.type.csl_api.location=Address account.skin.type.csl_api.location.hint=CustomSkinAPI URL -account.skin.type.little_skin=LittleSkin +account.skin.type.little_skin=Hitwh Games account.skin.type.little_skin.hint=You need to create a player with the same player name as your offline account on your skin provider site. Your skin will now be set to the skin assigned to your player on the skin provider site. account.skin.type.local_file=Local Skin File account.skin.type.steve=Steve diff --git a/HMCL/src/main/resources/assets/lang/I18N_ar.properties b/HMCL/src/main/resources/assets/lang/I18N_ar.properties index e845094ac..170efa7e4 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_ar.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_ar.properties @@ -137,7 +137,7 @@ account.skin.type.alex=Alex account.skin.type.csl_api=Blessing Skin account.skin.type.csl_api.location=العنوان account.skin.type.csl_api.location.hint=عنوان URL لـ CustomSkinAPI -account.skin.type.little_skin=LittleSkin +account.skin.type.little_skin=Hitwh Games account.skin.type.little_skin.hint=يجب عليك إنشاء لاعب بنفس اسم اللاعب لحسابك غير المتصل على موقع مزود المظهر الخاص بك. سيتم الآن تعيين مظهرك على المظهر المخصص للاعبك على موقع مزود المظهر. account.skin.type.local_file=ملف مظهر محلي account.skin.type.steve=Steve diff --git a/HMCL/src/main/resources/assets/lang/I18N_es.properties b/HMCL/src/main/resources/assets/lang/I18N_es.properties index 878cb0307..061d940bd 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_es.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_es.properties @@ -140,7 +140,7 @@ account.skin.type.alex=Alex account.skin.type.csl_api=Blessing skin account.skin.type.csl_api.location=URL account.skin.type.csl_api.location.hint=CustomSkinAPI URL -account.skin.type.little_skin=LittleSkin +account.skin.type.little_skin=Hitwh Games account.skin.type.little_skin.hint=Tienes que crear un jugador con el mismo nombre de jugador que tu cuenta sin conexión en el sitio web del proveedor de aspectos. Tu aspecto se ajustará ahora al aspecto asignado a tu jugador en el sitio web del proveedor de aspectos. account.skin.type.local_file=Archivo local de aspecto account.skin.type.steve=Steve diff --git a/HMCL/src/main/resources/assets/lang/I18N_ja.properties b/HMCL/src/main/resources/assets/lang/I18N_ja.properties index 56c88069e..f87a27ba5 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_ja.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_ja.properties @@ -110,7 +110,7 @@ account.skin.model.slim=Slim account.skin.type.csl_api=Blessing Skin account.skin.type.csl_api.location=アドレス account.skin.type.csl_api.location.hint=CustomSkinAPI -account.skin.type.little_skin=LittleSkin +account.skin.type.little_skin=Hitwh Games account.skin.type.little_skin.hint=スキンのWebサイトでキャラクターを作成する必要があります。そして、このオフラインアカウントのスキンは、同じ名前のスキンWebサイトのキャラクターのスキンにバインドされます。 account.skin.type.local_file=ローカルスキン画像ファイル account.skin.upload=スキンをアップロードする diff --git a/HMCL/src/main/resources/assets/lang/I18N_lzh.properties b/HMCL/src/main/resources/assets/lang/I18N_lzh.properties index bbde123e1..45029ff82 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_lzh.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_lzh.properties @@ -139,7 +139,7 @@ account.skin.type.alex=艾麗思 account.skin.type.csl_api=Blessing Skin 伺服器 account.skin.type.csl_api.location=伺服器之址 account.skin.type.csl_api.location.hint=CustomSkinAPI 之址 -account.skin.type.little_skin=LittleSkin 外觀站 +account.skin.type.little_skin=Hitwh Games 外觀站 account.skin.type.little_skin.hint=君須立角之同名者於外觀站,爰傳外觀。離綫戶簿之外觀,其用外觀站之角也。\n君可求助於右上之鈕。 account.skin.type.local_file=案頭之外觀圖案 account.skin.type.steve=史迪武 diff --git a/HMCL/src/main/resources/assets/lang/I18N_ru.properties b/HMCL/src/main/resources/assets/lang/I18N_ru.properties index 37b554e29..f7ff4b4c9 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_ru.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_ru.properties @@ -139,7 +139,7 @@ account.skin.type.alex=Алекс account.skin.type.csl_api=Blessing Skin account.skin.type.csl_api.location=Адрес account.skin.type.csl_api.location.hint=URL-адрес CustomSkinAPI -account.skin.type.little_skin=LittleSkin +account.skin.type.little_skin=Hitwh Games account.skin.type.little_skin.hint=Вам нужно создать игрока с тем же именем, что и у вашего офлайн-аукнта на сайте поставщика скинов. Теперь ваш скин будет установлен на скин, назначенный вашему игроку на сайте поставщика скинов. account.skin.type.local_file=Локальный файл скина account.skin.type.steve=Стив diff --git a/HMCL/src/main/resources/assets/lang/I18N_uk.properties b/HMCL/src/main/resources/assets/lang/I18N_uk.properties index bf8a7675d..077abe5e3 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_uk.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_uk.properties @@ -139,7 +139,7 @@ account.skin.type.alex=Алекс account.skin.type.csl_api=Blessing Skin account.skin.type.csl_api.location=Адреса account.skin.type.csl_api.location.hint=URL CustomSkinAPI -account.skin.type.little_skin=LittleSkin +account.skin.type.little_skin=Hitwh Games account.skin.type.little_skin.hint=Вам потрібно створити гравця з тим же ім'ям гравця, що й у вашого автономного облікового запису, на сайті постачальника скінів. Ваш скін тепер буде встановлено на скін, призначений вашому гравцю на сайті постачальника скінів. account.skin.type.local_file=Локальний файл скіна account.skin.type.steve=Стів diff --git a/HMCL/src/main/resources/assets/lang/I18N_zh.properties b/HMCL/src/main/resources/assets/lang/I18N_zh.properties index 9738a2cd9..7907be095 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_zh.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_zh.properties @@ -155,7 +155,7 @@ account.skin.type.alex=Alex account.skin.type.csl_api=Blessing Skin 伺服器 account.skin.type.csl_api.location=伺服器位址 account.skin.type.csl_api.location.hint=CustomSkinAPI 位址 -account.skin.type.little_skin=LittleSkin 皮膚站 +account.skin.type.little_skin=Hitwh Games 皮膚站 account.skin.type.little_skin.hint=你需要在皮膚站中新增並使用和該離線帳戶同名角色。此時離線帳戶外觀將為皮膚站上對應角色所設定的外觀。 account.skin.type.local_file=本機外觀圖片檔案 account.skin.type.steve=Steve diff --git a/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties b/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties index d05ab4264..427706ac6 100644 --- a/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties +++ b/HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties @@ -157,7 +157,7 @@ account.skin.type.alex=Alex account.skin.type.csl_api=Blessing Skin 服务器 account.skin.type.csl_api.location=服务器地址 account.skin.type.csl_api.location.hint=CustomSkinAPI 地址 -account.skin.type.little_skin=LittleSkin 皮肤站 +account.skin.type.little_skin=Hitwh Games 皮肤站 account.skin.type.little_skin.hint=你需要在皮肤站中创建并使用和该离线账户同名的角色。此时离线账户皮肤将显示为皮肤站上对应角色所设置的皮肤。\n你可以点击右上角帮助按钮进行求助。 account.skin.type.local_file=本地皮肤图片文件 account.skin.type.steve=Steve diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/auth/offline/Skin.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/auth/offline/Skin.java index eac62d2b4..bce45b858 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/auth/offline/Skin.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/auth/offline/Skin.java @@ -164,7 +164,7 @@ public class Skin { case LITTLE_SKIN: case CUSTOM_SKIN_LOADER_API: String realCslApi = type == Type.LITTLE_SKIN - ? "https://littleskin.cn/csl" + ? "https://skin.littlelan.cn/csl" : NetworkUtils.addHttpsIfMissing(StringUtils.removeSuffix(Lang.requireNonNullElse(cslApi, ""), "/")); return Task.composeAsync(() -> new GetTask(String.format("%s/%s.json", realCslApi, username))) .thenComposeAsync(json -> { diff --git a/HMCLCore/src/test/resources/logs/java_version_is_too_high.txt b/HMCLCore/src/test/resources/logs/java_version_is_too_high.txt index 452c1d492..7f44d718c 100644 --- a/HMCLCore/src/test/resources/logs/java_version_is_too_high.txt +++ b/HMCLCore/src/test/resources/logs/java_version_is_too_high.txt @@ -1,6 +1,6 @@ [authlib-injector] [INFO] Logging file: F:\.minecraft\authlib-injector.log [authlib-injector] [INFO] Version: 1.2.1 -[authlib-injector] [INFO] Authentication server: https://littleskin.cn/api/yggdrasil/ +[authlib-injector] [INFO] Authentication server: https://skin.littlelan.cn/api/yggdrasil/ 2022-12-08 13:15:41,589 main ERROR Error processing element Queue ([Appenders: null]): CLASS_NOT_FOUND [13:15:43] [main/INFO]: ModLauncher running: args [--username, 哎呀呀呀, --version, 1.16.2, --gameDir, F:\\.minecraft, --assetsDir, F:\.minecraft\assets, --assetIndex, 1.16, --uuid, e3c2fb57f8764ecfa1564c1cc92143f2, --accessToken, ❄❄❄❄❄❄❄❄, --userType, mojang, --versionType, HMCL 3.5.3.228, --width, 854, --height, 480, --launchTarget, fmlclient, --fml.forgeVersion, 33.0.61, --fml.mcVersion, 1.16.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20200812.004259] [13:15:43] [main/INFO]: ModLauncher 7.0.1+78+master.e9771d8 starting: java version 17.0.4.1 by Oracle Corporation diff --git a/HMCLCore/src/test/resources/logs/optifine_is_not_compatible_with_forge6.txt b/HMCLCore/src/test/resources/logs/optifine_is_not_compatible_with_forge6.txt index 1e1ce8b30..961803a71 100644 --- a/HMCLCore/src/test/resources/logs/optifine_is_not_compatible_with_forge6.txt +++ b/HMCLCore/src/test/resources/logs/optifine_is_not_compatible_with_forge6.txt @@ -1,7 +1,7 @@ WARNING: Unknown module: cpw.mods.bootstraplauncher specified to --add-exports [authlib-injector] [INFO] Logging file: C:\Users\********\AppData\Roaming\.minecraft\versions\鎮犵劧浜虹敓1.0\authlib-injector.log [authlib-injector] [INFO] Version: 1.2.3 -[authlib-injector] [INFO] Authentication server: https://littleskin.cn/api/yggdrasil +[authlib-injector] [INFO] Authentication server: https://skin.littlelan.cn/api/yggdrasil [authlib-injector] [INFO] Httpd is running on port 50187 [authlib-injector] [INFO] Transformed [com.mojang.patchy.BlockedServers] with [Constant URL Transformer] [authlib-injector] [INFO] Transformed [com.mojang.authlib.HttpAuthenticationService] with [ConcatenateURL Workaround]