From 1ba8cc2248d5501f956c1c5a9ea041700aa59f27 Mon Sep 17 00:00:00 2001 From: Lhy723 <873904524@qq.com> Date: Fri, 29 May 2026 21:46:41 +0800 Subject: [PATCH 1/3] fix: disable code signing in CI, add full name "Melody Minecraft Launcher" - Add CODE_SIGNING_ALLOWED=NO to CI and Release workflows - Update README with full project name - Update CLAUDE.md with full name - Update about page with full name Co-Authored-By: Claude Opus 4.7 --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 1 + CLAUDE.md | 2 +- MMCL/Views/WorkspaceViews.swift | 2 +- README.md | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fa3f8c..e26a551 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,7 @@ jobs: -project MMCL.xcodeproj \ -scheme MMCL \ -destination 'platform=macOS' \ + CODE_SIGNING_ALLOWED=NO \ -quiet - name: Test @@ -36,6 +37,7 @@ jobs: -project MMCL.xcodeproj \ -scheme MMCL \ -destination 'platform=macOS' \ + CODE_SIGNING_ALLOWED=NO \ -only-testing:MMCLTests \ -quiet diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1896770..a7b8483 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,7 @@ jobs: -scheme MMCL \ -destination 'platform=macOS' \ -configuration Release \ + CODE_SIGNING_ALLOWED=NO \ -quiet - name: Create DMG diff --git a/CLAUDE.md b/CLAUDE.md index 01784ef..ce0d66b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,7 +20,7 @@ xcodebuild test -project MMCL.xcodeproj -scheme MMCL -destination 'platform=macO ## Architecture -macOS Minecraft launcher. SwiftUI app with a **Models → Services → Store → Views** layered architecture. References PCL (Plain Craft Launcher) for interaction design and backend management patterns. +MMCL (Melody Minecraft Launcher) — macOS Minecraft launcher. SwiftUI app with a **Models → Services → Store → Views** layered architecture. References PCL (Plain Craft Launcher) for interaction design and backend management patterns. ### Core layers diff --git a/MMCL/Views/WorkspaceViews.swift b/MMCL/Views/WorkspaceViews.swift index ec96aa4..b39b5ec 100644 --- a/MMCL/Views/WorkspaceViews.swift +++ b/MMCL/Views/WorkspaceViews.swift @@ -585,7 +585,7 @@ private struct OtherSettingsTab: View { VStack(alignment: .leading, spacing: 4) { Text("MMCL") .font(.title2.weight(.semibold)) - Text("macOS Minecraft 启动器") + Text("Melody Minecraft Launcher") .font(.subheadline) .foregroundStyle(.secondary) } diff --git a/README.md b/README.md index 38cf247..3e6711f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@
MMCL Logo

MMCL 🎮

+

Melody Minecraft Launcher

Stargazers From da8865733be25358e3c5adec9a4bcca687632d1d Mon Sep 17 00:00:00 2001 From: Lhy723 <873904524@qq.com> Date: Sat, 30 May 2026 16:57:01 +0800 Subject: [PATCH 2/3] fix: check version string is not empty before marking update available --- MMCL/Stores/LauncherStore.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMCL/Stores/LauncherStore.swift b/MMCL/Stores/LauncherStore.swift index ac61913..9df3413 100644 --- a/MMCL/Stores/LauncherStore.swift +++ b/MMCL/Stores/LauncherStore.swift @@ -1214,7 +1214,7 @@ extension LauncherStore { let json = try JSONSerialization.jsonObject(with: data) as? [String: Any] let tagName = json?["tag_name"] as? String ?? "" let version = tagName.replacingOccurrences(of: "v", with: "") - if version != currentVersion { + if !version.isEmpty && version != currentVersion { latestVersion = version updateAvailable = true From 92181ac5a2d257081d196cde2dd23ce7ed8fa28d Mon Sep 17 00:00:00 2001 From: Lhy723 <873904524@qq.com> Date: Wed, 3 Jun 2026 11:02:30 +0800 Subject: [PATCH 3/3] docs: add install tip for Gatekeeper --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 3e6711f..04ccd4e 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,11 @@ macOS 原生 Minecraft 启动器,基于 SwiftUI 构建,参考 PCL 交互设 2. 双击打开,拖入 Applications 文件夹 3. 首次打开可能需要在「系统设置 → 隐私与安全性」中允许 +> **Tips**: 如果提示"已损坏,无法打开",执行以下命令移除隔离属性: +> ```shell +> xattr -cr /Applications/MMCL.app +> ``` + ### 方式二:从源码构建 ```shell